Commit cf5ecec
Code navigation (#315)
* Initial POC
* Add cursor style rule
* wip: resolve symbol definition in pop-up box
* further wip
* wip
* wip: started work on bottom panel
* wip: move find references to server action
* wip
* wip on fast readonly syntax highlighting using code mirror
* refactor things around
* Further wip: discovered that typical HighlightStyle.define highlighters cause performance problems when rendering thousands of code cells. The workaround found is to use tagHighlighter and rely on tailwind to drive theming in CSS.
* wip: Add line number suppoert to the readonly code block
* further wip: refactored how the bottom panel is rendered s.t., we don't need to re-render when doing a goto def
* perf: memoize highlight ranges to prevent unecessary re-renders
* chore: move search results list to use readonly ediotr
* rename readOnlyCodeBlock to lightweightCodeHighlighter
* improve syntax highlighting
* nits with keyboard shortcuts
* move match count aggregation into API layer
* wip on adding definitions tab to bottom panel
* Add eslint rule for tanstack query
* Improve how we communicate multiple symbol definitions
* Add support for revisions
* chore: move stylized resize handle into shared component
* chore: refactor code nav UI into ee
* chore: made /browse the default path when clicking on a search result. More cleanup.
* add code nav to preview panel
* small bug fixes
* wip: add scroll restoration to search results panel
* small nit improvements
* subtle changes to highlighting style
* Use word boundaries for references
* make bottom panel larger
* fix visual artifact issues with filter panel
* bidirectional filtering
* debug code
* Improve search heuristic by filtering by language
* Improved collapsed preview panel style
* add node types for a bunch of langs
* nit: add tooltip to focus search bar shortcut hint
* Add cmd+click to open preview panel
* feedback
* changelog
* posthog events
* wip on docs
* docs and changelog
* improve code nav search heuristics: search across repositories, and expand language filter to resolve related langs like TypeScript, JavaScript, TSX, and JSX.
* delete unused /references route
* improve search contexts news sub_header
---------
Co-authored-by: msukkari <[email protected]>1 parent ed87595 commit cf5ecec
File tree
66 files changed
+3330
-1069
lines changed- .cursor/rules
- docs
- docs/search
- images
- packages/web
- src
- app
- [domain]
- browse
- [...path]
- components
- components
- hooks
- components
- connectionCreationForms
- searchBar
- search
- components
- codePreviewPanel
- filterPanel
- searchResultsPanel
- components
- components/ui
- features
- entitlements
- search
- hooks
- lib
- extensions
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
66 files changed
+3330
-1069
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
10 | 16 | | |
11 | 17 | | |
12 | 18 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
53 | | - | |
| 53 | + | |
| 54 | + | |
54 | 55 | | |
55 | 56 | | |
56 | 57 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
Binary file not shown.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
| 11 | + | |
11 | 12 | | |
12 | 13 | | |
13 | 14 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| 37 | + | |
37 | 38 | | |
38 | 39 | | |
39 | 40 | | |
| |||
81 | 82 | | |
82 | 83 | | |
83 | 84 | | |
| 85 | + | |
84 | 86 | | |
85 | 87 | | |
86 | 88 | | |
| |||
144 | 146 | | |
145 | 147 | | |
146 | 148 | | |
| 149 | + | |
147 | 150 | | |
148 | 151 | | |
149 | 152 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
Lines changed: 0 additions & 150 deletions
This file was deleted.
0 commit comments