mirror of
https://github.com/Kong/insomnia.git
synced 2026-07-30 09:16:44 -04:00
* tech_design * tech-doc * add directory to git repo model * tech doc * tech doc * use directory picker to select an existing repo to clone from/to * tech doc * Open git repo * tech doc * Implement Git project local storage features and add e2e tests * tech doc * Implement folder opening as Git projects with user trust confirmation * Add Git credential selection to project creation form and enhance repo file watcher for directory availability * tech doc * refactor: clean up code and remove references to GIT_LOCAL_REPOS_DESIGN.md * fix: handle optional author name in Git credential display * feat: enhance Git credential handling for local repositories * feat: enhance Git project folder handling and improve test descriptions * fix: update Git project mode button copy Rename 'Clone from URL' to 'Clone from Remote' and 'Open existing folder' to 'Open local folder'. Update the smoke test selector and a stale comment accordingly. * fix: align control heights and styling in Git clone form Standardize the credential select, author email select, and clone location box to match the repository/branch comboboxes: shared --line-height-xs height, consistent label spacing, and input-sized value text and padding. * feat: show clone target path and remember last clone folder Default the clone parent directory to the folder the user last cloned into, and render the resulting target path middle-truncated with a full path tooltip via a new MiddleTruncate component. * fix: reorder and align Open local folder input layout Move the helper text directly below the Folder label, and align the folder box and Choose folder button to the shared control height with middle-truncated path display. * feat: warn when opening a folder already used by a project Add a git.checkGitRepoDirectory IPC that resolves the project adopting a folder. The Open local folder flow checks at folder-pick time and shows a red, no-background warning below the input offering to open the existing project, and blocks continuing while the warning is present. * fix: top-align empty organization view and scroll the full page Replace the vertically centered grid with a top-aligned, page-scrolling layout so the new project form no longer jumps when switching project types and the scrollbar spans the whole pane. * fix: align project modal to top and match folder description color Top-align the project modal overlay so it no longer jumps as the form height changes, and drop the dimmer color override on the Open local folder helper text so it matches the repository URL field description. * Potential fix for pull request finding Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> * fix: always use getRepoBaseDir * fix comment * delete duplicate code * fix: test * test: add Git repository relocation tests * fix: ensure selection change handler converts key to string --------- Co-authored-by: Pavlos Koutoglou <pkoutoglou@gmail.com> Co-authored-by: Curry Yang <163384738+CurryYangxx@users.noreply.github.com> Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> Co-authored-by: Curry Yang <1019yanglu@gmail.com>