Skip to content

fix: prevent Session Insight dashboard from auto-opening on startup#3

Open
islee23520 wants to merge 1 commit into
ttalkkak-lab:mainfrom
islee23520:fix/insight-dashboard-auto-open
Open

fix: prevent Session Insight dashboard from auto-opening on startup#3
islee23520 wants to merge 1 commit into
ttalkkak-lab:mainfrom
islee23520:fix/insight-dashboard-auto-open

Conversation

@islee23520
Copy link
Copy Markdown

Summary

The Session Insight dashboard was unconditionally opened at the end of activate() (extension.ts:636). Combined with onStartupFinished activation event, this caused the panel to open every time VS Code started.

Changes

  • package.json: Added contexty.dashboard.autoOpen boolean setting (default: false)
  • src/extension.ts: Guarded openDashboard() with the new setting
  • README.md: Updated Extension Settings section with the new setting

Verification

  • npm run compile passes with zero errors
  • Dashboard manual open via contexty.dashboard.open command still works
  • Default behavior: no auto-open (opt-in via setting)

- Add contexty.dashboard.autoOpen setting (default: false)
- Guard openDashboard() call with setting check in activate()
- Update README Extension Settings section

Closes ttalkkak-lab#2
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.

fix: Session Insight dashboard auto-opens on every VS Code startup

1 participant