Skip to content

Create Windows Installer and Portable#2

Merged
xnodeoncode merged 3 commits intomainfrom
development
Mar 5, 2026
Merged

Create Windows Installer and Portable#2
xnodeoncode merged 3 commits intomainfrom
development

Conversation

@xnodeoncode
Copy link
Owner

Merging updates from Windows installer and portable. Cleaned up workspace settings that are incompatible across workstations. Set default theme to Obsidian.

@xnodeoncode xnodeoncode self-assigned this Mar 5, 2026
@xnodeoncode xnodeoncode requested review from Copilot and xskcdf March 5, 2026 12:11
@xnodeoncode xnodeoncode added the enhancement New feature or request label Mar 5, 2026
@xnodeoncode xnodeoncode merged commit 39bf6c4 into main Mar 5, 2026
4 checks passed
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR cleans up developer-environment artifacts (workspace/solution files) and attempts to switch the app’s default brand theme to Obsidian.

Changes:

  • Remove machine-specific VS Code workspace file and ignore future *.code-workspace files.
  • Remove the standalone 2-Nine.Application/Nine.Application.sln solution file.
  • Update NavMenu.razor to prefer Obsidian as the brand-theme fallback/default.

Reviewed changes

Copilot reviewed 3 out of 4 changed files in this pull request and generated 1 comment.

File Description
Nine.code-workspace Removed multi-root workspace containing workstation-specific paths/settings.
4-Nine/Shared/Layout/NavMenu.razor Updates brand theme ordering and fallback defaults toward obsidian.
2-Nine.Application/Nine.Application.sln Removes a layer-specific solution file (repo still has root Nine.sln).
.gitignore Ignores *.code-workspace to avoid committing local workspace files.

You can also share your feedback on Copilot code review. Take the survey.

Comment on lines 203 to 207
var domTheme = await JSRuntime.InvokeAsync<string>("eval",
"document.documentElement.getAttribute('data-bs-theme') || localStorage.getItem('theme') || 'light'");
var domBrandTheme = await JSRuntime.InvokeAsync<string>("eval",
"document.documentElement.getAttribute('data-brand-theme') || localStorage.getItem('brandTheme') || 'bootstrap'");
"document.documentElement.getAttribute('data-brand-theme') || localStorage.getItem('brandTheme') || 'obsidian'");

Copy link

Copilot AI Mar 5, 2026

Choose a reason for hiding this comment

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

The PR description says the default brand theme should be Obsidian, but this change only updates NavMenu’s fallback. theme.js still initializes data-brand-theme from localStorage with a default of bootstrap, and ThemeService also defaults _currentBrandTheme to bootstrap, so first-time users will still land on Bootstrap. To actually change the default, update the default in 3-Nine.Shared.UI/wwwroot/js/theme.js (and any other initialization paths) and consider aligning ThemeService’s initial _currentBrandTheme with the new default as well.

Copilot uses AI. Check for mistakes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants