Skip to content

refactor: post-v0.7.0 release audit fixes#212

Merged
tomasz-tomczyk merged 1 commit intomainfrom
audit/release-fixes
Mar 28, 2026
Merged

refactor: post-v0.7.0 release audit fixes#212
tomasz-tomczyk merged 1 commit intomainfrom
audit/release-fixes

Conversation

@tomasz-tomczyk
Copy link
Copy Markdown
Owner

Summary

  • Remove dead loadExistingShareState (replaced by loadExistingShareCfg), update tests
  • Add AuthToken to configPresence so project config can clear a global token
  • Route all .crit.json writes through saveCritJSON for consistent trailing newline
  • Load config once per command, pass to resolveShareURL/resolveAuthToken (no double parse)
  • Define missing --fg CSS var (= --fg-primary) in all 4 theme blocks — fixes hover colors in dark mode
  • Reset navCommentId on scope change, comment delete, and session reload
  • Add :focus-visible outline to comment-nav [/] buttons
  • Fix nav highlight timer race: cancel pending clearTimeout before each navigation
  • Extract shared .toggle-btn base CSS (~50 lines removed)
  • Clear scope toggle disabled state on session reload

Review

  • Code review: passed
  • Parity audit: N/A (Go/frontend fixes only)

Test plan

🤖 Generated with Claude Code

Go:
- Remove dead loadExistingShareState (replaced by loadExistingShareCfg)
- Add AuthToken to configPresence so project config can clear global token
- Route all .crit.json writes through saveCritJSON (consistent trailing newline)
- Load config once per command, pass to resolveShareURL/resolveAuthToken

Frontend:
- Define --fg CSS var (= --fg-primary) in all 4 theme blocks; fixes hover states
- Reset navCommentId on scope change, comment delete, session reload
- Add :focus-visible outline to comment-nav buttons
- Cancel pending nav highlight timer before setting new one (race fix)
- Extract shared .toggle-btn base CSS; remove ~50 lines of duplication
- Clear scope toggle disabled state on session reload

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
@tomasz-tomczyk tomasz-tomczyk merged commit e0aaf45 into main Mar 28, 2026
2 checks passed
@tomasz-tomczyk tomasz-tomczyk deleted the audit/release-fixes branch March 28, 2026 01:08
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