Skip to content

Refresh Gridsuite homepage with 2026 data#4

Open
antoinebhs wants to merge 6 commits into
mainfrom
refresh-2026
Open

Refresh Gridsuite homepage with 2026 data#4
antoinebhs wants to merge 6 commits into
mainfrom
refresh-2026

Conversation

@antoinebhs

Copy link
Copy Markdown

PR Summary

  • center some items
  • add some news
  • remove some outdated stuff

@coderabbitai

coderabbitai Bot commented Jul 6, 2026

Copy link
Copy Markdown

Review Change Stack

📝 Walkthrough

Walkthrough

Updates README to point to a separate documentation repository, adds three new site configuration URLs (GitHub organization, demo, release), restructures the header layout to a CSS grid using these new URLs, and revises homepage news, project status, and links accordingly.

Changes

Site links and content update

Layer / File(s) Summary
New site URL configuration and header wiring
_config.yml, _layouts/default.html
Adds github_organization_url, demo_url, and release_url config keys; restructures the header into a CSS grid layout and wires the "View on GitHub", "Online demo", and "Latest releases" buttons to these new site variables instead of the prior repository URL.
README and homepage content updates
README.md, index.md
README now states documentation lives in a separate gridsuite/documentation repository, removing the architecture diagram text. index.md adds May 2026 and January 2025 news items, expands the project status list, replaces the "Read some docs" section with a "Stay up to date" section, and normalizes text capitalization.
🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title matches the main change: refreshing the homepage with updated 2026 content.
Description check ✅ Passed The description is related to the layout tweaks, added news, and removal of outdated content.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

Warning

Review ran into problems

🔥 Problems

Git: Failed to clone repository. Please run the @coderabbitai full review command to re-trigger a full review. If the issue persists, set path_filters to include or exclude specific files.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@antoinebhs antoinebhs requested a review from jonenst July 6, 2026 15:08

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🧹 Nitpick comments (3)
_layouts/default.html (2)

19-25: 📐 Maintainability & Code Quality | 🔵 Trivial | ⚡ Quick win

Add alt text to the favicon image.

The <img> at Line 20 has no alt attribute, so screen readers will announce the raw file path instead of meaningful content.

♿ Proposed fix
-        <img src="/favicon.ico" style="height:125px;">
+        <img src="/favicon.ico" alt="GridSuite logo" style="height:125px;">
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@_layouts/default.html` around lines 19 - 25, The favicon image in the default
layout is missing an alt attribute, so update the <img> element in the header
block to include meaningful alternative text that describes the site/logo rather
than the file path. Keep the change localized to the image inside the main
title/header markup in the default layout.

19-36: 📐 Maintainability & Code Quality | 🔵 Trivial | 💤 Low value

Inline styles reduce maintainability; verify mobile layout.

The header grid is defined entirely via inline style attributes with fixed pixel widths (80px, 900px). Consider moving this to the site stylesheet for reuse/theming. Also worth confirming this fixed 3-column grid degrades gracefully on narrow viewports, since there's no accompanying media query.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@_layouts/default.html` around lines 19 - 36, The header markup in the default
layout is using inline styles with fixed widths, which hurts maintainability and
may not adapt well on small screens. Move the grid and image sizing from the
template in the default layout into the shared stylesheet, using a reusable
class for this header block, and add responsive rules (media query or
equivalent) so the three-column layout collapses or stacks gracefully on narrow
viewports.
index.md (1)

34-43: 📐 Maintainability & Code Quality | 🔵 Trivial | ⚡ Quick win

Use site.demo_url and site.github_organization_url instead of hardcoding.

Line 35 hardcodes the demo URL, and Line 43 hardcodes the GitHub org URL, even though _config.yml now defines site.demo_url and site.github_organization_url for exactly this purpose (Releases already uses {{ site.release_url }} on Line 41). This duplication makes future URL changes error-prone.

♻️ Proposed fix
 ## Online Demo
-Please visit [https://demo.gridsuite.org/](https://demo.gridsuite.org/) to get your own impressions of using GridSuite apps! You can use any Microsoft account (such as private Outlook accounts, GitHub accounts, or anything Microsoft).
+Please visit [{{ site.demo_url }}]({{ site.demo_url }}) to get your own impressions of using GridSuite apps! You can use any Microsoft account (such as private Outlook accounts, GitHub accounts, or anything Microsoft).

 ## Stay up to date
 * Releases: [GridSuite deployment releases]({{ site.release_url }})
 * Documentation: [GridSuite documentation](https://www.gridsuite.org/documentation/)
-* Development: [GitHub organization](https://github.com/gridsuite/)
+* Development: [GitHub organization]({{ site.github_organization_url }})
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@index.md` around lines 34 - 43, The links in the “Online Demo” and “Stay up
to date” sections are hardcoded instead of using the site config values. Update
the Markdown in index.md to reference the existing config symbols site.demo_url
and site.github_organization_url, matching the pattern already used for
site.release_url, so URL changes stay centralized and consistent.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Nitpick comments:
In `@_layouts/default.html`:
- Around line 19-25: The favicon image in the default layout is missing an alt
attribute, so update the <img> element in the header block to include meaningful
alternative text that describes the site/logo rather than the file path. Keep
the change localized to the image inside the main title/header markup in the
default layout.
- Around line 19-36: The header markup in the default layout is using inline
styles with fixed widths, which hurts maintainability and may not adapt well on
small screens. Move the grid and image sizing from the template in the default
layout into the shared stylesheet, using a reusable class for this header block,
and add responsive rules (media query or equivalent) so the three-column layout
collapses or stacks gracefully on narrow viewports.

In `@index.md`:
- Around line 34-43: The links in the “Online Demo” and “Stay up to date”
sections are hardcoded instead of using the site config values. Update the
Markdown in index.md to reference the existing config symbols site.demo_url and
site.github_organization_url, matching the pattern already used for
site.release_url, so URL changes stay centralized and consistent.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: bade5d6f-04db-4091-b6b3-c56744839c7a

📥 Commits

Reviewing files that changed from the base of the PR and between 6888ca4 and 0c0a92e.

⛔ Files ignored due to path filters (14)
  • demo/v0.2.0/add-button.gif is excluded by !**/*.gif
  • demo/v0.2.0/all-none.gif is excluded by !**/*.gif
  • demo/v0.2.0/apps-menu.gif is excluded by !**/*.gif
  • demo/v0.2.0/center-map.gif is excluded by !**/*.gif
  • demo/v0.2.0/country-info.gif is excluded by !**/*.gif
  • demo/v0.2.0/fix-refresh.gif is excluded by !**/*.gif
  • demo/v0.2.0/ieee14.gif is excluded by !**/*.gif
  • demo/v0.2.0/pan-substation-view.gif is excluded by !**/*.gif
  • demo/v0.3.0/fix-center-on-substation.gif is excluded by !**/*.gif
  • demo/v0.3.0/fullscreen.gif is excluded by !**/*.gif
  • demo/v0.3.0/rename.gif is excluded by !**/*.gif
  • demo/v0.3.0/settings-window.gif is excluded by !**/*.gif
  • demo/v0.3.0/transformers.gif is excluded by !**/*.gif
  • images/architecture.svg is excluded by !**/*.svg
📒 Files selected for processing (4)
  • README.md
  • _config.yml
  • _layouts/default.html
  • index.md

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant