@ejklock/herdr-workspaces 0.0.0-stage → 0.1.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +158 -2
- package/bin/herdr-workspaces.js +11 -0
- package/bin/install +175 -0
- package/layouts/Workspaces.json +206 -0
- package/mods/workspaces/agents.js +516 -0
- package/mods/workspaces/archive.svg +3 -0
- package/mods/workspaces/branch.svg +1 -0
- package/mods/workspaces/check.svg +3 -0
- package/mods/workspaces/chevron-down.svg +14 -0
- package/mods/workspaces/chevron-left.svg +3 -0
- package/mods/workspaces/chevron-right.svg +14 -0
- package/mods/workspaces/chrome.js +104 -0
- package/mods/workspaces/circle-check.svg +15 -0
- package/mods/workspaces/clock.svg +4 -0
- package/mods/workspaces/dialog.js +163 -0
- package/mods/workspaces/file-text.svg +7 -0
- package/mods/workspaces/files.svg +3 -0
- package/mods/workspaces/folder-plus.svg +5 -0
- package/mods/workspaces/folder.svg +14 -0
- package/mods/workspaces/git-branch.svg +16 -0
- package/mods/workspaces/git-compare.svg +3 -0
- package/mods/workspaces/group-dialog.js +92 -0
- package/mods/workspaces/layers.svg +16 -0
- package/mods/workspaces/lib.js +710 -0
- package/mods/workspaces/main.js +41 -0
- package/mods/workspaces/menu-items.js +127 -0
- package/mods/workspaces/menu.js +221 -0
- package/mods/workspaces/minus.svg +14 -0
- package/mods/workspaces/mod.json +8 -0
- package/mods/workspaces/monitor.svg +1 -0
- package/mods/workspaces/panel-left.svg +15 -0
- package/mods/workspaces/panel-right.svg +4 -0
- package/mods/workspaces/pin-off.svg +6 -0
- package/mods/workspaces/pin.svg +4 -0
- package/mods/workspaces/plus.svg +15 -0
- package/mods/workspaces/preview.svg +44 -0
- package/mods/workspaces/search.svg +1 -0
- package/mods/workspaces/server.svg +1 -0
- package/mods/workspaces/settings.svg +15 -0
- package/mods/workspaces/sidebar.svg +1 -0
- package/mods/workspaces/spaces.js +548 -0
- package/mods/workspaces/spinner.svg +4 -0
- package/mods/workspaces/square-pen.svg +15 -0
- package/mods/workspaces/square.svg +14 -0
- package/mods/workspaces/status.js +20 -0
- package/mods/workspaces/switcher.js +100 -0
- package/mods/workspaces/terminal.svg +4 -0
- package/mods/workspaces/window.js +99 -0
- package/mods/workspaces/window.svg +5 -0
- package/mods/workspaces/x.svg +15 -0
- package/package.json +54 -4
- package/plugins/editor/bin/install-files +122 -0
- package/plugins/editor/mods/editor/editor/document.js +201 -0
- package/plugins/editor/mods/editor/editor/language.js +31 -0
- package/plugins/editor/mods/editor/editor/main.js +248 -0
- package/plugins/editor/mods/editor/editor/preview.js +47 -0
- package/plugins/editor/mods/editor/editor/routing.js +52 -0
- package/plugins/editor/mods/editor/format/formatters.js +205 -0
- package/plugins/editor/mods/editor/format/index.js +1 -0
- package/plugins/editor/mods/editor/main.js +1 -0
- package/plugins/editor/mods/editor/mod.json +1 -0
- package/plugins/editor/mods/editor-changes/kernel/exec.js +1 -0
- package/plugins/editor/mods/editor-changes/kernel/git.js +21 -0
- package/plugins/editor/mods/editor-changes/list/branches.js +169 -0
- package/plugins/editor/mods/editor-changes/list/confirm.js +137 -0
- package/plugins/editor/mods/editor-changes/list/graph.js +100 -0
- package/plugins/editor/mods/editor-changes/list/main.js +1148 -0
- package/plugins/editor/mods/editor-changes/list/menus.js +106 -0
- package/plugins/editor/mods/editor-changes/list/ops.js +348 -0
- package/plugins/editor/mods/editor-changes/list/progress.js +38 -0
- package/plugins/editor/mods/editor-changes/list/split.js +19 -0
- package/plugins/editor/mods/editor-changes/list/stashes.js +42 -0
- package/plugins/editor/mods/editor-changes/list/status.js +51 -0
- package/plugins/editor/mods/editor-changes/list/sync.js +17 -0
- package/plugins/editor/mods/editor-changes/list/target.js +110 -0
- package/plugins/editor/mods/editor-changes/list/worktrees.js +63 -0
- package/plugins/editor/mods/editor-changes/main.js +1 -0
- package/plugins/editor/mods/editor-changes/mod.json +1 -0
- package/plugins/editor/mods/editor-changes/vendor/vscode-scm-history.js +147 -0
- package/plugins/editor/mods/editor-diff/changes/diff.js +145 -0
- package/plugins/editor/mods/editor-diff/changes/nav.js +86 -0
- package/plugins/editor/mods/editor-diff/changes/pane.js +322 -0
- package/plugins/editor/mods/editor-diff/changes/rows.js +133 -0
- package/plugins/editor/mods/editor-diff/changes/syntax.js +126 -0
- package/plugins/editor/mods/editor-diff/changes/tints.js +34 -0
- package/plugins/editor/mods/editor-diff/changes/words.js +114 -0
- package/plugins/editor/mods/editor-diff/main.js +1 -0
- package/plugins/editor/mods/editor-diff/mod.json +1 -0
- package/plugins/editor/mods/editor-diff/vendor/LICENSE-highlight.js.txt +29 -0
- package/plugins/editor/mods/editor-diff/vendor/highlight.js +13575 -0
- package/plugins/editor/mods/editor-files/LICENSE-herdr-file-icons.txt +201 -0
- package/plugins/editor/mods/editor-files/chevron-down.svg +14 -0
- package/plugins/editor/mods/editor-files/chevron-right.svg +14 -0
- package/plugins/editor/mods/editor-files/files/icon-table.js +2 -0
- package/plugins/editor/mods/editor-files/files/icons.js +27 -0
- package/plugins/editor/mods/editor-files/files/main.js +212 -0
- package/plugins/editor/mods/editor-files/files/tree.js +54 -0
- package/plugins/editor/mods/editor-files/icons/3d.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/LICENSE-material-icon-theme.txt +8 -0
- package/plugins/editor/mods/editor-files/icons/abap.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/abc.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/actionscript.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/ada.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/adobe-illustrator.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/adobe-illustrator_light.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/adobe-photoshop.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/adobe-photoshop_light.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/adobe-swc.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/adonis.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/advpl-include.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/advpl-ptm.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/advpl-tlpp.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/advpl.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/agent.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/amplify.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/android.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/angular-component.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/angular-directive.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/angular-guard.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/angular-interceptor.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/angular-pipe.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/angular-resolver.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/angular-service.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/angular.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/antlr.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/apiblueprint.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/apollo.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/applescript.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/apps-script.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/appveyor.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/appwrite.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/architecture.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/arduino.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/asciidoc.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/assembly.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/astro-config.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/astro.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/astyle.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/audio.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/aurelia.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/authors.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/auto.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/auto_light.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/autohotkey.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/autoit.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/azure-pipelines.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/azure.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/babel.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/ballerina.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/bashly-settings.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/bashly-settings_light.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/bashly-strings.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/bashly-strings_light.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/bashly.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/bazel.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/bbx.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/beancount.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/bench-js.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/bench-jsx.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/bench-ts.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/bibliography.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/bibtex-style.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/bicep.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/biome.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/bitbucket.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/bithound.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/blender.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/blink.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/blink_light.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/blitz.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/bower.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/brainfuck.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/browserlist.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/browserlist_light.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/bruno.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/buck.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/bucklescript.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/buildkite.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/bun.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/bun_light.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/c.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/c3.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/cabal.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/caddy.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/cadence.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/cairo.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/cake.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/capacitor.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/capnp.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/cbx.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/cds.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/certificate.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/changelog.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/chess.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/chess_light.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/chromatic.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/chrome.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/circleci.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/circleci_light.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/citation.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/clangd.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/claude.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/cline.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/clojure.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/cloudfoundry.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/cmake.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/coala.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/cobol.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/coconut.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/code-climate.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/code-climate_light.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/codecov.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/codeowners.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/coderabbit-ai.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/coffee.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/coldfusion.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/coloredpetrinets.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/command.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/commitizen.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/commitlint.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/concourse.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/conduct.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/console.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/container.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/contentlayer.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/context.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/contributing.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/controller.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/copilot.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/copilot_light.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/cpp.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/craco.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/credits.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/crystal.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/crystal_light.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/csharp.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/css-map.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/css.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/cucumber.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/cuda.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/cue.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/cursor.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/cursor_light.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/cypress.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/d.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/dart.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/dart_generated.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/database.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/deepsource.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/denizenscript.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/deno.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/deno_light.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/dependabot.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/dependencies-update.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/dhall.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/diff.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/dinophp.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/disc.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/django.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/dll.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/docker.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/doctex-installer.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/document.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/dotjs.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/drawio.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/drizzle.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/drone.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/drone_light.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/dtx.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/duc.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/dune.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/edge.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/editorconfig.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/ejs.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/elixir.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/elm.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/email.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/ember.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/epub.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/erlang.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/esbuild.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/eslint.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/excalidraw.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/exe.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/expo.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/expo_light.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/fastlane.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/favicon.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/figma.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/file.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/firebase.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/flash.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/flow.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-admin-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-admin.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-android-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-android.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-angular-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-angular.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-animation-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-animation.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-ansible-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-ansible.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-api-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-api.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-apollo-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-apollo.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-app-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-app.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-appwrite-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-appwrite.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-archive-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-archive.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-assembly-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-assembly.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-astro-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-astro.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-atom-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-atom.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-attachment-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-attachment.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-audio-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-audio.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-aurelia-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-aurelia.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-aws-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-aws.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-azure-pipelines-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-azure-pipelines.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-backup-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-backup.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-base-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-base.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-batch-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-batch.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-benchmark-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-benchmark.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-bibliography-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-bibliography.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-bicep-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-bicep.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-blender-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-blender.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-bloc-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-bloc.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-bluetooth-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-bluetooth.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-bower-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-bower.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-buildkite-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-buildkite.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-cart-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-cart.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-changesets-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-changesets.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-ci-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-ci.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-circleci-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-circleci.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-class-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-class.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-claude-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-claude.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-client-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-client.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-cline-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-cline.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-cloud-functions-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-cloud-functions.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-cloudflare-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-cloudflare.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-cluster-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-cluster.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-cobol-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-cobol.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-command-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-command.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-components-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-components.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-config-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-config.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-connection-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-connection.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-console-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-console.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-constant-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-constant.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-container-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-container.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-content-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-content.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-context-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-context.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-contract-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-contract.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-controller-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-controller.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-core-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-core.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-coverage-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-coverage.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-css-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-css.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-cue-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-cue.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-cursor-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-cursor-open_light.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-cursor.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-cursor_light.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-custom-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-custom.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-cypress-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-cypress.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-dal-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-dal.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-dart-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-dart.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-database-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-database.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-debug-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-debug.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-decorators-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-decorators.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-delta-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-delta.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-deprecated-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-deprecated.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-desktop-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-desktop.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-development-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-development.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-directive-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-directive.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-dist-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-dist.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-docker-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-docker.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-docs-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-docs.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-download-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-download.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-drizzle-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-drizzle.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-dump-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-dump.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-eas-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-eas.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-element-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-element.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-enum-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-enum.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-environment-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-environment.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-error-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-error.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-eslint-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-eslint.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-event-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-event.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-examples-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-examples.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-expo-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-expo.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-export-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-export.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-fastlane-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-fastlane.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-favicon-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-favicon.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-features-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-features.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-filter-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-filter.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-firebase-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-firebase.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-firestore-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-firestore.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-flow-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-flow.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-flutter-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-flutter.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-font-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-font.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-forgejo-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-forgejo.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-form-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-form.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-functions-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-functions.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-gamemaker-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-gamemaker.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-gemini-ai-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-gemini-ai.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-generator-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-generator.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-gh-workflows-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-gh-workflows.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-git-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-git.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-gitea-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-gitea-workflows-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-gitea-workflows.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-gitea.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-github-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-github.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-gitlab-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-gitlab.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-global-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-global.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-go-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-go.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-godot-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-godot.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-gradle-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-gradle.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-graphql-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-graphql.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-guard-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-guard.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-gulp-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-gulp.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-helm-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-helm.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-helper-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-helper.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-home-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-home.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-hook-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-hook.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-husky-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-husky.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-i18n-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-i18n.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-images-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-images.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-import-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-import.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-include-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-include.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-input-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-input.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-instructions-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-instructions.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-intellij-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-intellij-open_light.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-intellij.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-intellij_light.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-interceptor-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-interceptor.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-interface-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-interface.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-ios-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-ios.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-java-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-java.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-javascript-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-javascript.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-jinja-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-jinja-open_light.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-jinja.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-jinja_light.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-job-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-job.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-json-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-json.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-jupyter-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-jupyter.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-keys-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-keys.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-kotlin-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-kotlin.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-kubernetes-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-kubernetes.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-kusto-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-kusto.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-layout-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-layout.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-lefthook-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-lefthook.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-less-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-less.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-lib-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-lib.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-license-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-license.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-link-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-link.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-linux-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-linux.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-liquibase-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-liquibase.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-log-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-log.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-lottie-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-lottie.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-lua-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-lua.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-luau-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-luau.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-macos-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-macos.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-mail-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-mail.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-mappings-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-mappings.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-markdown-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-markdown.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-mercurial-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-mercurial.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-messages-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-messages.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-meta-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-meta.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-metro-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-metro.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-middleware-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-middleware.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-migrations-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-migrations.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-mjml-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-mjml.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-mobile-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-mobile.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-mock-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-mock.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-mojo-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-mojo.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-molecule-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-molecule.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-moon-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-moon.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-netlify-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-netlify.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-next-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-next.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-nginx-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-nginx.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-node-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-node.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-nuxt-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-nuxt.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-obsidian-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-obsidian.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-opencode-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-opencode.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-organism-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-organism.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-other-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-other.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-packages-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-packages.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-pdf-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-pdf.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-pdm-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-pdm.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-php-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-php.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-phpmailer-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-phpmailer.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-pipe-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-pipe.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-plastic-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-plastic.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-plugin-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-plugin.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-policy-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-policy.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-postman-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-postman.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-powershell-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-powershell.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-prisma-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-prisma.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-private-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-private.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-project-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-project.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-prompts-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-prompts.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-proto-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-proto.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-public-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-public.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-python-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-python.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-pytorch-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-pytorch.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-quasar-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-quasar.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-queue-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-queue.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-r-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-r.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-redis-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-redis.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-repository-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-repository.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-resolver-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-resolver.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-resource-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-resource.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-review-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-review.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-robot-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-robot.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-routes-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-routes.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-rules-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-rules.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-rust-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-rust.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-salt-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-salt.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-sandbox-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-sandbox.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-sass-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-sass.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-scala-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-scala.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-scons-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-scons.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-scrap-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-scrap.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-scripts-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-scripts.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-secure-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-secure.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-seeders-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-seeders.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-server-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-server.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-serverless-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-serverless.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-shader-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-shader.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-shared-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-shared.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-simulations-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-simulations.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-skills-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-skills.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-snapcraft-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-snapcraft.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-snippet-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-snippet.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-src-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-src-tauri-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-src-tauri.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-src.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-stack-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-stack.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-stencil-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-stencil.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-store-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-store.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-storybook-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-storybook.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-stylus-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-stylus.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-sublime-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-sublime.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-supabase-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-supabase.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-svelte-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-svelte.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-svg-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-svg.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-syntax-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-syntax.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-target-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-target.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-taskfile-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-taskfile.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-tasks-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-tasks.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-television-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-television.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-temp-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-temp.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-template-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-template.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-terraform-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-terraform.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-test-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-test.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-theme-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-theme.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-toc-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-toc.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-tools-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-tools.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-trash-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-trash.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-trigger-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-trigger.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-turborepo-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-turborepo.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-typescript-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-typescript.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-ui-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-ui.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-unity-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-unity.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-update-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-update.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-upload-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-upload.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-utils-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-utils.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-vercel-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-vercel.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-verdaccio-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-verdaccio.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-video-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-video.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-views-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-views.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-vm-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-vm.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-vscode-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-vscode.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-vue-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-vue.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-vuepress-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-vuepress.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-wakatime-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-wakatime.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-webpack-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-webpack.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-windows-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-windows.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-wordpress-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-wordpress.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-yarn-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-yarn.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-zeabur-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-zeabur.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-zed-open.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder-zed.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/folder.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/font.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/forth.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/fortran.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/foxpro.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/freemarker.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/fsharp.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/fusebox.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/gamemaker.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/garden.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/gatsby.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/gcp.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/gemfile.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/gemini-ai.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/gemini.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/git.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/github-sponsors.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/gitlab.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/gitpod.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/gleam.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/gnuplot.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/go-mod.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/go.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/godot-assets.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/godot.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/google.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/gradle.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/grafana-alloy.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/grain.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/graphcool.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/graphql.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/gridsome.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/groovy.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/grunt.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/gulp.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/h.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/hack.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/hadolint.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/haml.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/handlebars.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/happo.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/hardhat.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/harmonix.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/haskell.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/haxe.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/hcl.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/hcl_light.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/helm.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/heroku.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/hex.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/hip.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/histoire.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/hjson.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/horusec.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/hosts.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/hosts_light.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/hpp.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/html.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/http.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/huff.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/huff_light.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/hurl.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/husky.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/i18n.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/idris.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/ifanr-cloud.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/image.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/imba.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/installation.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/instructions.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/ionic.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/istanbul.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/jar.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/java.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/javaclass.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/javascript-map.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/javascript.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/jenkins.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/jest.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/jinja.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/jinja_light.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/jsconfig.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/json.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/json_schema.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/jsr.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/jsr_light.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/julia.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/jupyter.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/just.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/karma.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/kcl.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/key.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/keystatic.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/kivy.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/kl.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/knip.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/kotlin.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/kubernetes.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/kusto.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/label.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/laravel.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/latexmk.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/lbx.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/lean.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/lefthook.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/lerna.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/less.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/liara.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/lib.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/license.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/lighthouse.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/lilypond.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/lintstaged.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/liquid.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/lisp.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/livescript.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/lock.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/log.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/lolcode.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/lottie.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/lua.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/luau.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/lynx.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/lyric.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/macaulay2.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/makefile.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/markdoc-config.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/markdoc.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/markdown.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/markdownlint.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/markojs.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/mathematica.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/maven.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/mdsvex.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/mdx.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/mercurial.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/merlin.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/mermaid.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/meson.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/metro.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/minecraft-fabric.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/minecraft.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/mint.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/mist.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/mjml.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/mocha.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/modernizr.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/mojo.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/moon.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/moonscript.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/mrpack.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/mxml.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/nano-staged.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/nano-staged_light.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/ndst.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/nest.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/netlify.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/netlify_light.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/next.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/next_light.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/nextflow.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/nginx.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/nim.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/nix.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/nodejs.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/nodemon.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/npm.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/nuget.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/nunjucks.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/nuxt.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/nx.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/objective-c.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/objective-cpp.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/ocaml.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/odin.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/onnx.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/opa.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/opam.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/openapi.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/openapi_light.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/opencode.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/opencode_light.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/opentofu.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/opentofu_light.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/otne.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/oxc.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/packship.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/palette.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/panda.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/parcel.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/pascal.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/pawn.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/payload.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/payload_light.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/pdf.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/pdm.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/peg.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/percy.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/perl.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/php-cs-fixer.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/php.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/phpstan.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/phpunit.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/pinejs.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/pipeline.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/pkl.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/plastic.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/playwright.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/plop.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/pm2-ecosystem.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/pnpm.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/pnpm_light.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/poetry.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/postcss.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/posthtml.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/powerpoint.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/powershell.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/pre-commit.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/prettier.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/prisma.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/processing.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/prolog.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/prompt.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/proto.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/protractor.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/pug.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/puppet.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/puppeteer.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/purescript.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/python-misc.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/python.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/pytorch.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/qsharp.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/quarto.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/quasar.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/quokka.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/r.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/racket.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/raml.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/razor.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/rbxmk.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/rc.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/react.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/react_ts.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/readme.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/reason.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/red.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/regedit.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/remark.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/remix.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/remix_light.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/renovate.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/replit.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/rescript-interface.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/rescript.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/restql.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/riot.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/roadmap.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/roblox.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/robot.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/robots.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/rocket.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/rolldown.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/rollup.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/rome.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/routing.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/rspec.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/rstack.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/rubocop.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/rubocop_light.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/ruby.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/ruff.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/rust.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/salt.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/san.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/sas.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/sass.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/sbt.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/scala.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/scheme.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/scons.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/scons_light.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/screwdriver.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/search.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/semantic-release.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/semantic-release_light.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/semgrep.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/sentry.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/sequelize.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/serverless.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/settings.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/shader.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/shellcheck.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/shellcheck_light.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/simulink.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/siyuan.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/sketch.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/skill.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/slim.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/slint.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/slug.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/smarty.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/sml.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/snakemake.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/snapcraft.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/snowpack.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/snowpack_light.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/snyk.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/solidity.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/sonarcloud.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/spwn.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/stackblitz.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/stan.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/steadybit.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/stencil.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/stitches.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/stitches_light.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/storybook.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/stryker.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/sty.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/stylable.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/stylelint.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/stylelint_light.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/stylus.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/sublime.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/subtitles.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/supabase.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/svelte.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/svelte_js.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/svelte_ts.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/svg.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/svgo.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/svgr.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/swagger.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/sway.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/swc.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/swift.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/syncpack.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/table.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/tailwindcss.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/tape.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/taskfile.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/tauri.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/taze.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/tcl.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/teal.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/templ.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/template.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/terraform.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/test-js.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/test-jsx.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/test-ts.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/tex.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/textlint.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/tilt.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/tldraw.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/tldraw_light.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/tobi.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/tobimake.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/toc.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/todo.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/toml.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/toml_light.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/toon.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/travis.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/tree.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/trigger.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/tsconfig.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/tsdoc.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/tsdown.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/tsil.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/tune.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/turborepo.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/turborepo_light.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/twig.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/twine.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/typedoc.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/typescript-def.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/typescript.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/typst.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/uiua.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/umi.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/uml.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/uml_light.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/unity.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/unlicense.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/unocss.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/url.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/uv.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/vagrant.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/vala.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/vanilla-extract.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/varnish.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/vedic.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/velite.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/velocity.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/vercel.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/vercel_light.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/verdaccio.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/verified.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/verilog.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/verse.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/verse_light.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/vfl.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/video.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/vim.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/virtual.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/visualstudio.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/vite.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/vitest.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/vlang.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/vscode.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/vue-config.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/vue.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/wakatime.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/wakatime_light.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/wallaby.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/wally.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/warp.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/warp_light.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/watchman.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/webassembly.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/webhint.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/webpack.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/wepy.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/werf.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/windicss.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/wolframlanguage.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/word.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/wrangler.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/wxt.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/xaml.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/xmake.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/xml.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/yaml.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/yang.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/yarn.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/zeabur.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/zeabur_light.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/zig.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/zip.svg +1 -0
- package/plugins/editor/mods/editor-files/icons/zizmor.svg +1 -0
- package/plugins/editor/mods/editor-files/main.js +1 -0
- package/plugins/editor/mods/editor-files/mod.json +1 -0
|
@@ -0,0 +1,1148 @@
|
|
|
1
|
+
// The focused pane's repository: the current branch, the changed files with a commit box above a draggable divider (its lower panel, whose height is remembered, scrolls the Branches, Stashes, Worktrees and Graph sections); a click on a file shows it in the diff pane, a click on a branch switches to it, the branch row's buttons fetch, pull and push, a folding Stashes section lists the stashes ("+" stashes every pending change), a folding Worktrees section lists the repository's worktrees (a click shows or opens a space in one, "+" opens Herdr's worktree dialog), and a Graph section, folded at first and read only while open, draws the history with its lanes, ref labels and author, 200 commits at a time ("Load more"). A right-click on a branch, stash, worktree or commit opens a popup menu of that row's actions (switch, apply, pop, open, reset and the like, each with a copy of its name, path or SHA; the ones that lose work ask first). With `props().role` of "confirm" the same mod is that confirmation dialog, and with "menu" that popup menu.
|
|
2
|
+
import { View, div } from "gpui-kit";
|
|
3
|
+
import { v_flex, h_flex, v_resizable, resizable_panel, InputState, Input } from "gpui-base";
|
|
4
|
+
import { spaces, panes, focused, exec, run, shared, setShared, watchFolder, theme, props, openOverlay, closeOverlay } from "herdr";
|
|
5
|
+
import { arrowDirection, diffTarget, nextSelection, nextTargets, paneProps, panelLocation, totals, renamedKey, TARGETS_KEY, EARLIER_TARGETS_KEY } from "./target.js";
|
|
6
|
+
import { FOLDED_KEY, createPlan, groupBranches, isFolded, rowCounts, shortSha, toggleFolded } from "./branches.js";
|
|
7
|
+
import { CONFIRMED_KEY, deleteProps, nextSeq, parseConfirmProps, pendingRequest, removeWorktreeProps } from "./confirm.js";
|
|
8
|
+
import { progressChip } from "./progress.js";
|
|
9
|
+
import { FAILED, applyCommit, branchAtBlock, checkoutCommit, commitChanges, createBranch, createBranchAt, dropDialog, loadChanges, mergeBranch, renameBranch, noteOf, restoreFailure, restoreIndexed, runRequest, stashChanges, switchBranch, syncBranch } from "./ops.js";
|
|
10
|
+
import { baseName, removable, worktreeAction, worktreeLabel, worktreeMarkers } from "./worktrees.js";
|
|
11
|
+
import { PAGE, graphFolded, hasMore, layoutGraph, toggleGraph } from "./graph.js";
|
|
12
|
+
import { PICKED_KEY, branchMenu, commitMenu, menuProps, parseMenuProps, pendingPick, stashMenu, worktreeMenu, findBranch, menuHeight } from "./menus.js";
|
|
13
|
+
import { SPLIT_KEY, lowerPanelSize } from "./split.js";
|
|
14
|
+
import { emptyMessage } from "./status.js";
|
|
15
|
+
const colorsOf = (t) => Object.fromEntries(Object.entries(t).map(([name, v]) => [name, v.startsWith("#") ? v : "#808080"]));
|
|
16
|
+
let lastTerminal;
|
|
17
|
+
const location = () => {
|
|
18
|
+
const space = spaces().find(s => s.active), f = focused();
|
|
19
|
+
const pane = f?.pane ? panes().find(p => p.pane === f.pane) : undefined;
|
|
20
|
+
const on = f?.pane === null ? (f.terminal?.includes("/") ? (f.terminal.split("/")[0] ?? null) : null) : space?.machine ?? null;
|
|
21
|
+
const read = { cwd: pane?.cwd || f?.cwd || space?.folder, on };
|
|
22
|
+
const { at, last } = panelLocation(f, read, lastTerminal);
|
|
23
|
+
lastTerminal = last;
|
|
24
|
+
return at;
|
|
25
|
+
};
|
|
26
|
+
const key = () => JSON.stringify(location());
|
|
27
|
+
/** The graph cell's lane width and the row height, in px. */
|
|
28
|
+
const GRAPH_LANE = 12, GRAPH_ROW = 28;
|
|
29
|
+
const statColor = (status, t) => (status === "A" ? t["ansi2"] : status === "D" || status === "U" ? t["ansi1"] : t["blocked"]);
|
|
30
|
+
/** What the three branch row buttons show. */
|
|
31
|
+
const SYNC_BUTTONS = [
|
|
32
|
+
{ kind: "fetch", icon: "⟳", label: "Fetch", busy: "Fetching…" },
|
|
33
|
+
{ kind: "pull", icon: "⇣", label: "Pull", busy: "Pulling…" },
|
|
34
|
+
{ kind: "push", icon: "⇡", label: "Push", busy: "Pushing…" },
|
|
35
|
+
];
|
|
36
|
+
/** Creates the branch at `start` when one is given (returning the reason it did not run), else from HEAD by the plan's steps. */
|
|
37
|
+
const makeBranch = async (root, on, name, steps, start) => {
|
|
38
|
+
if (start !== undefined)
|
|
39
|
+
return createBranchAt(exec, root, on, name, start);
|
|
40
|
+
await createBranch(exec, root, on, steps);
|
|
41
|
+
return undefined;
|
|
42
|
+
};
|
|
43
|
+
const figure = (text, color) => div().text_size(11).text_color(color).child(text);
|
|
44
|
+
const header = (files, t) => {
|
|
45
|
+
const { add, del } = totals(files);
|
|
46
|
+
return h_flex().h(42).flex_none().px(14).gap(8).items_center().border_b(1).border_color(t["border"])
|
|
47
|
+
.child(div().font_semibold().child("Changes"))
|
|
48
|
+
.child(div().px(5).py(1).rounded(4).border_1().border_color(t["border"]).text_size(10).text_color(t["muted"]).child(`${files.length} files`))
|
|
49
|
+
.child(div().flex_1()).child(figure(`+${add}`, t["ansi2"])).child(figure(`−${del}`, t["ansi1"]));
|
|
50
|
+
};
|
|
51
|
+
/** How the note opens when git refuses a cherry-pick or a revert for a reason other than a conflict. */
|
|
52
|
+
const APPLY_REFUSAL = { "cherry-pick": "Cannot cherry-pick", revert: "Cannot revert" };
|
|
53
|
+
class Changes extends View {
|
|
54
|
+
files = [];
|
|
55
|
+
message = "";
|
|
56
|
+
handle;
|
|
57
|
+
input;
|
|
58
|
+
typing = false;
|
|
59
|
+
viewHeight = 0;
|
|
60
|
+
context;
|
|
61
|
+
root = null;
|
|
62
|
+
on = null;
|
|
63
|
+
watched;
|
|
64
|
+
loading = false;
|
|
65
|
+
busy = false;
|
|
66
|
+
committing = false;
|
|
67
|
+
syncing;
|
|
68
|
+
limited = false;
|
|
69
|
+
error = null;
|
|
70
|
+
note = null;
|
|
71
|
+
selected = null;
|
|
72
|
+
branches = [];
|
|
73
|
+
worktrees = [];
|
|
74
|
+
head;
|
|
75
|
+
/** The merge, cherry-pick or revert git left unfinished in the repository. */
|
|
76
|
+
progress;
|
|
77
|
+
naming = false;
|
|
78
|
+
/** The full sha the open name row creates its branch at; none for the "+" row, which branches from HEAD. */
|
|
79
|
+
startAt;
|
|
80
|
+
/** The local branch the open name row renames; none for a row that creates one. */
|
|
81
|
+
renaming;
|
|
82
|
+
nameFocused = false;
|
|
83
|
+
nameInput;
|
|
84
|
+
stashes = [];
|
|
85
|
+
commits = [];
|
|
86
|
+
rows = [];
|
|
87
|
+
graphPages = 1;
|
|
88
|
+
/** Whether a refresh was asked while a read was running, so one more runs when it finishes. */
|
|
89
|
+
pending = false;
|
|
90
|
+
graphWidth = 1;
|
|
91
|
+
stashing = false;
|
|
92
|
+
stashFocused = false;
|
|
93
|
+
stashInput;
|
|
94
|
+
handled = 0;
|
|
95
|
+
pickHandled = 0;
|
|
96
|
+
init(_props, cx) {
|
|
97
|
+
this.handle = cx.focus_handle();
|
|
98
|
+
this.input = InputState.new({ placeholder: "Commit message" });
|
|
99
|
+
this.input.on("change", (_e, cx) => {
|
|
100
|
+
const hadMessage = Boolean(this.message.trim());
|
|
101
|
+
this.message = this.input.value();
|
|
102
|
+
if (hadMessage !== Boolean(this.message.trim()))
|
|
103
|
+
cx.notify();
|
|
104
|
+
});
|
|
105
|
+
this.input.on("submit", (_e, cx) => this.commit(cx));
|
|
106
|
+
this.input.on("focus", (_e, cx) => { this.typing = true; cx.notify(); });
|
|
107
|
+
this.input.on("blur", (_e, cx) => { this.typing = false; cx.notify(); });
|
|
108
|
+
this.nameInput = InputState.new({ placeholder: "New branch name" });
|
|
109
|
+
this.nameInput.on("submit", (_e, cx) => this.create(cx));
|
|
110
|
+
this.nameInput.on("focus", () => { this.nameFocused = true; });
|
|
111
|
+
this.nameInput.on("blur", (_e, cx) => { this.nameFocused = false; if (!this.nameInput.value().trim())
|
|
112
|
+
this.closeNaming(cx); });
|
|
113
|
+
this.stashInput = InputState.new({ placeholder: "Stash message (optional)" });
|
|
114
|
+
this.stashInput.on("submit", (_e, cx) => this.stashChanges(cx));
|
|
115
|
+
this.stashInput.on("focus", () => { this.stashFocused = true; });
|
|
116
|
+
this.stashInput.on("blur", (_e, cx) => { this.stashFocused = false; if (!this.stashInput.value().trim())
|
|
117
|
+
this.closeStashing(cx); });
|
|
118
|
+
// A request already stored belongs to an earlier session; only later ones run.
|
|
119
|
+
this.handled = nextSeq(shared(CONFIRMED_KEY)) - 1;
|
|
120
|
+
this.pickHandled = nextSeq(shared(PICKED_KEY)) - 1;
|
|
121
|
+
this.refresh(cx);
|
|
122
|
+
cx.timer.every(10000, cx => this.refresh(cx));
|
|
123
|
+
}
|
|
124
|
+
watch(root, cx) {
|
|
125
|
+
if (this.on || this.watched === root)
|
|
126
|
+
return;
|
|
127
|
+
this.watched = root;
|
|
128
|
+
cx.spawn(async (cx) => {
|
|
129
|
+
try {
|
|
130
|
+
while (this.watched === root) {
|
|
131
|
+
await watchFolder(root);
|
|
132
|
+
if (this.watched === root)
|
|
133
|
+
this.refresh(cx);
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
catch {
|
|
137
|
+
this.watched = null;
|
|
138
|
+
}
|
|
139
|
+
});
|
|
140
|
+
}
|
|
141
|
+
resetContext(context) {
|
|
142
|
+
this.context = context;
|
|
143
|
+
this.root = null;
|
|
144
|
+
this.files = [];
|
|
145
|
+
this.selected = null;
|
|
146
|
+
this.branches = [];
|
|
147
|
+
this.worktrees = [];
|
|
148
|
+
this.stashes = [];
|
|
149
|
+
this.setGraph([], 1);
|
|
150
|
+
this.head = undefined;
|
|
151
|
+
this.progress = undefined;
|
|
152
|
+
this.leaveNaming();
|
|
153
|
+
this.leaveStashing();
|
|
154
|
+
this.message = "";
|
|
155
|
+
this.input.set_value("");
|
|
156
|
+
this.error = null;
|
|
157
|
+
this.note = null;
|
|
158
|
+
this.watched = null;
|
|
159
|
+
this.limited = false;
|
|
160
|
+
}
|
|
161
|
+
/** Keeps the commits read so far and the rows laid out from them; the lanes are computed over the whole list, so the earlier pages' rows stay. */
|
|
162
|
+
setGraph(commits, pages) {
|
|
163
|
+
this.commits = commits;
|
|
164
|
+
this.graphPages = pages;
|
|
165
|
+
this.rows = layoutGraph(commits);
|
|
166
|
+
this.graphWidth = Math.max(1, ...this.rows.map(r => r.width));
|
|
167
|
+
}
|
|
168
|
+
/** Takes a finished read into the panel: nothing for a stale read, the error for a folder outside a repository, else the files. */
|
|
169
|
+
apply(loaded, on, cx) {
|
|
170
|
+
if (loaded.kind === "stale")
|
|
171
|
+
return;
|
|
172
|
+
if (loaded.kind === "none") {
|
|
173
|
+
this.root = null;
|
|
174
|
+
this.files = [];
|
|
175
|
+
this.selected = null;
|
|
176
|
+
this.branches = [];
|
|
177
|
+
this.worktrees = [];
|
|
178
|
+
this.stashes = [];
|
|
179
|
+
this.setGraph([], 1);
|
|
180
|
+
this.head = undefined;
|
|
181
|
+
this.progress = undefined;
|
|
182
|
+
this.error = "Not a git repository";
|
|
183
|
+
return;
|
|
184
|
+
}
|
|
185
|
+
this.root = loaded.root;
|
|
186
|
+
this.on = on;
|
|
187
|
+
this.files = loaded.files;
|
|
188
|
+
this.limited = loaded.limited;
|
|
189
|
+
this.branches = loaded.branches;
|
|
190
|
+
this.worktrees = loaded.worktrees;
|
|
191
|
+
this.stashes = loaded.stashes;
|
|
192
|
+
if (loaded.commits !== undefined)
|
|
193
|
+
this.setGraph(loaded.commits, this.graphPages);
|
|
194
|
+
this.head = loaded.head;
|
|
195
|
+
this.progress = loaded.progress;
|
|
196
|
+
this.error = null;
|
|
197
|
+
this.watch(loaded.root, cx);
|
|
198
|
+
if (this.selected && !loaded.files.some(f => f.path === this.selected))
|
|
199
|
+
this.selected = null;
|
|
200
|
+
}
|
|
201
|
+
refresh(cx) {
|
|
202
|
+
if (this.loading)
|
|
203
|
+
this.pending = true;
|
|
204
|
+
if (this.loading || this.busy)
|
|
205
|
+
return;
|
|
206
|
+
const { cwd, on } = location(), context = key();
|
|
207
|
+
if (context !== this.context)
|
|
208
|
+
this.resetContext(context);
|
|
209
|
+
if (!cwd)
|
|
210
|
+
return;
|
|
211
|
+
this.loading = true;
|
|
212
|
+
cx.spawn(async (cx) => {
|
|
213
|
+
try {
|
|
214
|
+
this.apply(await loadChanges(exec, cwd, on, () => key() === context, graphFolded(shared(FOLDED_KEY)) ? 0 : this.graphPages), on, cx);
|
|
215
|
+
}
|
|
216
|
+
catch (e) {
|
|
217
|
+
if (key() === context)
|
|
218
|
+
this.error = String(e);
|
|
219
|
+
}
|
|
220
|
+
finally {
|
|
221
|
+
this.loading = false;
|
|
222
|
+
cx.notify();
|
|
223
|
+
if (this.pending) {
|
|
224
|
+
this.pending = false;
|
|
225
|
+
this.refresh(cx);
|
|
226
|
+
}
|
|
227
|
+
}
|
|
228
|
+
});
|
|
229
|
+
}
|
|
230
|
+
/** Hands the file to the diff pane through the focused space's entry in the shared targets, then opens that pane when none shows; when one already shows, focus stays in the list so the arrow keys keep working. */
|
|
231
|
+
show(path, cx) {
|
|
232
|
+
const f = focused();
|
|
233
|
+
if (!f || this.root === null)
|
|
234
|
+
return;
|
|
235
|
+
this.selected = path;
|
|
236
|
+
this.note = null;
|
|
237
|
+
const targets = nextTargets(renamedKey(shared(TARGETS_KEY), shared(EARLIER_TARGETS_KEY)), f.space, { root: this.root, path, on: this.on }, spaces().map(s => s.id));
|
|
238
|
+
const target = targets[f.space];
|
|
239
|
+
const tabs = spaces().find(s => s.id === f.space)?.tabs.map(t => t.id) ?? [];
|
|
240
|
+
const action = diffTarget({ panes: panes(), focused: { tab: f.tab, pane: f.pane }, tabs });
|
|
241
|
+
try {
|
|
242
|
+
setShared(TARGETS_KEY, targets);
|
|
243
|
+
if (action?.kind === "focus")
|
|
244
|
+
this.handle.focus();
|
|
245
|
+
else if (action?.kind === "split")
|
|
246
|
+
run("pane.split", { direction: "right", pane: action.pane, mod: "editor-diff", props: paneProps(f.space, target) });
|
|
247
|
+
else if (action?.kind === "tab")
|
|
248
|
+
run("tab.new", { mod: "editor-diff", props: paneProps(f.space, target) });
|
|
249
|
+
}
|
|
250
|
+
catch (e) {
|
|
251
|
+
this.note = `Cannot open the diff: ${String(e)}`;
|
|
252
|
+
}
|
|
253
|
+
cx.notify();
|
|
254
|
+
}
|
|
255
|
+
/** Whether no read or git command is running and the panel still shows the folder it loaded. */
|
|
256
|
+
idle() {
|
|
257
|
+
return !this.busy && !this.loading && this.context === key();
|
|
258
|
+
}
|
|
259
|
+
/** Whether a commit can start: a message, a repository, and no read or commit running. */
|
|
260
|
+
ready() {
|
|
261
|
+
return Boolean(this.message.trim() && this.root !== null && !this.busy && !this.loading);
|
|
262
|
+
}
|
|
263
|
+
commit(cx) {
|
|
264
|
+
if (!this.ready() || this.context !== key())
|
|
265
|
+
return;
|
|
266
|
+
const root = this.root, on = this.on, context = this.context, message = this.message.trim();
|
|
267
|
+
this.busy = true;
|
|
268
|
+
this.committing = true;
|
|
269
|
+
this.note = null;
|
|
270
|
+
cx.spawn(async (cx) => {
|
|
271
|
+
try {
|
|
272
|
+
await commitChanges(exec, root, on, message);
|
|
273
|
+
if (key() === context) {
|
|
274
|
+
this.message = "";
|
|
275
|
+
this.input.set_value("");
|
|
276
|
+
}
|
|
277
|
+
}
|
|
278
|
+
catch (e) {
|
|
279
|
+
if (key() === context)
|
|
280
|
+
this.note = `Commit failed: ${String(e)}`;
|
|
281
|
+
}
|
|
282
|
+
finally {
|
|
283
|
+
this.busy = false;
|
|
284
|
+
this.committing = false;
|
|
285
|
+
this.refresh(cx);
|
|
286
|
+
cx.notify();
|
|
287
|
+
}
|
|
288
|
+
});
|
|
289
|
+
cx.notify();
|
|
290
|
+
}
|
|
291
|
+
/** Switches to the branch unless a tracked file has changes, which `git switch` would carry or refuse; the reason shows in the note. */
|
|
292
|
+
pick(branch, cx) {
|
|
293
|
+
if (this.root === null || !this.idle())
|
|
294
|
+
return;
|
|
295
|
+
const root = this.root, on = this.on, context = this.context, branches = this.branches;
|
|
296
|
+
this.busy = true;
|
|
297
|
+
this.note = null;
|
|
298
|
+
cx.spawn(async (cx) => {
|
|
299
|
+
try {
|
|
300
|
+
const blocked = await switchBranch(exec, root, on, branch, branches);
|
|
301
|
+
if (blocked !== undefined && key() === context)
|
|
302
|
+
this.note = blocked;
|
|
303
|
+
}
|
|
304
|
+
catch (e) {
|
|
305
|
+
if (key() === context)
|
|
306
|
+
this.note = `Switch failed: ${String(e)}`;
|
|
307
|
+
}
|
|
308
|
+
finally {
|
|
309
|
+
this.busy = false;
|
|
310
|
+
this.refresh(cx);
|
|
311
|
+
cx.notify();
|
|
312
|
+
}
|
|
313
|
+
});
|
|
314
|
+
cx.notify();
|
|
315
|
+
}
|
|
316
|
+
/** Asks before deleting a local branch that is not the current one. */
|
|
317
|
+
askDelete(branch) {
|
|
318
|
+
if (this.root === null || !this.idle() || branch.remote !== undefined || branch.current)
|
|
319
|
+
return;
|
|
320
|
+
openOverlay({ mod: "editor-changes", kind: "dialog", modal: true, width: 420, height: 170, props: deleteProps({ root: this.root, on: this.on, name: branch.name }) });
|
|
321
|
+
}
|
|
322
|
+
/** Opens the popup menu of a row at the pointer; it runs nothing itself, its pick comes back through the shared key. */
|
|
323
|
+
openMenu(target, items) {
|
|
324
|
+
if (this.root === null || !this.idle())
|
|
325
|
+
return;
|
|
326
|
+
openOverlay({ mod: "editor-changes", kind: "popup", width: 220, height: menuHeight(items.length), props: menuProps({ root: this.root, on: this.on, target, items }) });
|
|
327
|
+
}
|
|
328
|
+
/** Shows the space that has the worktree's folder, else opens one there. */
|
|
329
|
+
openWorktree(w, cx) {
|
|
330
|
+
this.note = null;
|
|
331
|
+
const action = worktreeAction(spaces(), w.path, this.on);
|
|
332
|
+
try {
|
|
333
|
+
if (action.kind === "select")
|
|
334
|
+
run("space.select", { id: action.id });
|
|
335
|
+
else
|
|
336
|
+
run("space.new", { folder: action.folder, ...action.machine === undefined ? {} : { machine: action.machine } });
|
|
337
|
+
}
|
|
338
|
+
catch (e) {
|
|
339
|
+
this.note = `Cannot open the worktree: ${String(e)}`;
|
|
340
|
+
}
|
|
341
|
+
cx.notify();
|
|
342
|
+
}
|
|
343
|
+
/** Opens Herdr's own dialog that creates a worktree for the focused space. */
|
|
344
|
+
addWorktree(cx) {
|
|
345
|
+
const space = focused()?.space;
|
|
346
|
+
if (space === undefined) {
|
|
347
|
+
this.note = "Select a space first";
|
|
348
|
+
cx.notify();
|
|
349
|
+
return;
|
|
350
|
+
}
|
|
351
|
+
this.note = null;
|
|
352
|
+
try {
|
|
353
|
+
openOverlay({ mod: "worktree", kind: "dialog", width: 440, height: 260, props: { space, action: "new" } });
|
|
354
|
+
}
|
|
355
|
+
catch (e) {
|
|
356
|
+
this.note = `Cannot open the worktree dialog: ${String(e)}`;
|
|
357
|
+
}
|
|
358
|
+
cx.notify();
|
|
359
|
+
}
|
|
360
|
+
/** Asks before removing a linked worktree that is not the one shown and not locked. */
|
|
361
|
+
askRemove(w) {
|
|
362
|
+
if (this.root === null || !this.idle() || !removable(w))
|
|
363
|
+
return;
|
|
364
|
+
openOverlay({ mod: "editor-changes", kind: "dialog", modal: true, width: 420, height: 170, props: removeWorktreeProps({ root: this.root, on: this.on, path: w.path, ...w.branch === undefined ? {} : { branch: w.branch } }) });
|
|
365
|
+
}
|
|
366
|
+
/** Applies a stash by its sha, or pops it by its position after checking the position still names that sha; when git refuses to restore the staged state, a dialog asks before retrying without it. The stash list refreshes after. */
|
|
367
|
+
restore(kind, stash, cx) {
|
|
368
|
+
if (this.root === null || !this.idle())
|
|
369
|
+
return;
|
|
370
|
+
const root = this.root, on = this.on, context = this.context;
|
|
371
|
+
this.busy = true;
|
|
372
|
+
this.note = null;
|
|
373
|
+
cx.spawn(async (cx) => {
|
|
374
|
+
try {
|
|
375
|
+
await restoreIndexed(exec, root, on, kind, stash);
|
|
376
|
+
}
|
|
377
|
+
catch (e) {
|
|
378
|
+
if (key() === context) {
|
|
379
|
+
const failure = restoreFailure(kind, { root, on, ...stash }, e);
|
|
380
|
+
if (failure.kind === "dialog")
|
|
381
|
+
openOverlay({ mod: "editor-changes", kind: "dialog", modal: true, width: 420, height: 170, props: failure.props });
|
|
382
|
+
else
|
|
383
|
+
this.note = failure.text;
|
|
384
|
+
}
|
|
385
|
+
}
|
|
386
|
+
finally {
|
|
387
|
+
this.busy = false;
|
|
388
|
+
this.refresh(cx);
|
|
389
|
+
cx.notify();
|
|
390
|
+
}
|
|
391
|
+
});
|
|
392
|
+
cx.notify();
|
|
393
|
+
}
|
|
394
|
+
/** Opens the dialog that asks before dropping the stash, naming the files it holds. */
|
|
395
|
+
askDrop(stash, cx) {
|
|
396
|
+
if (this.root === null || !this.idle())
|
|
397
|
+
return;
|
|
398
|
+
const root = this.root, on = this.on, context = this.context;
|
|
399
|
+
this.busy = true;
|
|
400
|
+
this.note = null;
|
|
401
|
+
cx.spawn(async (cx) => {
|
|
402
|
+
try {
|
|
403
|
+
openOverlay({ mod: "editor-changes", kind: "dialog", modal: true, width: 420, height: 170, props: await dropDialog(exec, root, on, stash) });
|
|
404
|
+
}
|
|
405
|
+
catch (e) {
|
|
406
|
+
if (key() === context)
|
|
407
|
+
this.note = `Cannot drop the stash: ${String(e)}`;
|
|
408
|
+
}
|
|
409
|
+
finally {
|
|
410
|
+
this.busy = false;
|
|
411
|
+
this.refresh(cx);
|
|
412
|
+
cx.notify();
|
|
413
|
+
}
|
|
414
|
+
});
|
|
415
|
+
cx.notify();
|
|
416
|
+
}
|
|
417
|
+
/** Opens the message row, unless there is nothing to stash. */
|
|
418
|
+
openStashing(cx) {
|
|
419
|
+
if (this.files.length === 0) {
|
|
420
|
+
this.note = "No changes to stash";
|
|
421
|
+
cx.notify();
|
|
422
|
+
return;
|
|
423
|
+
}
|
|
424
|
+
this.stashing = true;
|
|
425
|
+
this.note = null;
|
|
426
|
+
if (isFolded(shared(FOLDED_KEY), "stashes"))
|
|
427
|
+
this.toggle("stashes", cx);
|
|
428
|
+
this.stashInput.focus();
|
|
429
|
+
cx.notify();
|
|
430
|
+
}
|
|
431
|
+
/** Closes the message row; when its input has focus, focus returns to the list so the arrow keys work again. */
|
|
432
|
+
leaveStashing() {
|
|
433
|
+
this.stashing = false;
|
|
434
|
+
this.stashInput.set_value("");
|
|
435
|
+
if (!this.stashFocused)
|
|
436
|
+
return;
|
|
437
|
+
this.stashFocused = false;
|
|
438
|
+
this.handle.focus();
|
|
439
|
+
}
|
|
440
|
+
closeStashing(cx) {
|
|
441
|
+
this.leaveStashing();
|
|
442
|
+
cx.notify();
|
|
443
|
+
}
|
|
444
|
+
/** Stashes every pending change, untracked files included, with the typed message; git's refusal stays in the row's note. */
|
|
445
|
+
stashChanges(cx) {
|
|
446
|
+
if (this.root === null || !this.idle())
|
|
447
|
+
return;
|
|
448
|
+
const root = this.root, on = this.on, context = this.context, message = this.stashInput.value();
|
|
449
|
+
this.busy = true;
|
|
450
|
+
this.note = null;
|
|
451
|
+
cx.spawn(async (cx) => {
|
|
452
|
+
try {
|
|
453
|
+
await stashChanges(exec, root, on, message);
|
|
454
|
+
if (key() === context)
|
|
455
|
+
this.leaveStashing();
|
|
456
|
+
}
|
|
457
|
+
catch (e) {
|
|
458
|
+
if (key() === context)
|
|
459
|
+
this.note = `Cannot stash the changes: ${String(e)}`;
|
|
460
|
+
}
|
|
461
|
+
finally {
|
|
462
|
+
this.busy = false;
|
|
463
|
+
this.refresh(cx);
|
|
464
|
+
cx.notify();
|
|
465
|
+
}
|
|
466
|
+
});
|
|
467
|
+
cx.notify();
|
|
468
|
+
}
|
|
469
|
+
/** Runs a fetch, pull or push for the current branch; the buttons stay disabled until it ends and the view refreshes after. */
|
|
470
|
+
sync(kind, cx) {
|
|
471
|
+
const branch = this.branches.find(b => b.current);
|
|
472
|
+
if (this.root === null || branch === undefined || !this.idle())
|
|
473
|
+
return;
|
|
474
|
+
const root = this.root, on = this.on, context = this.context;
|
|
475
|
+
this.busy = true;
|
|
476
|
+
this.syncing = kind;
|
|
477
|
+
this.note = null;
|
|
478
|
+
cx.spawn(async (cx) => {
|
|
479
|
+
try {
|
|
480
|
+
const publish = await syncBranch(exec, kind, root, on, branch);
|
|
481
|
+
if (publish !== undefined)
|
|
482
|
+
openOverlay({ mod: "editor-changes", kind: "dialog", modal: true, width: 420, height: 170, props: publish });
|
|
483
|
+
}
|
|
484
|
+
catch (e) {
|
|
485
|
+
if (key() === context)
|
|
486
|
+
this.note = `${SYNC_BUTTONS.find(b => b.kind === kind).label} failed: ${String(e)}`;
|
|
487
|
+
}
|
|
488
|
+
finally {
|
|
489
|
+
this.busy = false;
|
|
490
|
+
this.syncing = undefined;
|
|
491
|
+
this.refresh(cx);
|
|
492
|
+
cx.notify();
|
|
493
|
+
}
|
|
494
|
+
});
|
|
495
|
+
cx.notify();
|
|
496
|
+
}
|
|
497
|
+
/** Runs each confirmed request once, for this view's repository only; a request that arrives while a command runs waits for the next render. */
|
|
498
|
+
takeRequest(cx) {
|
|
499
|
+
const request = pendingRequest(shared(CONFIRMED_KEY), this.handled);
|
|
500
|
+
if (request === undefined)
|
|
501
|
+
return;
|
|
502
|
+
const { root, on } = request.action;
|
|
503
|
+
if (root !== this.root || on !== this.on) {
|
|
504
|
+
this.handled = request.seq;
|
|
505
|
+
return;
|
|
506
|
+
}
|
|
507
|
+
if (!this.idle())
|
|
508
|
+
return;
|
|
509
|
+
this.handled = request.seq;
|
|
510
|
+
this.runAction(request.action, cx);
|
|
511
|
+
}
|
|
512
|
+
/** Runs a confirmed or chosen action; a hard reset opens its dialog instead of running. */
|
|
513
|
+
runAction(action, cx) {
|
|
514
|
+
const context = this.context, current = this.branches.find(b => b.current)?.name;
|
|
515
|
+
this.busy = true;
|
|
516
|
+
this.note = null;
|
|
517
|
+
cx.spawn(async (cx) => {
|
|
518
|
+
try {
|
|
519
|
+
const again = await runRequest(exec, action, current);
|
|
520
|
+
if (again !== undefined)
|
|
521
|
+
openOverlay({ mod: "editor-changes", kind: "dialog", modal: true, width: 420, height: 170, props: again });
|
|
522
|
+
}
|
|
523
|
+
catch (e) {
|
|
524
|
+
if (key() === context)
|
|
525
|
+
this.note = noteOf(FAILED[action.kind], e);
|
|
526
|
+
}
|
|
527
|
+
finally {
|
|
528
|
+
this.busy = false;
|
|
529
|
+
this.refresh(cx);
|
|
530
|
+
cx.notify();
|
|
531
|
+
}
|
|
532
|
+
});
|
|
533
|
+
}
|
|
534
|
+
/** Dispatches each menu pick once, for this view's repository only, to the handler a click or a dialog already uses; a pick that arrives while a command runs waits for the next render. */
|
|
535
|
+
takePick(cx) {
|
|
536
|
+
const picked = pendingPick(shared(PICKED_KEY), this.pickHandled);
|
|
537
|
+
if (picked === undefined)
|
|
538
|
+
return;
|
|
539
|
+
const { root, on } = picked.pick;
|
|
540
|
+
if (root !== this.root || on !== this.on) {
|
|
541
|
+
this.pickHandled = picked.seq;
|
|
542
|
+
return;
|
|
543
|
+
}
|
|
544
|
+
if (!this.idle())
|
|
545
|
+
return;
|
|
546
|
+
this.pickHandled = picked.seq;
|
|
547
|
+
this.runPick(picked.pick, cx);
|
|
548
|
+
}
|
|
549
|
+
/** Runs the handler of the picked item, when the row it was picked on is still listed. */
|
|
550
|
+
runPick({ target, item, root, on }, cx) {
|
|
551
|
+
const handlers = this.handlersOf(target, { root, on }, cx);
|
|
552
|
+
if (handlers !== undefined && Object.hasOwn(handlers, item))
|
|
553
|
+
handlers[item]?.();
|
|
554
|
+
}
|
|
555
|
+
/** Detaches HEAD at the commit unless a tracked file has changes; the reason shows in the note. */
|
|
556
|
+
checkout(sha, cx) {
|
|
557
|
+
if (this.root === null || !this.idle())
|
|
558
|
+
return;
|
|
559
|
+
const root = this.root, on = this.on, context = this.context;
|
|
560
|
+
this.busy = true;
|
|
561
|
+
this.note = null;
|
|
562
|
+
cx.spawn(async (cx) => {
|
|
563
|
+
try {
|
|
564
|
+
const blocked = await checkoutCommit(exec, root, on, sha);
|
|
565
|
+
if (blocked !== undefined && key() === context)
|
|
566
|
+
this.note = blocked;
|
|
567
|
+
}
|
|
568
|
+
catch (e) {
|
|
569
|
+
if (key() === context)
|
|
570
|
+
this.note = `Check out failed: ${String(e)}`;
|
|
571
|
+
}
|
|
572
|
+
finally {
|
|
573
|
+
this.busy = false;
|
|
574
|
+
this.refresh(cx);
|
|
575
|
+
cx.notify();
|
|
576
|
+
}
|
|
577
|
+
});
|
|
578
|
+
cx.notify();
|
|
579
|
+
}
|
|
580
|
+
/** Cherry-picks or reverts the commit unless a tracked file has changes; the reason, or the note of a conflict git left in the repository, shows in the note. */
|
|
581
|
+
applyCommit(kind, sha, cx) {
|
|
582
|
+
if (this.root === null || !this.idle())
|
|
583
|
+
return;
|
|
584
|
+
const root = this.root, on = this.on, context = this.context;
|
|
585
|
+
this.busy = true;
|
|
586
|
+
this.note = null;
|
|
587
|
+
cx.spawn(async (cx) => {
|
|
588
|
+
try {
|
|
589
|
+
const note = await applyCommit(exec, root, on, kind, sha);
|
|
590
|
+
if (note !== undefined && key() === context)
|
|
591
|
+
this.note = note;
|
|
592
|
+
}
|
|
593
|
+
catch (e) {
|
|
594
|
+
if (key() === context)
|
|
595
|
+
this.note = `${APPLY_REFUSAL[kind]}: ${String(e)}`;
|
|
596
|
+
}
|
|
597
|
+
finally {
|
|
598
|
+
this.busy = false;
|
|
599
|
+
this.refresh(cx);
|
|
600
|
+
cx.notify();
|
|
601
|
+
}
|
|
602
|
+
});
|
|
603
|
+
cx.notify();
|
|
604
|
+
}
|
|
605
|
+
/** Opens the name row at the commit unless a tracked file has changes; then the reason shows in the note and the row stays closed. */
|
|
606
|
+
branchHere(sha, cx) {
|
|
607
|
+
if (this.root === null || !this.idle())
|
|
608
|
+
return;
|
|
609
|
+
const root = this.root, on = this.on, context = this.context;
|
|
610
|
+
this.busy = true;
|
|
611
|
+
this.note = null;
|
|
612
|
+
cx.spawn(async (cx) => {
|
|
613
|
+
try {
|
|
614
|
+
const blocked = await branchAtBlock(exec, root, on, sha);
|
|
615
|
+
if (key() === context) {
|
|
616
|
+
if (blocked === undefined)
|
|
617
|
+
this.openNaming(cx, sha);
|
|
618
|
+
else
|
|
619
|
+
this.refuseBranchHere(sha, blocked);
|
|
620
|
+
}
|
|
621
|
+
}
|
|
622
|
+
catch (e) {
|
|
623
|
+
if (key() === context)
|
|
624
|
+
this.refuseBranchHere(sha, `Cannot create the branch: ${String(e)}`);
|
|
625
|
+
}
|
|
626
|
+
finally {
|
|
627
|
+
this.busy = false;
|
|
628
|
+
this.refresh(cx);
|
|
629
|
+
cx.notify();
|
|
630
|
+
}
|
|
631
|
+
});
|
|
632
|
+
cx.notify();
|
|
633
|
+
}
|
|
634
|
+
/** Shows why the branch cannot start at `sha`; a name row still open at another commit closes, so the row never names a commit the note does not. */
|
|
635
|
+
refuseBranchHere(sha, text) {
|
|
636
|
+
if (this.naming && this.startAt !== sha)
|
|
637
|
+
this.leaveNaming();
|
|
638
|
+
this.note = text;
|
|
639
|
+
}
|
|
640
|
+
/** The handler of each item id of the row's menu, none when the row is no longer listed. */
|
|
641
|
+
handlersOf(target, at, cx) {
|
|
642
|
+
if (target.kind === "branch")
|
|
643
|
+
return this.branchHandlers(target, cx);
|
|
644
|
+
if (target.kind === "stash")
|
|
645
|
+
return this.stashHandlers(target.sha, cx);
|
|
646
|
+
if (target.kind === "worktree")
|
|
647
|
+
return this.worktreeHandlers(target.path, cx);
|
|
648
|
+
const reset = (mode) => () => this.runAction({ kind: "reset", ...at, sha: target.sha, mode }, cx);
|
|
649
|
+
const commit = { "copy-sha": () => cx.write_to_clipboard(target.sha), "checkout": () => this.checkout(target.sha, cx), "branch-here": () => this.branchHere(target.sha, cx), "cherry-pick": () => this.applyCommit("cherry-pick", target.sha, cx), "revert": () => this.applyCommit("revert", target.sha, cx), "reset-soft": reset("soft"), "reset-mixed": reset("mixed"), "reset-hard": reset("hard") };
|
|
650
|
+
return commit;
|
|
651
|
+
}
|
|
652
|
+
branchHandlers(target, cx) {
|
|
653
|
+
const branch = findBranch(this.branches, target);
|
|
654
|
+
return branch && {
|
|
655
|
+
switch: () => this.pick(branch, cx),
|
|
656
|
+
merge: () => this.merge(branch, cx),
|
|
657
|
+
rename: () => this.openRename(branch, cx),
|
|
658
|
+
"copy-name": () => cx.write_to_clipboard(branch.name),
|
|
659
|
+
delete: () => this.askDelete(branch),
|
|
660
|
+
};
|
|
661
|
+
}
|
|
662
|
+
/** Merges the branch into the current one unless a tracked file has changes; the reason, or the note of a conflict git left in the repository, shows in the note. */
|
|
663
|
+
merge(branch, cx) {
|
|
664
|
+
if (this.root === null || !this.idle())
|
|
665
|
+
return;
|
|
666
|
+
const root = this.root, on = this.on, context = this.context;
|
|
667
|
+
this.busy = true;
|
|
668
|
+
this.note = null;
|
|
669
|
+
cx.spawn(async (cx) => {
|
|
670
|
+
try {
|
|
671
|
+
const note = await mergeBranch(exec, root, on, branch.name);
|
|
672
|
+
if (note !== undefined && key() === context)
|
|
673
|
+
this.note = note;
|
|
674
|
+
}
|
|
675
|
+
catch (e) {
|
|
676
|
+
if (key() === context)
|
|
677
|
+
this.note = `Cannot merge: ${String(e)}`;
|
|
678
|
+
}
|
|
679
|
+
finally {
|
|
680
|
+
this.busy = false;
|
|
681
|
+
this.refresh(cx);
|
|
682
|
+
cx.notify();
|
|
683
|
+
}
|
|
684
|
+
});
|
|
685
|
+
cx.notify();
|
|
686
|
+
}
|
|
687
|
+
/** Opens the name row prefilled with the branch's name; Enter renames it. */
|
|
688
|
+
openRename(branch, cx) {
|
|
689
|
+
this.openNaming(cx);
|
|
690
|
+
this.renaming = branch.name;
|
|
691
|
+
this.nameInput.set_value(branch.name);
|
|
692
|
+
}
|
|
693
|
+
/** Renames the branch the open row names; an unchanged name closes the row, a refused name stays in it with the reason. */
|
|
694
|
+
rename(old, cx) {
|
|
695
|
+
if (this.root === null || !this.idle())
|
|
696
|
+
return;
|
|
697
|
+
const root = this.root, on = this.on, context = this.context, name = this.nameInput.value();
|
|
698
|
+
this.busy = true;
|
|
699
|
+
this.note = null;
|
|
700
|
+
cx.spawn(async (cx) => {
|
|
701
|
+
try {
|
|
702
|
+
const reason = await renameBranch(exec, root, on, old, name);
|
|
703
|
+
if (key() === context)
|
|
704
|
+
this.endNaming(reason);
|
|
705
|
+
}
|
|
706
|
+
catch (e) {
|
|
707
|
+
if (key() === context)
|
|
708
|
+
this.note = `Cannot rename the branch: ${String(e)}`;
|
|
709
|
+
}
|
|
710
|
+
finally {
|
|
711
|
+
this.busy = false;
|
|
712
|
+
this.refresh(cx);
|
|
713
|
+
cx.notify();
|
|
714
|
+
}
|
|
715
|
+
});
|
|
716
|
+
cx.notify();
|
|
717
|
+
}
|
|
718
|
+
stashHandlers(sha, cx) {
|
|
719
|
+
const stash = this.stashes.find(s => s.sha === sha);
|
|
720
|
+
return stash && { apply: () => this.restore("apply", stash, cx), pop: () => this.restore("pop", stash, cx), drop: () => this.askDrop(stash, cx) };
|
|
721
|
+
}
|
|
722
|
+
worktreeHandlers(path, cx) {
|
|
723
|
+
const worktree = this.worktrees.find(w => w.path === path);
|
|
724
|
+
return worktree && { open: () => this.openWorktree(worktree, cx), "copy-path": () => cx.write_to_clipboard(worktree.path), remove: () => this.askRemove(worktree) };
|
|
725
|
+
}
|
|
726
|
+
/** Opens the name row; with `start` the branch is created at that commit, without it from HEAD. */
|
|
727
|
+
openNaming(cx, start) {
|
|
728
|
+
this.naming = true;
|
|
729
|
+
this.note = null;
|
|
730
|
+
this.startAt = start;
|
|
731
|
+
this.renaming = undefined;
|
|
732
|
+
if (isFolded(shared(FOLDED_KEY), "branches"))
|
|
733
|
+
this.toggle("branches", cx);
|
|
734
|
+
this.nameInput.focus();
|
|
735
|
+
cx.notify();
|
|
736
|
+
}
|
|
737
|
+
/** Closes the name row; when its input has focus, focus returns to the list so the arrow keys work again. */
|
|
738
|
+
leaveNaming() {
|
|
739
|
+
this.naming = false;
|
|
740
|
+
this.startAt = undefined;
|
|
741
|
+
this.renaming = undefined;
|
|
742
|
+
this.nameInput.set_value("");
|
|
743
|
+
if (!this.nameFocused)
|
|
744
|
+
return;
|
|
745
|
+
this.nameFocused = false;
|
|
746
|
+
this.handle.focus();
|
|
747
|
+
}
|
|
748
|
+
closeNaming(cx) {
|
|
749
|
+
this.leaveNaming();
|
|
750
|
+
cx.notify();
|
|
751
|
+
}
|
|
752
|
+
/** Closes the name row once the branch exists; when it was not created, keeps the row and shows why. */
|
|
753
|
+
endNaming(reason) {
|
|
754
|
+
if (reason === undefined)
|
|
755
|
+
this.leaveNaming();
|
|
756
|
+
else
|
|
757
|
+
this.note = reason;
|
|
758
|
+
}
|
|
759
|
+
/** Creates the named branch (at the remembered commit, else from HEAD) and switches to it; a start commit with tracked changes keeps the row and shows the reason; an empty name closes the row, and a name git rejects stays in the row with git's message. */
|
|
760
|
+
create(cx) {
|
|
761
|
+
if (this.renaming !== undefined) {
|
|
762
|
+
this.rename(this.renaming, cx);
|
|
763
|
+
return;
|
|
764
|
+
}
|
|
765
|
+
const name = this.nameInput.value();
|
|
766
|
+
if (!name.trim()) {
|
|
767
|
+
this.closeNaming(cx);
|
|
768
|
+
return;
|
|
769
|
+
}
|
|
770
|
+
if (this.root === null || !this.idle())
|
|
771
|
+
return;
|
|
772
|
+
const plan = createPlan(name);
|
|
773
|
+
if (plan.kind === "refused") {
|
|
774
|
+
this.note = plan.message;
|
|
775
|
+
cx.notify();
|
|
776
|
+
return;
|
|
777
|
+
}
|
|
778
|
+
if (plan.kind !== "run")
|
|
779
|
+
return;
|
|
780
|
+
const root = this.root, on = this.on, context = this.context, start = this.startAt;
|
|
781
|
+
this.busy = true;
|
|
782
|
+
this.note = null;
|
|
783
|
+
cx.spawn(async (cx) => {
|
|
784
|
+
try {
|
|
785
|
+
const blocked = await makeBranch(root, on, name, plan.steps, start);
|
|
786
|
+
if (key() === context)
|
|
787
|
+
this.endNaming(blocked);
|
|
788
|
+
}
|
|
789
|
+
catch (e) {
|
|
790
|
+
if (key() === context)
|
|
791
|
+
this.note = `Cannot create the branch: ${String(e)}`;
|
|
792
|
+
}
|
|
793
|
+
finally {
|
|
794
|
+
this.busy = false;
|
|
795
|
+
this.refresh(cx);
|
|
796
|
+
cx.notify();
|
|
797
|
+
}
|
|
798
|
+
});
|
|
799
|
+
cx.notify();
|
|
800
|
+
}
|
|
801
|
+
toggle(id, cx) {
|
|
802
|
+
try {
|
|
803
|
+
setShared(FOLDED_KEY, id === "graph" ? toggleGraph(shared(FOLDED_KEY)) : toggleFolded(shared(FOLDED_KEY), id));
|
|
804
|
+
}
|
|
805
|
+
catch (e) {
|
|
806
|
+
this.note = `Cannot keep the folded state: ${String(e)}`;
|
|
807
|
+
}
|
|
808
|
+
if (id === "graph" && !graphFolded(shared(FOLDED_KEY)))
|
|
809
|
+
this.refresh(cx);
|
|
810
|
+
cx.notify();
|
|
811
|
+
}
|
|
812
|
+
isFolded(id) {
|
|
813
|
+
return id === "graph" ? graphFolded(shared(FOLDED_KEY)) : isFolded(shared(FOLDED_KEY), id);
|
|
814
|
+
}
|
|
815
|
+
row(f, t) {
|
|
816
|
+
const parts = f.path.split("/"), name = parts.pop();
|
|
817
|
+
return h_flex().id(`change-${f.path}`).h(28).flex_none().px(8).gap(8).items_center().rounded(7).cursor_pointer().when(this.selected === f.path, el => el.bg(t["selected"])).hover(s => s.bg(t["hover"])).on_click((_e, cx) => { this.handle.focus(); this.show(f.path, cx); })
|
|
818
|
+
.child(div().w(14).text_size(11).text_color(statColor(f.status, t)).child(f.status))
|
|
819
|
+
.child(h_flex().flex_1().min_w(0).child(div().text_color(t["dim"]).truncate().child(parts.length ? parts.join("/") + "/" : "")).child(div().max_w(260).min_w(0).truncate().child(name ?? "")))
|
|
820
|
+
.when(f.add > 0, el => el.child(figure(`+${f.add}`, t["ansi2"]))).when(f.del > 0, el => el.child(figure(`−${f.del}`, t["ansi1"])));
|
|
821
|
+
}
|
|
822
|
+
/** The header row of a section or folder: a fold arrow, the title and its count, with `extra` at the right edge. */
|
|
823
|
+
fold(id, title, count, t, indent, extra) {
|
|
824
|
+
const folded = this.isFolded(id);
|
|
825
|
+
return h_flex().flex_none().h(26).items_center().pl(indent).pr(8).gap(4)
|
|
826
|
+
.child(h_flex().id(`fold-${id}`).flex_1().min_w(0).h_full().items_center().gap(6).cursor_pointer().on_click((_e, cx) => { this.handle.focus(); this.toggle(id, cx); })
|
|
827
|
+
.child(div().w(12).text_size(10).text_color(t["muted"]).child(folded ? "▸" : "▾"))
|
|
828
|
+
.child(div().font_semibold().truncate().child(title))
|
|
829
|
+
.child(div().text_size(10).text_color(t["muted"]).child(String(count))))
|
|
830
|
+
.when(extra !== undefined, el => el.child(extra));
|
|
831
|
+
}
|
|
832
|
+
branchRow({ label, branch }, indent, t) {
|
|
833
|
+
const id = branch.remote === undefined ? `local-${branch.name}` : `remote-${branch.name}`, counts = rowCounts(branch);
|
|
834
|
+
return h_flex().id(`branch-${id}`).h(26).flex_none().pl(indent).pr(8).gap(6).items_center().rounded(7).cursor_pointer().hover(s => s.bg(t["hover"]))
|
|
835
|
+
.on_click((_e, cx) => { this.handle.focus(); this.pick(branch, cx); })
|
|
836
|
+
.on_mouse_down("right", () => this.openMenu({ kind: "branch", name: branch.name, ...branch.remote === undefined ? {} : { remote: branch.remote } }, branchMenu(branch, this.branches.some(b => b.current))))
|
|
837
|
+
.child(div().w(10).text_size(10).text_color(t["accent"]).child(branch.current ? "●" : ""))
|
|
838
|
+
.child(div().flex_1().min_w(0).truncate().when(branch.current, el => el.font_semibold()).child(label))
|
|
839
|
+
.when(Boolean(counts), el => el.child(div().flex_none().text_size(11).text_color(t["dim"]).child(counts)));
|
|
840
|
+
}
|
|
841
|
+
folder(id, name, entries, indent, t) {
|
|
842
|
+
return [this.fold(id, `${name}/`, entries.length, t, indent)]
|
|
843
|
+
.concat(isFolded(shared(FOLDED_KEY), id) ? [] : entries.map(e => this.branchRow(e, indent + 18, t)));
|
|
844
|
+
}
|
|
845
|
+
/** The label of the name row: the commit the branch starts at, none for a branch from HEAD. */
|
|
846
|
+
nameLabel() {
|
|
847
|
+
if (this.renaming !== undefined)
|
|
848
|
+
return `Rename ${this.renaming}`;
|
|
849
|
+
return this.startAt === undefined ? undefined : `Branch at ${shortSha(this.startAt)}`;
|
|
850
|
+
}
|
|
851
|
+
/** An input row; `label` names what the input creates, drawn before it. */
|
|
852
|
+
inputRow(id, input, t, label) {
|
|
853
|
+
return h_flex().flex_none().h(30).px(8).gap(6).items_center()
|
|
854
|
+
.when(label !== undefined, el => el.child(div().flex_none().text_size(11).text_color(t["dim"]).child(label ?? "")))
|
|
855
|
+
.child(div().id(id).flex_1().min_w(0).h(26).px(8).flex().items_center().rounded(6).border_1().border_color(t["accent"]).cursor_text().on_mouse_down("left", (_e, cx) => cx.stop_propagation()).child(Input.new(input).h_full().text_size(12).text_color(t["foreground"])));
|
|
856
|
+
}
|
|
857
|
+
branchesSection(t) {
|
|
858
|
+
const { top, folders, remotes } = groupBranches(this.branches), open = !isFolded(shared(FOLDED_KEY), "branches");
|
|
859
|
+
const add = div().id("branch-add").w(22).h(22).flex().items_center().justify_center().rounded(5).cursor_pointer().hover(s => s.bg(t["hover"])).text_color(t["muted"])
|
|
860
|
+
.on_click((_e, cx) => this.openNaming(cx)).child("+");
|
|
861
|
+
const remoteOpen = open && remotes.length > 0 && !isFolded(shared(FOLDED_KEY), "branches/remote:");
|
|
862
|
+
return [this.fold("branches", "Branches", this.branches.length, t, 8, add)]
|
|
863
|
+
.concat(open && this.naming ? [this.inputRow("branch-name", this.nameInput, t, this.nameLabel())] : [])
|
|
864
|
+
.concat(open ? top.map(b => this.branchRow({ label: b.name, branch: b }, 26, t)) : [])
|
|
865
|
+
.concat(open ? folders.flatMap(f => this.folder(`branches/${f.name}`, f.name, f.branches, 26, t)) : [])
|
|
866
|
+
.concat(open && remotes.length ? [this.fold("branches/remote:", "Remotes", remotes.reduce((n, r) => n + r.branches.length, 0), t, 26)] : [])
|
|
867
|
+
.concat(remoteOpen ? remotes.flatMap(r => this.folder(`branches/remote:${r.name}`, r.name, r.branches, 44, t)) : []);
|
|
868
|
+
}
|
|
869
|
+
stashRow(s, t) {
|
|
870
|
+
return h_flex().id(`stash-${s.sha}`).h(26).flex_none().pl(26).pr(8).gap(6).items_center().rounded(7).hover(r => r.bg(t["hover"]))
|
|
871
|
+
.on_mouse_down("right", () => this.openMenu({ kind: "stash", sha: s.sha }, stashMenu()))
|
|
872
|
+
.child(div().flex_1().min_w(0).truncate().child(s.message))
|
|
873
|
+
.child(div().flex_none().text_size(11).text_color(t["dim"]).child(s.age));
|
|
874
|
+
}
|
|
875
|
+
stashesSection(t) {
|
|
876
|
+
const open = !isFolded(shared(FOLDED_KEY), "stashes"), available = this.files.length > 0;
|
|
877
|
+
const add = div().id("stash-add").w(22).h(22).flex().items_center().justify_center().rounded(5).when(available, el => el.cursor_pointer().hover(s => s.bg(t["hover"]))).text_color(available ? t["muted"] : t["dim"])
|
|
878
|
+
.accessibility_label("Stash changes").tooltip("Stash changes").on_click((_e, cx) => this.openStashing(cx)).child("+");
|
|
879
|
+
return [this.fold("stashes", "Stashes", this.stashes.length, t, 8, add)]
|
|
880
|
+
.concat(open && this.stashing ? [this.inputRow("stash-message", this.stashInput, t)] : [])
|
|
881
|
+
.concat(open ? this.stashes.map(s => this.stashRow(s, t)) : []);
|
|
882
|
+
}
|
|
883
|
+
worktreeRow(w, t) {
|
|
884
|
+
return h_flex().id(`worktree-${w.path}`).h(26).flex_none().pl(26).pr(8).gap(6).items_center().rounded(7).cursor_pointer().hover(s => s.bg(t["hover"]))
|
|
885
|
+
.on_click((_e, cx) => { this.handle.focus(); this.openWorktree(w, cx); })
|
|
886
|
+
.on_mouse_down("right", () => this.openMenu({ kind: "worktree", path: w.path }, worktreeMenu(w)))
|
|
887
|
+
.child(div().flex_none().max_w(200).min_w(0).truncate().when(w.current, el => el.font_semibold()).child(baseName(w.path)))
|
|
888
|
+
.child(div().flex_1().min_w(0).truncate().text_size(11).text_color(t["dim"]).child(worktreeLabel(w)))
|
|
889
|
+
.children(worktreeMarkers(w).map(m => div().flex_none().text_size(m === "●" ? 10 : 11).text_color(m === "●" ? t["accent"] : t["muted"]).child(m)));
|
|
890
|
+
}
|
|
891
|
+
worktreesSection(t) {
|
|
892
|
+
const add = div().id("worktree-add").w(22).h(22).flex().items_center().justify_center().rounded(5).cursor_pointer().hover(s => s.bg(t["hover"])).text_color(t["muted"])
|
|
893
|
+
.accessibility_label("New worktree").tooltip("New worktree").on_click((_e, cx) => this.addWorktree(cx)).child("+");
|
|
894
|
+
return [this.fold("worktrees", "Worktrees", this.worktrees.length, t, 8, add)]
|
|
895
|
+
.concat(isFolded(shared(FOLDED_KEY), "worktrees") ? [] : this.worktrees.map(w => this.worktreeRow(w, t)));
|
|
896
|
+
}
|
|
897
|
+
/** Asks for one more page of the history: the refresh that follows reads every page in one git call, and the lanes are laid out over the whole list. */
|
|
898
|
+
loadMore(cx) {
|
|
899
|
+
if (this.root === null || !this.idle())
|
|
900
|
+
return;
|
|
901
|
+
this.graphPages += 1;
|
|
902
|
+
this.note = null;
|
|
903
|
+
this.refresh(cx);
|
|
904
|
+
cx.notify();
|
|
905
|
+
}
|
|
906
|
+
/** A 2px bar or join of the graph cell, in the theme color the lane was given. */
|
|
907
|
+
lane(left, top, width, height, color, t) {
|
|
908
|
+
return div().absolute().left(left).top(top).w(width).h(height).bg(t[color] ?? t["foreground"]);
|
|
909
|
+
}
|
|
910
|
+
/** The graph cell of a row: the lanes entering above the middle, the ones leaving below it, a join at the middle where a lane changes column, and the node. */
|
|
911
|
+
graphCell(row, t) {
|
|
912
|
+
const middle = GRAPH_ROW / 2;
|
|
913
|
+
const bars = [
|
|
914
|
+
...row.top.map(b => this.lane(b.column * GRAPH_LANE + GRAPH_LANE / 2 - 1, 0, 2, middle, b.color, t)),
|
|
915
|
+
...row.bottom.map(b => this.lane(b.column * GRAPH_LANE + GRAPH_LANE / 2 - 1, middle, 2, middle, b.color, t)),
|
|
916
|
+
...row.joins.map(j => this.lane(Math.min(j.from, j.to) * GRAPH_LANE + GRAPH_LANE / 2 - 1, middle - 1, Math.abs(j.to - j.from) * GRAPH_LANE + 2, 2, j.color, t)),
|
|
917
|
+
];
|
|
918
|
+
const dot = div().absolute().left(row.node * GRAPH_LANE + GRAPH_LANE / 2 - 4).top(middle - 4).w(8).h(8).rounded_full().bg(row.head ? t["accent"] : t[row.nodeColor] ?? t["foreground"]);
|
|
919
|
+
return div().relative().flex_none().w(this.graphWidth * GRAPH_LANE).h(GRAPH_ROW).children(bars).child(dot);
|
|
920
|
+
}
|
|
921
|
+
graphRow(row, t) {
|
|
922
|
+
const { commit } = row;
|
|
923
|
+
return h_flex().id(`graph-${commit.sha}`).h(GRAPH_ROW).flex_none().px(8).gap(8).items_center().hover(s => s.bg(t["hover"]))
|
|
924
|
+
.on_mouse_down("right", () => this.openMenu({ kind: "commit", sha: commit.sha }, commitMenu(commit.sha)))
|
|
925
|
+
.child(this.graphCell(row, t))
|
|
926
|
+
.child(div().flex_1().min_w(0).truncate().child(commit.subject))
|
|
927
|
+
.children(commit.labels.map(l => div().flex_none().max_w(120).min_w(0).truncate().px(5).rounded(7).bg(t["raised"]).text_size(10)
|
|
928
|
+
.text_color(l.kind === "head" ? t["accent"] : l.kind === "tag" ? t["ansi3"] : l.kind === "remote" ? t["muted"] : t["foreground"]).child(l.name)))
|
|
929
|
+
.child(div().flex_none().max_w(160).min_w(0).truncate().text_size(11).text_color(t["dim"]).child(`${commit.author} · ${commit.age}`));
|
|
930
|
+
}
|
|
931
|
+
graphSection(t) {
|
|
932
|
+
const open = !this.isFolded("graph");
|
|
933
|
+
const more = div().id("graph-more").h(26).flex_none().px(8).flex().items_center().rounded(7).text_size(11).text_color(t["muted"])
|
|
934
|
+
.when(this.idle(), el => el.cursor_pointer().hover(s => s.bg(t["hover"]))).on_click((_e, cx) => this.loadMore(cx)).child(`Load more (${PAGE})`);
|
|
935
|
+
return [this.fold("graph", "Graph", open ? this.commits.length : 0, t, 8)]
|
|
936
|
+
.concat(open ? this.rows.map(r => this.graphRow(r, t)) : [])
|
|
937
|
+
.concat(open && hasMore(this.commits.length, this.graphPages) ? [more] : []);
|
|
938
|
+
}
|
|
939
|
+
/** The changed files in their own scrolling column. */
|
|
940
|
+
list(t) {
|
|
941
|
+
const open = !isFolded(shared(FOLDED_KEY), "changes");
|
|
942
|
+
return v_flex().id("changes-list").flex_1().min_h(0).overflow_y_scrollbar().p(6)
|
|
943
|
+
.child(this.fold("changes", "Changes", this.files.length, t, 8))
|
|
944
|
+
.children(open ? this.files.map(f => this.row(f, t)) : [])
|
|
945
|
+
.when(open && !this.files.length, el => el.child(div().p(8).text_color(t["dim"]).child(emptyMessage({ error: this.error, loading: this.loading, root: this.root }))));
|
|
946
|
+
}
|
|
947
|
+
/** Branches, Stashes, Worktrees and Graph in their own scrolling column. */
|
|
948
|
+
sections(t) {
|
|
949
|
+
return v_flex().id("changes-sections").size_full().min_h(0).overflow_y_scrollbar().p(6)
|
|
950
|
+
.children(this.branchesSection(t))
|
|
951
|
+
.children(this.stashesSection(t))
|
|
952
|
+
.children(this.worktreesSection(t))
|
|
953
|
+
.children(this.graphSection(t));
|
|
954
|
+
}
|
|
955
|
+
/** The files and the commit box above a draggable divider, the sections below it; the lower height is kept in the shared key. */
|
|
956
|
+
split(t) {
|
|
957
|
+
const upper = v_flex().size_full().min_h(0)
|
|
958
|
+
.child(this.list(t))
|
|
959
|
+
.when(this.limited, el => el.child(div().px(12).py(4).text_size(11).text_color(t["dim"]).child("Showing the first 1,000 changed files")))
|
|
960
|
+
.when(Boolean(this.note), el => el.child(div().px(10).pb(8).text_size(11).text_color(t["ansi1"]).child(this.note ?? "")))
|
|
961
|
+
.child(this.commitBox(t));
|
|
962
|
+
// The divider group's own height bounds the lower panel; the header and branch line above it are not the group's to share.
|
|
963
|
+
return v_flex().id("changes-split-frame").flex_1().min_h(0)
|
|
964
|
+
.on_size_change((size, cx) => { if (size.height !== this.viewHeight) {
|
|
965
|
+
this.viewHeight = size.height;
|
|
966
|
+
cx.notify();
|
|
967
|
+
} })
|
|
968
|
+
.child(v_resizable("changes-split").size_full()
|
|
969
|
+
.on_resize(sizes => { const lower = sizes[1]; if (lower !== undefined)
|
|
970
|
+
setShared(SPLIT_KEY, lower); })
|
|
971
|
+
.child(resizable_panel().size_range(160).child(upper))
|
|
972
|
+
.child(resizable_panel().size(lowerPanelSize(shared(SPLIT_KEY), this.viewHeight)).size_range(100).child(this.sections(t))));
|
|
973
|
+
}
|
|
974
|
+
branchLine(t) {
|
|
975
|
+
const current = this.branches.find(b => b.current);
|
|
976
|
+
if (this.head === undefined)
|
|
977
|
+
return [];
|
|
978
|
+
const counts = current === undefined ? "" : rowCounts(current);
|
|
979
|
+
return [h_flex().id("branch-line").h(28).flex_none().px(14).gap(8).items_center().border_b(1).border_color(t["border"])
|
|
980
|
+
.child(div().font_semibold().truncate().min_w(0).child(this.head))
|
|
981
|
+
.when(this.progress !== undefined, el => el.child(this.progressChip(this.progress, t)))
|
|
982
|
+
.when(Boolean(counts), el => el.child(div().flex_none().text_size(11).text_color(t["muted"]).child(counts)))
|
|
983
|
+
.child(div().flex_1())
|
|
984
|
+
.children(current === undefined ? [] : SYNC_BUTTONS.map(b => this.syncButton(b, t)))];
|
|
985
|
+
}
|
|
986
|
+
progressChip(kind, t) {
|
|
987
|
+
const { label, tooltip } = progressChip(kind);
|
|
988
|
+
return div().id("branch-progress").flex_none().px(6).h(18).flex().items_center().rounded(9).bg(t["raised"]).text_size(11).text_color(t["ansi1"])
|
|
989
|
+
.tooltip(tooltip).child(label);
|
|
990
|
+
}
|
|
991
|
+
syncButton({ kind, icon, label, busy }, t) {
|
|
992
|
+
const running = this.syncing === kind, enabled = this.idle();
|
|
993
|
+
return div().id(`sync-${kind}`).w(26).h(26).flex_none().flex().items_center().justify_center().rounded(6)
|
|
994
|
+
.bg(running ? t["raised"] : t["background"]).text_size(14).text_color(running ? t["accent"] : enabled ? t["foreground"] : t["dim"])
|
|
995
|
+
.accessibility_label(label).tooltip(running ? busy : label).disabled(!enabled).when(enabled, el => el.cursor_pointer().hover(s => s.opacity(0.7)))
|
|
996
|
+
.on_click((_e, cx) => this.sync(kind, cx)).child(icon);
|
|
997
|
+
}
|
|
998
|
+
commitBox(t) {
|
|
999
|
+
const enabled = this.ready();
|
|
1000
|
+
return h_flex().flex_none().p(10).gap(8).border_t(1).border_color(t["border"])
|
|
1001
|
+
.child(div().id("commit-message").flex_1().min_w(0).h(32).px(10).flex().items_center().rounded(8).border_1().border_color(this.typing ? t["accent"] : t["border"]).cursor_text().on_mouse_down("left", (_e, cx) => cx.stop_propagation()).child(Input.new(this.input).h_full().text_size(12).text_color(t["foreground"])))
|
|
1002
|
+
.child(div().id("commit").h(32).px(14).flex().items_center().rounded(8).bg(enabled ? t["solid"] : t["raised"]).text_color(enabled ? t["solid_foreground"] : t["dim"]).text_size(12).when(enabled, el => el.cursor_pointer()).on_click((_e, cx) => this.commit(cx)).child(this.committing ? "Committing…" : "Commit"));
|
|
1003
|
+
}
|
|
1004
|
+
/** Closes the branch-name or stash-message row whose input has focus; false when neither has it. */
|
|
1005
|
+
leaveInputRow(cx) {
|
|
1006
|
+
if (this.nameFocused)
|
|
1007
|
+
this.closeNaming(cx);
|
|
1008
|
+
else if (this.stashFocused)
|
|
1009
|
+
this.closeStashing(cx);
|
|
1010
|
+
else
|
|
1011
|
+
return false;
|
|
1012
|
+
cx.stop_propagation();
|
|
1013
|
+
return true;
|
|
1014
|
+
}
|
|
1015
|
+
/** Escape leaves the commit box; while not typing, a plain up or down arrow selects the previous and next file. */
|
|
1016
|
+
key_down(e, cx) {
|
|
1017
|
+
if (e.key === "escape" && this.leaveInputRow(cx))
|
|
1018
|
+
return;
|
|
1019
|
+
if (this.typing) {
|
|
1020
|
+
if (e.key !== "escape")
|
|
1021
|
+
return;
|
|
1022
|
+
this.typing = false;
|
|
1023
|
+
this.handle.focus();
|
|
1024
|
+
cx.stop_propagation();
|
|
1025
|
+
cx.notify();
|
|
1026
|
+
return;
|
|
1027
|
+
}
|
|
1028
|
+
if (this.nameFocused || this.stashFocused)
|
|
1029
|
+
return;
|
|
1030
|
+
const direction = arrowDirection(e.keystroke);
|
|
1031
|
+
if (direction === undefined)
|
|
1032
|
+
return;
|
|
1033
|
+
const path = nextSelection(this.files.map(f => f.path), this.selected ?? undefined, direction);
|
|
1034
|
+
if (path !== undefined)
|
|
1035
|
+
this.show(path, cx);
|
|
1036
|
+
cx.stop_propagation();
|
|
1037
|
+
}
|
|
1038
|
+
render(cx) {
|
|
1039
|
+
if (key() !== this.context)
|
|
1040
|
+
this.refresh(cx);
|
|
1041
|
+
this.takeRequest(cx);
|
|
1042
|
+
this.takePick(cx);
|
|
1043
|
+
const t = colorsOf(theme());
|
|
1044
|
+
return v_flex().id("changes").size_full().min_h(0).rounded(10).overflow_hidden().bg(t["background"]).border_1().border_color(t["border"]).text_color(t["foreground"]).text_size(13).track_focus(this.handle)
|
|
1045
|
+
.on_key_down((e, cx) => this.key_down(e, cx))
|
|
1046
|
+
.child(header(this.files, t))
|
|
1047
|
+
.children(this.branchLine(t))
|
|
1048
|
+
.child(this.split(t));
|
|
1049
|
+
}
|
|
1050
|
+
}
|
|
1051
|
+
/** The confirmation dialog: it only records the confirmed action in the shared key and closes, because Herdr cancels a closed overlay's tasks and the Changes view runs it. */
|
|
1052
|
+
class Confirm extends View {
|
|
1053
|
+
ask;
|
|
1054
|
+
done = false;
|
|
1055
|
+
handle;
|
|
1056
|
+
init(p, cx) {
|
|
1057
|
+
const given = parseConfirmProps(props() ?? p);
|
|
1058
|
+
if (given !== undefined)
|
|
1059
|
+
this.ask = given;
|
|
1060
|
+
this.handle = cx.focus_handle();
|
|
1061
|
+
this.handle.focus();
|
|
1062
|
+
cx.timer.after(600, () => this.handle.focus());
|
|
1063
|
+
}
|
|
1064
|
+
dismiss() {
|
|
1065
|
+
closeOverlay(props().overlay);
|
|
1066
|
+
}
|
|
1067
|
+
accept() {
|
|
1068
|
+
if (this.done)
|
|
1069
|
+
return;
|
|
1070
|
+
this.done = true;
|
|
1071
|
+
setShared(CONFIRMED_KEY, { seq: nextSeq(shared(CONFIRMED_KEY)), action: this.ask.action });
|
|
1072
|
+
this.dismiss();
|
|
1073
|
+
}
|
|
1074
|
+
render() {
|
|
1075
|
+
const t = colorsOf(theme());
|
|
1076
|
+
if (this.ask === undefined)
|
|
1077
|
+
return div().p(18).child("editor-changes: the confirmation has no action");
|
|
1078
|
+
const button = (id, text, color, action) => h_flex().id(id).h(32).px(14).items_center().rounded(8)
|
|
1079
|
+
.border_1().border_color(color ?? t["input"]).bg(color ?? t["raised"]).text_color(color === undefined ? t["foreground"] : t["solid_foreground"])
|
|
1080
|
+
.text_size(12.5).font_medium().cursor_pointer().hover(s => s.opacity(0.88)).on_click(action).child(text);
|
|
1081
|
+
return v_flex().id("confirm").track_focus(this.handle).on_key_down((e, cx) => {
|
|
1082
|
+
if (e.key === "escape") {
|
|
1083
|
+
this.dismiss();
|
|
1084
|
+
cx.stop_propagation();
|
|
1085
|
+
}
|
|
1086
|
+
else if (e.key === "enter") {
|
|
1087
|
+
this.accept();
|
|
1088
|
+
cx.stop_propagation();
|
|
1089
|
+
}
|
|
1090
|
+
})
|
|
1091
|
+
.w_full().h_full().p(18).bg(t["popover"]).text_color(t["foreground"])
|
|
1092
|
+
.child(div().text_size(15).font_semibold().child(this.ask.title))
|
|
1093
|
+
.child(div().pt(10).text_size(12.5).text_color(t["dim"]).child(this.ask.body))
|
|
1094
|
+
.child(div().flex_1())
|
|
1095
|
+
.child(h_flex().pt(12).gap(8).justify_end()
|
|
1096
|
+
.child(button("confirm-cancel", "Cancel", undefined, () => this.dismiss()))
|
|
1097
|
+
.child(button("confirm-accept", this.ask.confirm, this.ask.tone === "danger" ? t["ansi1"] : t["solid"], () => this.accept())));
|
|
1098
|
+
}
|
|
1099
|
+
}
|
|
1100
|
+
/** The right-click menu of a row: its items only record the chosen one in the shared key and close, because the Changes view runs it; Escape closes without a choice. */
|
|
1101
|
+
class Menu extends View {
|
|
1102
|
+
menu;
|
|
1103
|
+
done = false;
|
|
1104
|
+
handle;
|
|
1105
|
+
init(p, cx) {
|
|
1106
|
+
const given = parseMenuProps(props() ?? p);
|
|
1107
|
+
if (given !== undefined)
|
|
1108
|
+
this.menu = given;
|
|
1109
|
+
this.handle = cx.focus_handle();
|
|
1110
|
+
this.handle.focus();
|
|
1111
|
+
cx.timer.after(600, () => this.handle.focus());
|
|
1112
|
+
}
|
|
1113
|
+
dismiss() {
|
|
1114
|
+
closeOverlay(props().overlay);
|
|
1115
|
+
}
|
|
1116
|
+
choose(item) {
|
|
1117
|
+
if (this.done)
|
|
1118
|
+
return;
|
|
1119
|
+
this.done = true;
|
|
1120
|
+
const { root, on, target } = this.menu;
|
|
1121
|
+
setShared(PICKED_KEY, { seq: nextSeq(shared(PICKED_KEY)), pick: { root, on, target, item } });
|
|
1122
|
+
this.dismiss();
|
|
1123
|
+
}
|
|
1124
|
+
render() {
|
|
1125
|
+
const t = colorsOf(theme());
|
|
1126
|
+
if (this.menu === undefined)
|
|
1127
|
+
return div().p(18).child("editor-changes: the menu has no row");
|
|
1128
|
+
return v_flex().id("menu").track_focus(this.handle).on_key_down((e, cx) => { if (e.key === "escape") {
|
|
1129
|
+
this.dismiss();
|
|
1130
|
+
cx.stop_propagation();
|
|
1131
|
+
} })
|
|
1132
|
+
.w_full().h_full().p(8).gap(2).bg(t["popover"]).text_color(t["foreground"]).text_size(12.5)
|
|
1133
|
+
.children(this.menu.items.map(item => h_flex().id(`menu-${item.id}`).h(32).flex_none().px(10).items_center().rounded(7).cursor_pointer().hover(s => s.bg(t["hover"]))
|
|
1134
|
+
.text_color(item.tone === "danger" ? t["ansi1"] : t["foreground"]).on_click(() => this.choose(item.id)).child(item.label)));
|
|
1135
|
+
}
|
|
1136
|
+
}
|
|
1137
|
+
/** The Changes view, or the confirmation dialog or a row's menu when an overlay opens the mod with that role. */
|
|
1138
|
+
export default class Router extends View {
|
|
1139
|
+
role;
|
|
1140
|
+
init(p, cx) {
|
|
1141
|
+
const given = props() ?? p;
|
|
1142
|
+
this.role = given?.role === "confirm" ? new Confirm() : given?.role === "menu" ? new Menu() : new Changes();
|
|
1143
|
+
this.role.init?.(given, cx);
|
|
1144
|
+
}
|
|
1145
|
+
render(cx) {
|
|
1146
|
+
return this.role.render(cx);
|
|
1147
|
+
}
|
|
1148
|
+
}
|