Skip to content

docs: update in game links#2055

Merged
alandtse merged 1 commit into
community-shaders:devfrom
brucenguyen:home-page-info-update
Apr 4, 2026
Merged

docs: update in game links#2055
alandtse merged 1 commit into
community-shaders:devfrom
brucenguyen:home-page-info-update

Conversation

@brucenguyen
Copy link
Copy Markdown
Contributor

@brucenguyen brucenguyen commented Apr 4, 2026

Very minor UI text changes on the home page.

A user on Nexus recently read some outdated information on the GitHub wiki, which is no longer maintained for user support. This PR adds a link to the newer Modding.wiki Wiki. Though fundamentally the issue is probably the fact that the wiki links on the official Nexus page still point to GitHub.

Also changed the FAQ for Failed Shaders which is sort of outdated now since the list is larger now. To avoid having to continuously maintain it, I've just made it a generic message which points to where they need to look for information.

Summary by CodeRabbit

  • Documentation
    • Reorganized Quick Links with simplified GitHub button and separated Wiki navigation into community Wiki and Developer Wiki options.
    • Streamlined FAQ guidance for shader compilation issues, directing users to Feature Issues and Wiki resources.

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented Apr 4, 2026

📝 Walkthrough

Walkthrough

A single file modification updating UI labels and links in the home page renderer. Button labels were simplified ("GitHub Repository" → "GitHub", "GitHub Wiki" → "Wiki"), a new "Developer Wiki" button was added, and an FAQ answer about failed shader compilation was condensed with updated guidance.

Changes

Cohort / File(s) Summary
Home Page UI Updates
src/Menu/HomePageRenderer.cpp
Updated quick links section with simplified button labels and redirected GitHub Wiki link to Modding Wiki page; added new Developer Wiki button. Simplified FAQ answer for failed shaders compilation by removing detailed bullet list and replacing with concise guidance to Feature Issues tab and Wiki.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

Possibly related PRs

Suggested reviewers

  • doodlum

Poem

🐰✨ A rabbit hops through the GitHub hall,
Wiki buttons answer the developer's call,
Labels grow short, links leap true,
The homepage gleams—fresh and new! 🌿

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title 'fix(UI): update information on home page' accurately describes the main changes, which involve updating UI text, labels, and links on the home page.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

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 and usage tips.

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Apr 4, 2026

No actionable suggestions for changed features.

Copy link
Copy Markdown
Contributor

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

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

Caution

Some comments are outside the diff and can’t be posted inline due to platform limitations.

⚠️ Outside diff range comments (1)
src/Menu/HomePageRenderer.cpp (1)

159-181: ⚠️ Potential issue | 🟠 Major

Layout calculation mismatch: 4 buttons but width calculated for 3.

The totalWidth calculation on line 160 uses buttonWidth * 3 + ImGui::GetStyle().ItemSpacing.x * 2, but there are now 4 buttons in the row (Nexus Mods, GitHub, Wiki, Developer Wiki). This will cause the button row to be off-center.

🐛 Proposed fix
 	// Center the button layout
 	float buttonWidth = QUICK_LINKS_BUTTON_WIDTH * Util::GetUIScale();
-	float totalWidth = buttonWidth * 3 + ImGui::GetStyle().ItemSpacing.x * 2;  // 3 buttons with spacing
+	float totalWidth = buttonWidth * 4 + ImGui::GetStyle().ItemSpacing.x * 3;  // 4 buttons with spacing
 	ImGui::SetCursorPosX((windowSize.x - totalWidth) * 0.5f);
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@src/Menu/HomePageRenderer.cpp` around lines 159 - 181, Update the centering
math to match the actual number of buttons: change the totalWidth calculation
that uses buttonWidth and ImGui::GetStyle().ItemSpacing.x so it accounts for 4
buttons and 3 spacings (e.g., totalWidth = buttonWidth * 4 +
ImGui::GetStyle().ItemSpacing.x * 3). Locate the variables buttonWidth and
totalWidth and the ImGui::SetCursorPosX call in HomePageRenderer.cpp (the block
with the ImGui::Button calls "Nexus Mods", "GitHub", "Wiki", "Developer Wiki")
and replace the old 3-button formula with the 4-button formula so the row
centers correctly.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Outside diff comments:
In `@src/Menu/HomePageRenderer.cpp`:
- Around line 159-181: Update the centering math to match the actual number of
buttons: change the totalWidth calculation that uses buttonWidth and
ImGui::GetStyle().ItemSpacing.x so it accounts for 4 buttons and 3 spacings
(e.g., totalWidth = buttonWidth * 4 + ImGui::GetStyle().ItemSpacing.x * 3).
Locate the variables buttonWidth and totalWidth and the ImGui::SetCursorPosX
call in HomePageRenderer.cpp (the block with the ImGui::Button calls "Nexus
Mods", "GitHub", "Wiki", "Developer Wiki") and replace the old 3-button formula
with the 4-button formula so the row centers correctly.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: a7e5fa50-d903-4be7-ab02-8076693a403a

📥 Commits

Reviewing files that changed from the base of the PR and between b69c04a and 3dbc1a7.

📒 Files selected for processing (1)
  • src/Menu/HomePageRenderer.cpp

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Apr 4, 2026

✅ A pre-release build is available for this PR:
Download

@alandtse alandtse changed the title fix(UI): update information on home page docs: update in game links Apr 4, 2026
@alandtse alandtse merged commit 8a6c4ba into community-shaders:dev Apr 4, 2026
17 checks passed
alandtse pushed a commit to alandtse/open-shaders that referenced this pull request Apr 5, 2026
ParticleTroned pushed a commit to ParticleTroned/skyrim-community-shaders that referenced this pull request May 2, 2026
@brucenguyen brucenguyen deleted the home-page-info-update branch May 2, 2026 21:26
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.

2 participants