Repository navigation
feat: split local/remote config and add projects drawer - #58
Merged
Merged
Conversation
flexdinesh
marked this pull request as ready for review
October 12, 2026 11:36
- Namespace CLI config into local.* and remote.* with DIFFX_LOCAL_*/DIFFX_REMOTE_*; server uses DIFFX_SERVER_* and port 7980 so both modes run side by side - Reject flat config with a message naming the file and key moves - Add diffx remote status; hooks check remote config before discovery and back off automatic retries - Expose streamId/latestContextId and latest=true on /api/v2/contexts - Add collapsible projects drawer of current changed streams with new-changes marks and a newer-snapshot notice
flexdinesh
force-pushed
the
feat/server-deploy-projects-nav
branch
from
October 12, 2026 11:48
1574661 to
39f596c
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
config: CLI config is namespaced intolocal.*(diffx [PATH]) andremote.*(sync/hooks), withDIFFX_LOCAL_*/DIFFX_REMOTE_*env.diffx-serverreads onlyDIFFX_SERVER_*and defaults to port 7980, so it runs beside local 7981–7990. Flat config files are rejected with an error naming the file and each key's replacement.cmd/diffx: newdiffx remote statuschecks the destination, credential, and protocol, and lists waiting hook deliveries. Hooks check remote config before discovery.hooks: automatic retries skip jobs whose worker ran in the last 2 minutes;collector retrystill forces them.reviewstore/contextservice/httpapi: contexts exposestreamIdandlatestContextId./api/v2/contexts?latest=trueomits stale snapshots.apps/web: collapsible Projects drawer listing repositories with their current changed streams, plus a new-changes dot and a "View latest" notice. Stream heads load continuously; the picker loads full history only while open.DIFFX_SERVER_PORT(default 7980)..git.mise run checkand the pre-pushcheck:pushpass: Go, race, conformance, contracts, design guard, 65 browser tests including a new drawer test, and unit tests.diffx-serverfed bydiffx sync: desktop, collapsed, dark, and mobile drawer focus/Escape.--projects-widthtoken and a new-changes status-circle design exception, both documented in DESIGN.md.