feat: vimmode, fuzzy finder and editor config support - #2
Merged
Conversation
feat(frontend/welcome): welcome screen
wip(frontend/welcome): support for opening folders wip(frontend/welcome): refactor runtime location wip(backend/projects): initial schema for projects feat(backend/projects): integrate recent projects from db feat(projects): last opened in projects wip(frontend): unify types and reorganization wip(frontend/types): more type reorganization wip(frontend/commandpallete): temp disable cmd pallete
feat(frontend/editor): insolate FileTree in its own component wip(frontend/filetree): get files from fs feat(frontend/filetree): show folders first and then files (sorted) feat(frontend/monaco): open from filetree fix(frontend/monaco): general cleanup fix(frontend/editor): persists open project across reloads fix(frontend/welcome): truncate filepath
fix(frontend/explorerpane): double click to collapse all
wip(frontend/keyboard): multiple contexts
wip(filesearch): respect .gitignore fix(filesearch): race donditions when deleting from input fix(filesearch): handle empty resultset in search fix(filesearch): open selected files wip(frontend): handle search when typing too fast wip(fuzzysearch): spaces support - broken wip(fuzzysearch): root dir fix(fuzzysearch): subdirectory match feat(fuzzysearch): support for spaces in query
Contributor
There was a problem hiding this comment.
Copilot reviewed 47 out of 63 changed files in this pull request and generated 1 suggestion.
Files not reviewed (16)
- db/migrations/0001_initial_schema.sql: Language not supported
- frontend/package-lock.json: Language not supported
- frontend/package.json: Language not supported
- frontend/package.json.md5: Language not supported
- frontend/src/App.svelte: Language not supported
- frontend/src/lib/components/CommandPalette.svelte: Language not supported
- frontend/src/lib/components/FileFinder.svelte: Language not supported
- frontend/src/lib/components/FileTree.svelte: Language not supported
- frontend/src/lib/components/KeyboardManager.svelte: Language not supported
- frontend/src/lib/components/Modal.svelte: Language not supported
- frontend/src/lib/components/RecentProjects.svelte: Language not supported
- frontend/src/lib/editor/Editor.svelte: Language not supported
- frontend/src/lib/editor/FileTree.svelte: Language not supported
- frontend/src/lib/editor/FileTreeItem.svelte: Language not supported
- frontend/src/lib/editor/LeftSidebar.svelte: Language not supported
- frontend/src/lib/editor/RightSidebar.svelte: Language not supported
Comments skipped due to low confidence (1)
app.go:67
- The error message should be more descriptive. Consider changing it to 'Failed to open directory dialog: %v'.
return "", fmt.Errorf("error opening directory dialog: %v", err)
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request includes significant changes to the
app.gofile to initialize services and add new methods for handling project and file operations, the addition of a newmain.goentry point, database schema creation, and updates to the frontend to integrate new functionalities and dependencies.Backend Changes:
app.go: Added initialization forProjectsService,FileService, andConfigServicein theAppstruct. New methods for handling project and file operations, includingGetRecentProjects,OpenProjectFolder,AddProject,GetProjectFiles,LoadDirectoryContents,GetFileContent,SaveFile,SearchFiles,GetEditorConfig, andOpenConfigFilewere added. [1] [2]cmd/edit4i/main.go: Added a new entry point for the application with error handling for command execution.db/migrations/0001_initial_schema.sql: Created the initial database schema for theprojectstable with indexes and migration scripts.db/migrations/embed.go: Embedded the SQL migration files into the Go binary using theembedpackage.Frontend Changes:
frontend/package.jsonandfrontend/package-lock.json: Addedmonaco-vimas a new dependency to enhance the editor capabilities. [1] [2] [3] [4]frontend/src/App.svelte: Refactored to use@alias for imports, removed redundantFileFindercomponent, and simplified keyboard command registration and cleanup. [1] [2]frontend/src/lib/components/CommandPalette.svelte: Updated to use@alias for imports, added context management for keyboard commands, and improved state management when showing or hiding the command palette. [1] [2] [3] [4] [5]frontend/src/lib/components/FileFinder.svelte: Refactored to perform searches using the backend, added debounce logic, and improved state management and keyboard navigation. [1] [2]