hex/src/desktop
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Dax Raad 5129b49e9a labs: keep the screenshots save error with the folder that failed
Review fixes for the screenshots folder card:

- `screenshots::save_error` keeps the folder the save meant with the
  reason, so a folder changed since through `hex settings` or
  `settings.json` can't make the note name the wrong one.
- The editor's Save records a failed shot PNG or trimmed recording movie
  into the screenshots folder, and clears the note when it works, so the
  docs' "cleared when a later save works" covers every save into it.
- `take` clears the note as soon as the write succeeds, before the
  clipboard copy, so a clipboard failure can't resurrect a stale note.
- Reveal takes `&mut Ui` and puts a failed `create_dir_all` on the card,
  as Meetings' and Annotate's folder hosts do.
- `apply_chosen_folder` only clears the note and reports a change once
  `ui.update` saved the pick; a refused settings save reads as the card's
  danger note instead.
- The test records a failure into an older folder and checks the note
  names it (not the current setting), then that a pick clears it, with the
  process-wide error reset before and after.

Also: the file dialog's `Target::Folder` doc names its callers, the new
Japanese string uses フォルダー like the rest of the table, and the docs
say a visible window's 250 ms tick carries a background save failure, so
no extra wake is kept.
2026-11-14 22:59:57 -05:00
..
i18n labs: keep the screenshots save error with the folder that failed 2026-11-14 22:59:57 -05:00
opencode_service annotate: use OpenCode in WSL when the lab is on (#1586) 2026-11-09 08:08:57 -05:00
activity.rs refactor: derive hand-kept lists and literals from one source (t1539) (#1749) 2026-11-12 11:58:11 -08:00
background_process.rs Fold desktop shell, onboarding, and OpenCode client modules into desktop/ 2026-10-31 16:12:40 -07:00
events.rs Start the event reader over after a trim, and clear the old process.log once (#1722) 2026-11-12 10:39:29 -06:00
file_dialog.rs labs: keep the screenshots save error with the folder that failed 2026-11-14 22:59:57 -05:00
host.rs refactor: derive hand-kept lists and literals from one source (t1539) (#1749) 2026-11-12 11:58:11 -08:00
i18n.rs use OpenCode's default model for meeting summaries (#1844) 2026-11-14 22:53:32 -05:00
instance.rs Fold desktop shell, onboarding, and OpenCode client modules into desktop/ 2026-10-31 16:12:40 -07:00
log_trim.rs Start the event reader over after a trim, and clear the old process.log once (#1722) 2026-11-12 10:39:29 -06:00
login_item.rs fix(onboarding): give the launch-at-login ask the platform's words (#1819) 2026-11-14 00:36:16 -05:00
onboarding.rs fix(onboarding): bring Hex back after a System Settings grant; no early microphone prompt (#1758) 2026-11-12 18:07:43 -08:00
opencode_catalog.rs Meetings: one Summaries picker for titles and summaries (#1425) 2026-11-05 15:57:24 -08:00
opencode_service.rs annotate: use OpenCode in WSL when the lab is on (#1586) 2026-11-09 08:08:57 -05:00
permission_guide.rs fix(macos): clear stale permission rows and offer one-click recovery (#715) 2026-10-31 20:53:36 -07:00
process_exit.rs Bump Rune to 1899e64: overlays pace frames with the swap chain on Windows (#1832) 2026-11-14 20:40:20 -05:00
tray_icon.rs linux: dark tray mark on light panels (#1481) 2026-11-07 05:02:25 -05:00
tray_menu.rs Fix #1287: tray menu Record meeting item (GNOME AppIndicators) (#1289) 2026-11-04 10:53:37 -05:00