Skip to content

Retire the legacy obsidian theme default - #101

Merged
turbillon50 merged 1 commit into
mainfrom
agent/vforge-studio-light-baseline
Aug 19, 2026
Merged

Retire the legacy obsidian theme default#101
turbillon50 merged 1 commit into
mainfrom
agent/vforge-studio-light-baseline

Conversation

@turbillon50

Copy link
Copy Markdown
Owner

Elimina la preferencia oscura heredada que podía reaparecer desde localStorage. VForge Studio arranca siempre desde la base clara y mantiene intacta la API de tema para componentes históricos.

Validado con TypeScript, ESLint, 17/17 pruebas y build completo de Next.js.

@vercel

vercel Bot commented Aug 19, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
vforge Ready Ready Preview Aug 19, 2026 2:02pm
vforge-engine Ready Ready Preview Aug 19, 2026 2:02pm

Request Review

@turbillon50
turbillon50 merged commit 1b6bb74 into main Aug 19, 2026
3 checks passed

@chatgpt-codex-connector chatgpt-codex-connector 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.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 5f656b3826

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread i18n/AppProviders.tsx
// VForge Studio tiene una sola base visual. Neutraliza preferencias de la
// etapa obsidian para que no reaparezcan en menús o rutas secundarias.
localStorage.removeItem("vforge.theme");
setThemeState("light");

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Synchronize toggles when forcing the light theme

When a route initially mounts the existing ThemeToggle (for example the legacy dashboard or onboarding), its mount effect initializes its private state to dark and applies that theme; this parent effect then forces the document and vf-theme back to light without updating the toggle's state (components/controls/ThemeToggle.tsx:10-15). The control therefore displays the dark-state icon/label while the page is light, and its first click computes light again and appears to do nothing. Reset or remove those controls together with this forced state, or make them consume the provider state.

Useful? React with 👍 / 👎.

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