Skip to content

Fix some known issues#74

Merged
su-fen merged 5 commits into
mainfrom
features
Jul 6, 2026
Merged

Fix some known issues#74
su-fen merged 5 commits into
mainfrom
features

Conversation

@su-fen

@su-fen su-fen commented Jul 6, 2026

Copy link
Copy Markdown
Member

Summary

  • Pin the queue collapse toggle to the panel border as a clasp (chevron + queued-turn count), mirrored across agent-gui and gateway web
  • Replace unstable windows_by_handle APIs with windows-sys so the GUI builds on stable Rust toolchains
  • Fix pending-upload invalidation to be scoped per-conversation instead of clearing all drafts on any workdir change
  • Remove the empty-state hero glow behind the logo on both frontends

Test plan

  • Verify queue panel clasp collapses/expands correctly in agent-gui and gateway web
  • Build agent-gui on Windows (stable toolchain) and confirm file identity/fileId still resolves correctly
  • Switch between conversations across projects and confirm pending upload attachments are preserved/cleared correctly
  • Visually confirm empty-state logo has no glow in light/dark mode on both frontends

🤖 Generated with Claude Code

su-fen and others added 5 commits July 6, 2026 02:35
Replace the in-panel divider row with a single pill toggle that straddles
the queue panel's top border, showing a chevron plus queued-turn count.
When collapsed the panel folds to zero height and the clasp slides down
onto the composer's top border. Mirrored across agent-gui and gateway web.

Co-Authored-By: Claude Fable 5 <[email protected]>
volume_serial_number()/file_index() are gated behind the unstable
windows_by_handle feature (rust-lang/rust#63010) and fail to build on
stable toolchains. Query GetFileInformationByHandle directly via
windows-sys instead, keeping the same {volume}:{index} fileId format
and the path-based fallback.

Co-Authored-By: Claude Fable 5 <[email protected]>
…dir changes

Pending uploads were invalidated with the wrong granularity on both ends:

- GUI: any workdir prop change cleared the entire per-conversation map,
  so switching to a conversation in another project and back silently
  dropped the original conversation's attachment drafts.
- WebUI: no invalidation at all, so a draft conversation that switched
  projects kept attachments whose relative paths pointed at the old
  project's uploads/ tree and could no longer be read after sending.

Unify the rule on both ends: switching conversations never invalidates
any conversation's uploads; a workdir change within the same
conversation clears only that conversation; an execution-mode flip
clears everything. GUI restore-on-switch now lives inside
usePendingUploads (mirroring the WebUI hook), which also closes the
one-frame pendingUploadedFilesRef desync. Also label the WebUI hidden
file input for accessibility.

Co-Authored-By: Claude Fable 5 <[email protected]>
The 360px radial hero-glow-pulse overlay read as a faint light haze
below the logo in dark mode. Drop the overlay div from all empty
states (GUI no-models/start-chat, WebUI shared branch) and delete the
now-unused hero-glow-pulse/heroGlowPulse/heroFadeIn CSS on both ends.

Co-Authored-By: Claude Fable 5 <[email protected]>
@su-fen su-fen merged commit a9c83da into main Jul 6, 2026
7 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.

1 participant