Commit Graph
110 Commits
Author SHA1 Message Date
Federico Jaramillo Martinez 7063c2c3b1 fix: prevent iOS input zoom 2026-06-28 16:11:18 +02:00
Federico Jaramillo Martinez cb13af4b88 feat: add manual session cleanup 2026-06-26 15:57:12 +02:00
Federico Jaramillo Martinez 7bcd807867 Merge branch 'main' into chat-bidi-rtl-support 2026-06-26 00:16:01 +02:00
Federico Jaramillo Martinez 7e812aa7f5 feat: support general chat file attachments 2026-06-25 21:32:07 +02:00
Federico Jaramillo Martinez b14205e523 feat: add inline Git diff highlights 2026-06-25 10:57:28 +02:00
TheOneironaut 801428bc22 Add BiDi support to chat text 2026-06-24 00:07:12 +03:00
Federico Jaramillo Martinez 62c2234b85 fix: avoid duplicate skill loading cards 2026-06-19 23:44:58 +02:00
Federico Jaramillo Martinez 81dba2abc9 fix: remove 3px left border on chat bubbles 2026-06-17 00:57:17 +02:00
Federico Jaramillo Martinez 411e61ac75 feat: use icon actions in chat composer bar
Replace Send/Queue/Steer/Stop text buttons with compact icons, move Attach into the message box, and show the thinking level as a fill gauge. Keeps mobile layouts uncrowded while preserving accessible labels and the readable model selector.
2026-06-14 11:03:56 +02:00
Federico Jaramillo Martinez 5d335a7e72 Remove dead/unused code
Delete orphaned files and unreferenced exports flagged by knip/tsc:
- Remove Composer.ts (chat-composer element superseded by prompt-editor)
- Remove plugins/example/index.ts (never registered)
- Drop unused exports: enabledActions, gitDiffUrl, machineWorkspaceKey,
  GlobalSessionSocket, shouldShowMachineSwitcher, renderWorkspaceLabel,
  renderWorkspaceLabelItems, composerStyles alias
- Fix unused parseValue field in PersistentValueMap
2026-06-13 21:48:34 +02:00
Federico Jaramillo Martinez cfb7493384 Improve dark theme user/assistant message distinction
Add per-role left accent stripes and color-coded header labels across
all themes. Lighten the dark theme user-message background, decouple it
from the generic hover color, and brighten the user border so user and
assistant turns are clearly distinguishable.
2026-06-13 21:26:08 +02:00
Federico Jaramillo Martinez a369b1e550 feat: give the sending indicator a distinct color in session lists
Add a dedicated "sending" activity indicator kind (warning color) so a
session uploading attachments is visually distinct from server activity.
Server activity propagates up to workspace/machine rows; client-side
sending does not, and the different color signals that to users.

Also extract sessionRowActivityKind as a pure, exported helper so the
"sending takes precedence, archived/cached-new never show" logic is unit
tested without rendering.
2026-06-13 21:20:46 +02:00
Federico Jaramillo Martinez ecede3ac7c refactor: drive attachment sending state through the chat activity dock
Replace the composer-local "Sending…" indicator with a single, consistent
state surfaced by the existing chat activity dock. The session controller
now owns the full attachment send lifecycle (including the folder-mode
upload + reference rewrite) and toggles an isSendingPrompt flag around it,
which the chat dock renders as "Sending your message…" until the real
server activity supersedes it.

This covers the pre-receipt dead zone (upload, server-side image resize,
first-session open) with one indicator instead of two, and keeps plain
text sends fire-and-forget.
2026-06-13 14:09:04 +02:00
Federico Jaramillo Martinez 53b00c47f9 fix: show sending indicator while uploading attachments
Messages with image attachments could take a moment to appear (large
base64 upload, server-side resize, first-session open) while the composer
cleared instantly, making it look like nothing happened.

Await the send for attachment messages and surface a "Sending…" button
label plus a "Sending your files…" / "Saving your files…" hint, disabling
the composer until the message lands. Plain text messages stay
fire-and-forget so the input frees up instantly.
2026-06-13 13:57:10 +02:00
Federico Jaramillo Martinez d17050e144 feat: add image attachments to the chat composer
Support pasting (Ctrl/Cmd+V), drag-and-drop, and an Attach button to add
PNG/JPEG/GIF/WebP images to a message, with thumbnail previews and
multi-image support.

Attachments are delivered to the session using pi's native ImageContent
format and are run through pi's own resizeImage so they match pi's inline
image limits exactly. Image content now renders inline in the transcript.

A per-message delivery toggle also lets users save attachments into the
workspace `.pi-web/paste` folder and reference them so the agent reads
them with its own tools.

The accepted HTTP upload size is configurable via PI_WEB_MAX_UPLOAD_BYTES
or the maxUploadBytes config value (default 64 MB).

Closes #13
2026-06-13 13:49:39 +02:00
Federico Jaramillo Martinez b6166842fe feat: add resizable side panels 2026-06-08 15:41:52 +02:00
Federico Jaramillo Martinez f501f9d757 fix: stabilize navigation activity indicators 2026-06-08 13:33:39 +02:00
Federico Jaramillo Martinez f7eff88e00 feat: make refresh control reload the page 2026-06-05 23:40:59 +02:00
Federico Jaramillo Martinez 66c5d0faca fix: right align status bar metrics 2026-06-05 20:35:18 +02:00
Federico Jaramillo Martinez 98cdc29208 fix: streamline status bar context 2026-06-05 20:33:58 +02:00
Federico Jaramillo Martinez b35ce1d3e0 fix: reduce repeated workspace context 2026-06-05 20:26:12 +02:00
Federico Jaramillo Martinez bd8d1f1f08 feat: keep workspace tab icons visible 2026-06-04 13:50:29 +02:00
Federico Jaramillo Martinez 6c094af917 fix: contain chat overlay stacking 2026-06-01 18:09:49 +02:00
Federico Jaramillo Martinez 1a5c60da49 Merge pull request #8 from FerOliveira-dev/fix/prompt-editor-z-index
fix: increase prompt-editor z-index to 30 to prevent activity-dock overlap
2026-06-01 18:08:57 +02:00
Federico Jaramillo Martinez a038da669c fix: avoid extra mobile browser bottom inset 2026-05-31 20:13:28 +02:00
FerOliveira-dev c2147c7089 fix: increase prompt-editor z-index to 30 to prevent activity-dock overlap 2026-05-30 19:25:45 -03:00
Federico Jaramillo Martinez 1ae28d8f59 refactor(client): extract app shell chrome 2026-05-28 21:51:52 +02:00
Federico Jaramillo Martinez 61a763a4fb fix: keep chat status bubble above message titles 2026-05-28 15:13:24 +02:00
Federico Jaramillo Martinez 1c1740aeab fix: keep navigation headings visible 2026-05-28 15:06:55 +02:00
Federico Jaramillo Martinez 5737b228b8 feat: add left panel collapse control 2026-05-28 11:18:04 +02:00
Federico Jaramillo Martinez c0b358bf3d fix: keep collapsed workspace panel handle visible 2026-05-28 11:06:45 +02:00
Federico Jaramillo Martinez d46b15f9b2 Merge remote-tracking branch 'origin/main' into maintainer/pr-6-workspace-panel-edge
# Conflicts:
#	src/client/src/components/shared.ts
2026-05-28 10:58:07 +02:00
Federico Jaramillo Martinez 559c6f6d1f fix: move workspace panel collapse control to edge 2026-05-28 10:47:16 +02:00
Federico Jaramillo Martinez c73ac5bb9a fix: keep PWA chrome visible after resume 2026-05-28 08:19:04 +02:00
spellitwithaph 6d45505afc fix: hide panel toggle icon at responsive breakpoints
The workspace panel is already hidden at ≤1180px by responsive CSS,
so the expand/collapse toggle icon is meaningless there. Hide the
expand-panel-strip inside both media queries.
2026-05-27 10:36:31 -04:00
spellitwithaph 1784b1e6c6 fix: add responsive collapsed overrides for tablet/mobile breakpoints
The desktop .shell.workspace-panel-collapsed selector had higher
specificity than the media-query .shell rules, causing horizontal
overflow at ≤1180px and ≤760px widths. Add matching collapsed grid
overrides inside each breakpoint.
2026-05-27 10:32:32 -04:00
spellitwithaph c8b05427fd fix: tooltip reads 'Toggle Panel' and expand button aligns right
- Change title/aria-label on both collapse and expand buttons to 'Toggle Panel'
- Right-align the expand-panel-strip so the toggle icon sits on the right
  edge of the main column when the workspace panel is collapsed
2026-05-27 10:19:59 -04:00
spellitwithaph c26359917f feat: add collapse/expand toggle for workspace panel
Adds a chevron-right collapse button after the last tab (Files, Git,
Terminal, Info) in the workspace panel header. Clicking it hides the
workspace panel and lets the main chat column fill the full width.

When collapsed, an expand strip with a chevron-left button appears
below the context bar to re-open the workspace panel.

Changes:
- Add workspacePanelCollapsed boolean to AppState
- Add collapse button to WorkspacePanel header tabs
- Add expand strip with toggle button in main column when collapsed
- Adjust grid layout to hide panel and stretch main when collapsed
- Handle collapsed state at ≤1180px responsive breakpoint
2026-05-27 10:10:17 -04:00
Federico Jaramillo Martinez 711c4f3d98 feat: run workspace operations in terminals 2026-05-25 15:01:56 +02:00
Federico Jaramillo Martinez a33c51d164 fix: limit refresh controls to PWA mode 2026-05-23 23:03:00 +02:00
Federico Jaramillo Martinez c2200da0b2 fix: surface refresh control on tablet PWA 2026-05-23 22:56:34 +02:00
Federico Jaramillo Martinez 4517fa06d2 fix: polish mobile refresh overlay 2026-05-23 22:34:04 +02:00
Federico Jaramillo Martinez f4aeb0675f feat: make mobile breadcrumbs clickable 2026-05-23 22:26:42 +02:00
Federico Jaramillo Martinez df20563abb feat: add mobile refresh control 2026-05-23 21:18:22 +02:00
Federico Jaramillo Martinez a1e903f8f9 feat: add file browser image previews 2026-05-22 15:36:24 +02:00
Federico Jaramillo Martinez 23e82e1292 fix: improve workspace empty states 2026-05-22 14:32:39 +02:00
Federico Jaramillo Martinez 2f5293a8c9 fix: make workspace panels scrollable 2026-05-21 20:52:30 +02:00
Federico Jaramillo Martinez cf1b0ed345 fix: replace workspace hover lens with details menu 2026-05-21 13:47:56 +02:00
Federico Jaramillo Martinez 3da2fcf251 feat: add workspace overflow lens 2026-05-20 09:38:33 +02:00
Federico Jaramillo Martinez 1232610bf1 fix: keep location context mobile-only 2026-05-19 21:37:51 +02:00