feat(init-prompt): open a small standalone prompt for folders outside a Git repo #59
No reviewers
Labels
No labels
bug
duplicate
enhancement
help wanted
invalid
question
state: Done
state: New
state: To Do
type: Bug
type: Feature
type: Task
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
Christoph/Gitty!59
Loading…
Reference in a new issue
No description provided.
Delete branch "ChangesMarker"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Show a compact "init prompt" window when the app is launched from Explorer with a plain folder
that is not part of any Git work tree, instead of creating/opening the full main window.
and bootstrap script that runs before the main frontend.
init_prompt_cancel); is_folder_outside_repository helper; startup flow updated to open the
prompt for non-repo folders and to create main/splash windows lazily. The confirm action
initializes the repo (calls init_repository) and then opens the main window; cancel closes
the prompt and exits if no main window exists.
includes a unit test.
core🪟allow-set-size and include init-prompt window in default capabilities) so the
prompt can be shown alone and resized to its content.
remove them on uninstall.
updater artifacts.
The change keeps existing behavior for normal startup and clone flows; main windows are now
created lazily so a folder-only prompt can run by itself.
Show a compact "init prompt" window when the app is launched from Explorer with a plain folder that is not part of any Git work tree, instead of creating/opening the full main window. - New UI and assets: adds a standalone init-prompt HTML entry, Svelte InitPrompt component, and bootstrap script that runs before the main frontend. - Tauri backend: new InitPrompt state and commands (init_prompt_path, init_prompt_confirm, init_prompt_cancel); is_folder_outside_repository helper; startup flow updated to open the prompt for non-repo folders and to create main/splash windows lazily. The confirm action initializes the repo (calls init_repository) and then opens the main window; cancel closes the prompt and exits if no main window exists. - Misc fixes and plumbing: - repair_quoted_drive_root handles Explorer's quoted drive-root argument (e.g. C:" -> C:\); includes a unit test. - tauri config and capabilities updated (main/splash declared "create": false; add core🪟allow-set-size and include init-prompt window in default capabilities) so the prompt can be shown alone and resized to its content. - NSIS installer hooks add Explorer context-menu verbs ("Open in Gitty") for folders and remove them on uninstall. - Add localized messages and a small storedPreferences helper used by the prompt. - CI: add a .gitea workflow to produce a manual Windows test installer without publishing updater artifacts. The change keeps existing behavior for normal startup and clone flows; main windows are now created lazily so a folder-only prompt can run by itself.