Skip to content

feat: persist selected clone protocol in code explorer#128

Merged
stylessh merged 2 commits intostylessh:mainfrom
kovsu:persist-clone-protocol
Apr 16, 2026
Merged

feat: persist selected clone protocol in code explorer#128
stylessh merged 2 commits intostylessh:mainfrom
kovsu:persist-clone-protocol

Conversation

@kovsu
Copy link
Copy Markdown
Contributor

@kovsu kovsu commented Apr 15, 2026

Summary

Persist the selected clone protocol in the code explorer so the Code popover reopens with the user's last choice instead of resetting to CLI each time.

Changes

  • add a feature-specific helper for reading and writing the clone protocol preference
  • update the code explorer toolbar to use the stored protocol as the selected tab
  • keep CLI as the default when no preference is stored or storage is unavailable

Copy link
Copy Markdown
Owner

@stylessh stylessh left a comment

Choose a reason for hiding this comment

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

Let's create a use-local-storage-state that automatically fetches and validates data from local storage. so we can re-use across other configs

@stylessh stylessh merged commit ce9a5a8 into stylessh:main Apr 16, 2026
4 checks passed
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