Lokasi ngalangkungan proxy:   [ UP ]  
[Ngawartoskeun bug]   [Panyetelan cookie]                
Skip to content

feat(client): align app chat and add embedded readers - #2800

Open
KinyooZ wants to merge 10 commits into
feat/3.1.0-alpha2from
alpha2-ui
Open

KinyooZ wants to merge 10 commits into
feat/3.1.0-alpha2from
alpha2-ui

Conversation

@KinyooZ

@KinyooZ KinyooZ commented Nov 25, 2026 •

Copy link
Copy Markdown
Collaborator

Changes

  • Align app-chat composers and histories with the workbench across browser, desktop and mobile. Preserve send, stop, restart, attachment, voice and IME behavior; display localized relative update times and retain newly created drafts during rename refreshes.
  • Keep new project conversations and generated titles visible in account-scoped project caches. Cancel stale reads, deduplicate membership/list entries and preserve later explicit moves between projects. Notify the native desktop project sidebar as soon as normal-chat creation or task handoff is confirmed, with optional-method compatibility for older hosts.
  • Open knowledge files inside desktop and mobile hosts, including knowledge preview drawers and historical file versions. Reuse the existing reader and permission/download controls, retain the source list, restore focus on close and keep the enclosing document title. Ordinary browser previews retain their separate-tab behavior.
  • Expand subscription articles inside embedded hosts without remounting the article frame or losing list position and AI drafts. Handle back/Escape and focus restoration, and wait for permitted detail content before enabling expansion.
  • Add optional shared-modal focus and header controls, and reuse the compact knowledge back control.
  • Restore local client/platform object access by validating browser buckets with the backend and forwarding the original signed object path to storage. Preserve range requests and omit browser session cookies and authorization headers.

Validation

  • Current frontend workspace lint and typecheck passed; shared UI strict typecheck passed.
  • Current focused client regression run: 158 tests passed across 14 suites, covering desktop bridge compatibility, client environments, project cache/chat integration, embedded knowledge readers, article expansion, navigation and revoked access.
  • Git whitespace checks passed for all new commits.
  • Two additional legacy suites have existing module-loading problems: TopBar.test.tsx reaches an untransformed ESM dependency, and ChannelPreviewDrawer.test.tsx mocks the removed Tooltip2 module. Both failures were reproduced on unchanged base commit 4509d2d93f; those suites were excluded from the current focused run.

Route /object URLs from local client and platform development servers to the configured object store after checking the bucket with the backend.

Keep object paths, query signatures and range headers unchanged; do not forward browser session cookies or authorization headers. Cover the workspace prefix, disallowed buckets and unsupported methods.
Allow host-owned presentation slots in the shared conversation composer and apply the workbench layout to regular app chat. Standalone chat retains the default appearance.

Reuse themed attachment, send, stop and voice controls across browser, desktop and mobile layouts while retaining existing upload, IME, send and restart behavior.
Align desktop and mobile app histories with compact workbench conversation rows, shared date labels, recent-update sorting and accessible option menus.

Save the selected row on Enter, save-button action or focus leaving the editor, with IME and cancellation guards. Refresh only the renamed conversation so an in-flight refresh cannot discard a newly created draft.

Update navigation and rename regression coverage and remove unused-variable lint suppressions after the strict typing cleanup.
Use shared compact elapsed-time labels instead of calendar dates in workbench and app conversation rows, matching the Desktop sidebar units.

Fall back to creation time when the update time is missing, preserve semantic ISO timestamps, and handle invalid or future timestamps. Include English, Simplified Chinese and Japanese labels with boundary and fallback regression tests.
Keep new project conversations and their generated titles visible in project history. Cancel stale reads, deduplicate membership and list entries, and scope updates to the current account.

Cover creation, pagination, title updates and chat integration with regression tests.
Allow controlled modals without triggers to restore focus to their opener. Expose optional header classes for embedded readers while preserving default modal presentation.
Reuse the file reader in desktop and mobile app overlays, including version history and knowledge preview drawers. Keep browser previews in separate tabs.

Preserve source lists, restore focus on close, retain permission checks and download controls, and avoid changing the enclosing document title. Share the compact back control with knowledge headers and cover embedded reader behavior with regression tests.
…eaders

Expand article details inside desktop and mobile hosts while preserving the article frame, list position and AI draft. Keep browser navigation behavior unchanged.

Handle Escape and focus restoration, block expansion until permitted detail content is ready, and cover embedded navigation and article controls with regression tests.
@KinyooZ KinyooZ changed the title feat(client): align app chat UI and restore local object access feat(client): align app chat and add embedded readers Nov 25, 2026
Extend the optional desktop presentation contract with project conversation creation notifications. Expose the method through the safe host adapter and ignore browser channels, draft IDs and older hosts without the method.

Cover native payloads and legacy-host compatibility in bridge tests.
Notify the native project sidebar after the current account publishes a created project conversation to its cache. Deliver normal-chat creation and task handoff before answers finish.

Extend chat integration coverage for both browser and desktop environments.
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