msukkari
cf479de5b1
fix liniting issues
2024-09-19 13:32:40 -07:00
Michael Sukkarieh
c5b53c2d6c
Sanitize posthog data and add more info in README ( #4 )
...
* remove page view provider
* sanatize current_url and ip properties in all posthog events
* add posthog usage info in README
* remove unneccessary ip property removal since we disable ip collection on posthog side
* add back ip sanitization on client side (we disabled it on server side but may as well also clear it on client) and revise README on telemetry
* add typo with asterisks in readme
* small grammar fix in README
2024-09-19 13:22:13 -07:00
Brendan Kellam
1c756d2010
Add repo carousel and "how to search" section to homepage ( #5 )
2024-09-18 22:26:00 -07:00
bkellam
233897d02c
Add tsx syntax highlight support
2024-09-18 00:23:54 -07:00
bkellam
649223a607
Add safety to range highlighting for search result panel
2024-09-17 23:58:29 -07:00
bkellam
90284413e0
python & markdown syntax highlighting
2024-09-17 20:35:53 -07:00
bkellam
8f5a60ff0a
small ui nits
2024-09-16 21:57:04 -07:00
bkellam
3ef9be2b6b
Add PostHog telemetry support
2024-09-16 21:37:34 -07:00
bkellam
f94ce8180e
Revert "Semantic search attempt #1 : convert query into zoekt syntax"
...
This reverts commit 7e818cad33 .
2024-09-16 11:57:26 -07:00
bkellam
7e818cad33
Semantic search attempt #1 : convert query into zoekt syntax
2024-09-11 22:58:37 -07:00
bkellam
700c5f7522
no-store caching strategy
2024-09-11 12:15:12 -07:00
bkellam
35edfa0a64
nit
2024-09-10 23:09:52 -07:00
bkellam
3b856d7edc
try using client component
2024-09-10 22:59:17 -07:00
bkellam
fa48ae79a0
use force-dynamic
2024-09-10 22:38:09 -07:00
bkellam
957f499584
nits
2024-09-10 22:23:40 -07:00
bkellam
1283f6487f
Add page to list indexed repositories
2024-09-10 21:55:00 -07:00
bkellam
c1227000da
Add more results button
2024-09-10 12:59:42 -07:00
bkellam
fa42eba35e
Add filename highlighting
2024-09-10 12:24:47 -07:00
bkellam
4e5deb22a1
Escape regex when searching for a specific filepath + some error handling / schema adjustments
2024-09-10 12:24:12 -07:00
bkellam
17bf94fc5f
Add expanded context results + switch over to using zoekt's json apis
2024-09-09 23:16:41 -07:00
bkellam
19b36e5813
Fix code preview link to use HEAD instead of 'main' (since the main branch might not be named main)
2024-09-06 19:12:52 -07:00
bkellam
69edcbd3ab
Add link to code host file preview
2024-09-06 18:24:39 -07:00
bkellam
b79d068abd
Add code host logos for gitlab & github
2024-09-06 17:37:02 -07:00
bkellam
9c7db7509f
Collapse search results when there is too many. Also sort results by line number
2024-09-06 16:18:07 -07:00
bkellam
679123664d
rename repo to sourcebot
2024-09-05 13:22:24 -07:00
bkellam
c64b457cbc
Improve highlighting for search results
2024-09-02 19:39:14 -07:00
bkellam
dd80630f74
Add hotkey to focus search bar
2024-09-02 19:19:22 -07:00
bkellam
45c176f7ae
Several things: (1) Add a basic landing page and move search into /search route. (2) Make the search bar a form instead of being fancy and using debounce. (3) Add react-query for better query handling.
2024-09-02 18:46:43 -07:00
bkellam
9af8696a6d
Use zoekt-webserver /print route to get file contents
2024-08-31 19:36:23 -07:00
bkellam
1250c160c0
Add sourcebot Dockerfile
2024-08-30 20:00:58 -07:00
bkellam
5e07ff7933
Add eslint
2024-08-29 21:38:48 -07:00
bkellam
f85c5cef02
Add result highlighting to code preview
2024-08-29 21:06:48 -07:00
bkellam
4fc2357fb1
Add basic match highlighting
2024-08-29 17:47:35 -07:00
bkellam
e287c8e02c
Fix scrolling issue with code results & preview
2024-08-28 12:30:09 -07:00
bkellam
be1bbfc16e
Small style tweeks to top bar
2024-08-28 12:06:00 -07:00
bkellam
7bae7ef81c
Fix keyboard navigation bug
2024-08-27 21:14:33 -07:00
bkellam
8c38d983c6
Fix theme bug with code preview
2024-08-27 21:09:25 -07:00
bkellam
a83eef57e2
Add settings dropdown
2024-08-27 21:00:59 -07:00
bkellam
30ac9165e1
Refactor things into seperate components
2024-08-27 17:28:35 -07:00
bkellam
c73325d8ce
Add vim support to code viewer
2024-08-27 17:04:50 -07:00
bkellam
e7616b43ad
Add topbar to code editor to indicate open file + hold the close button
2024-08-26 21:40:08 -07:00
bkellam
87ad7ef981
Add theme toggle
2024-08-26 20:54:15 -07:00
bkellam
3fc3397f01
Display selected file in code preview
2024-08-25 21:30:09 -07:00
bkellam
e828d53910
wip on integrating codemirror
2024-08-25 17:57:34 -07:00
bkellam
e18c3e26d7
Code panel skeleton
2024-08-24 23:01:46 -07:00
bkellam
ebb68146bc
fix header on top of screen
2024-08-24 22:09:31 -07:00
bkellam
898b329fc9
Pass in actual code snippet to codeblock
2024-08-24 21:34:24 -07:00
bkellam
fce25841cd
mock code blocks
2024-08-24 21:18:53 -07:00
bkellam
0ae2030cb1
Add spinner and some other minor changes
2024-08-24 20:58:31 -07:00
bkellam
90b6256a4e
Set query param to empty when input box is empty
2024-08-24 20:10:01 -07:00