Skip to content

Dev3#3

Merged
flatmax merged 31 commits intomasterfrom
dev3
Mar 23, 2026
Merged

Dev3#3
flatmax merged 31 commits intomasterfrom
dev3

Conversation

@flatmax
Copy link
Copy Markdown
Owner

@flatmax flatmax commented Mar 23, 2026

No description provided.

flatmax and others added 30 commits March 19, 2026 17:17
Add bidirectional mode switching between visual SVG editor and text
diff viewer. Users can now toggle between editors via dedicated UI
buttons while preserving file state and dirty status across switches.

- Add toggle-svg-mode event handler in app shell
- Implement _onToggleSvgMode to manage viewer visibility and file sync
- Add visual mode button to diff viewer for .svg files
- Add code button to SVG viewer for text diff mode
- Preserve savedContent through mode switches for dirty state tracking
- Update AWS region config ap-northeast-1 to ap-northeast-3
- Clean up verbose console logs and improve styling
Add per-file viewport persistence to preserve scroll position
and cursor location when switching between tabs. Store viewport
states in a Map and restore them when returning to a file.

- Add _viewportStates Map to track scroll and cursor position
- Save viewport before switching away from active file
- Restore viewport when returning to previously viewed file
- Update keyboard navigation (Ctrl+PageUp/Down) to use new logic
- Clean up viewport state when closing files
- Update AWS region config from ap-northeast-3 to ap-south-1
Document the transient per-file viewport state mechanism that
preserves scroll position and cursor location when navigating
between files. State is captured before switching and restored
after diff computation, not persisted across page reloads.
- Document new behavior preventing duplicate file nodes
- Add implementation in file navigation component
- Increment travel count when reusing adjacent neighbor
- Check neighbors in placement priority order
Add assistant message to chat panel when resetting to HEAD,
and auto-scroll to bottom if auto-scroll is enabled.
Update documentation to reflect that commit and reset operations
now record system event messages with distinct styling, persisted
in history and visible to the LLM. Update chat panel to render
system event cards and remove assistant message suffix from
reset_hard description.
When the server restarts, _restore_last_session() now reuses the
restored session ID instead of creating a new one. This ensures
subsequent messages are persisted to the same session. However,
_commit_all_background() was still using self._session_id which could
have been replaced, causing commit events to be logged to the wrong
session.

Capture the session ID before launching the background task and pass
it as an argument so the commit event is persisted to the correct
session regardless of restart timing.
- Add LLMService.reset_to_head() endpoint documentation
- Document UI-driven commit and reset flows with session handling
- Add system_event flag to HistoryMessage schema
- Clarify session ID reuse on server restart for history continuity
- Change system event message alignment from center to left
- Update AWS region from ap-south-1 to ap-southeast-1
Implement grid edge wrapping for Alt+Arrow navigation. When no
adjacent node exists, wrap to the opposite edge of the grid along
the same axis. Update specs and add comprehensive test cases for
all wrap directions and edge cases.
- Add `Collab.get_share_info()` RPC method for share URL construction
- Update token counter to document hardcoded model limits and cl100k_base encoding
- Clarify `.ac-dc/images/` directory creation and lifecycle
- Add structure-only extraction method to document indexing
- Document MATLAB builtin exclusion set and preprocessing
- Add anchoring activation condition for cache tiering
- Fix symbol index prefix from `sym:` to `symbol:` in tracker keys
- Add passive stream adoption for collaborators
- Enhance collab popover with client list and share link UI
- Document file picker sorting modes and context menu enhancements
- Add markdown link navigation for diff viewer
- Document virtual file usage for ad-hoc comparison
- Update file picker with duplicate and load-in-panel actions
- Clarify excluded files handling in cache tiers
- Fix session restore timing in startup phase
- Update AWS region in LLM config
Expand search documentation and implementation to describe
the new two-panel architecture with file picker (left) showing
matching files with match counts, and match context panel (right)
with highlighted results and bidirectional scroll sync. Add
resizable divider, pruned search tree building, and scroll
synchronization between panels. Update file-picker.js to support
injecting pre-built trees via setTree() method.
Add documentation and implementation for tracking scroll-sync-expanded
directories separately from user-expanded ones. Auto-collapse dirs when
no longer needed by scroll sync while preserving user selections.
Move file search functionality from standalone Search tab into the
Files tab's chat panel. The action bar now supports dual search modes
(messages/files) with a toggle button and unified option toggles. File
search results appear in an overlay, with the file picker showing a
pruned tree. Tab shortcuts adjusted: removed Alt+2 (search), renumbered
remaining tabs, Doc Convert now Alt+5 (conditional). Legacy search tab
removed. Ctrl+Shift+F now activates file search with optional prefill.
Migration added for stale 'search' tab preference in localStorage.
Remove the standalone search tab component (ac-search-tab.js) that was
superseded by integrated file and context search. Update dialog tab
shortcuts to reorder settings and convert tabs, with settings now at
Alt+4 and convert at Alt+5. Remove related documentation from specs.
Reorganize git action buttons (copy diff, commit, reset) from
chat panel action bar to dialog header's right-side actions area.
Add header divider and action dividers in search controls. Update
search UI with inline toggles inside input border (VS Code pattern).
Move session buttons to separate group in action bar. Add commit
state tracking with spinning animation and disable during review/
streaming. Update specs to reflect new layout and delegation flow.
Move the collaboration indicator button from the right-side header actions
to the left side between the tab label and tab buttons. This positions it
as a status indicator rather than an action, keeping workflow controls
focused on the right. Also fix popover positioning from right to left
alignment.
Move git action buttons (copy diff, commit, reset) from
right-side actions to a centered group between tab buttons
and right controls. Shorten cross-ref toggle labels from
"+doc index"/"+code symbols" to "+doc"/"+code". Update
header layout styling to accommodate centered git actions
group with auto margins.
Move collaboration indicator into git-actions group between tabs and
right controls. Extract collab popover rendering into separate method.
Relocate review button to git-actions and update header structure per
spec changes.
- Replace 💬/📁 with 🗨/🔎 toggle icons for clarity
- Move session controls (new/history) after search area
- Hide session controls in file search mode
- Update toggle button tooltip to be mode-specific
- Change AWS_REGION from eu-north-1 to eu-west-1
- Update first tab label from 'Files' to 'Chat' with speech
  bubble icon
Update documentation to explain expand/collapse state preservation
during file search. Add `restoreExpandedState()` method to snapshot
the current `_expanded` set before search tree injection and restore
it before reloading the full tree. This preserves the user's
directory expansion state when exiting search mode.
Register MATLAB language with Monaco editor and add Monarch
tokenizer for syntax highlighting. Map .m file extension to
MATLAB language mode.
- Resolve merge conflict in llm.json config file
- Add hidden flag to convert tab in TABS configuration
- Update tab filter logic to respect hidden flag
- Add conditional doc convert button to header
The Doc Convert tab no longer appears in the tab bar.
Instead, a 📄 button appears conditionally in the
right-side header actions area next to the mode toggle.
Alt+5 remains the keyboard shortcut and the button
highlights when the convert tab is active.
Merge Cache tab into Context tab with Budget/Cache pill toggle.
Cache now renders as embedded `<ac-cache-tab>` component within
Context tab. Update tab shortcuts from Alt+1-5 to Alt+1-4. Migrate
stale 'cache' tab preference to 'context'. Update localStorage keys
and remove standalone cache tab from main dialog. Add shadow DOM
boundary crossing for embedded cache tab visibility detection.
- Replace tab labels with icons in header
- Add explicit Label column to tabs table
- Reorganize header sections: move tab buttons
  to left, center actions group
- Remove header-label styling and markup
- Update git actions and review toggle placement
- Clarify collab indicator positioning
chore: add cursor style to sample SVG
@flatmax flatmax merged commit ca69e49 into master Mar 23, 2026
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