opening the app should select the last project we were on automatically and open a draft chat for that project #24

Closed
opened 2026-07-25 21:39:34 +00:00 by hugo · 1 comment
Owner

instead of starting in the current starting screen, when we closed the app with a chat opoen, persist the project we were in and start a draft chat with that project, so the user can directly continue work on the project they left it on. Also when creating a new chat, focus the entry field directly, because the user most probably wants to start typing immediately.

instead of starting in the current starting screen, when we closed the app with a chat opoen, persist the project we were in and start a draft chat with that project, so the user can directly continue work on the project they left it on. Also when creating a new chat, focus the entry field directly, because the user most probably wants to start typing immediately.
hugo added the enhancement label 2026-07-25 21:39:34 +00:00
Author
Owner

Implemented in e446805.

  • New preferences.last_project_id column (migration 20260725160000_add_last_project) records the project whenever one becomes active: selecting a project or session, creating a project, or opening a draft.
  • On launch the app selects that project again (if it still exists) and opens a fresh draft chat for it, instead of the empty start screen.
  • The composer now has an id and is focused automatically: on main-window open when a project was restored, and whenever a new chat is created.

Not included: restoring the last session and its transcript — the issue asked for a draft chat, so a new one is opened. Say so if you want the previous conversation reopened instead.

Implemented in e446805. - New `preferences.last_project_id` column (migration `20260725160000_add_last_project`) records the project whenever one becomes active: selecting a project or session, creating a project, or opening a draft. - On launch the app selects that project again (if it still exists) and opens a fresh draft chat for it, instead of the empty start screen. - The composer now has an id and is focused automatically: on main-window open when a project was restored, and whenever a new chat is created. Not included: restoring the last *session* and its transcript — the issue asked for a draft chat, so a new one is opened. Say so if you want the previous conversation reopened instead.
hugo closed this issue 2026-07-25 21:55:34 +00:00
Sign in to join this conversation.