Commit graph

56 commits

Author SHA1 Message Date
msukkari
d33185c118 switch source map publish to runtime in entrypoint 2025-03-01 20:43:50 -08:00
msukkari
20eac7bb26 fix sentry login in action 2025-03-01 19:50:21 -08:00
msukkari
36f79d7fe6 login to sentry 2025-03-01 19:44:58 -08:00
msukkari
7253c5a8c6 add setup sentry cli step to github action 2025-03-01 19:34:47 -08:00
msukkari
07cafdde5a use staging posthog papik when building staging image 2025-02-24 17:18:33 -08:00
bkellam
bf8bfdbb9a use docker scopes to try and improve caching 2025-02-22 15:32:46 -08:00
msukkari
888a2e3924 change stripe init to be behind function 2025-02-13 16:42:33 -08:00
msukkari
4d4988dae7 update staging deploy script to match new version in main 2025-01-31 11:31:46 -08:00
msukkari
4e7ac937e4 try to change into the staging dir manuall 2025-01-30 17:17:22 -08:00
msukkari
44dd53f179 checkout v3 when deploying staging 2025-01-30 17:00:27 -08:00
msukkari
7b6226b695 fix working directory typo and pray it doesnt push to prod 2025-01-30 16:34:18 -08:00
msukkari
22e0096ddb trigger staging actions to see if it works 2025-01-30 16:19:39 -08:00
msukkari
bb4ff37752 change workflow names to fix trigger issue 2025-01-30 14:50:52 -08:00
msukkari
d513f93a39 switch to using arm64 runners on arm64 build 2025-01-30 14:30:53 -08:00
msukkari
d37a969930 try using mac github action runners instead 2025-01-30 14:19:36 -08:00
msukkari
2b6125be0c add deployment action for staging image 2025-01-30 13:31:59 -08:00
msukkari
92530a7ee0 switch encryption key as build arg to se if that fixes build issues 2025-01-30 13:12:45 -08:00
msukkari
9946901044 add initial logic for staging environment 2025-01-30 10:23:47 -08:00
Brendan Kellam
33b5418bbf
Pass PostHog key at build time (#92) 2024-11-25 21:04:52 -08:00
Brendan Kellam
7f952ce163
Search suggestions (#85)
The motivation for building search suggestions is two-fold: (1) to make the zoekt query language more approachable by presenting all available options to the user, and (2) make it easier for power-users to craft complex queries.

The meat-n-potatoes of this change are concentrated in searchBar.tsx and searchSuggestionBox.tsx. The suggestions box works by maintaining a state-machine of "modes". By default, the box is in the refine mode, where suggestions for different prefixes (e.g., repo:, lang:, etc.) are suggested to the user. When one of these prefixes is matched, the state-machine transitions to the corresponding mode (e.g., repository, language, etc.) and surfaces suggestions for that mode (if any).

The query is split up into parts by spaces " " (e.g., 'test repo:hello' -> ['test', 'repo:hello']). See splitQuery. The part that has the cursor over it is considered the active part. We evaluate which mode the state machine is in based on the active part. When a suggestion is clicked, we only modify the active part of the query.

Three modes are currently missing suggestion data: file (file names), revision (branch / tag names), and symbol (symbol names). In future PRs, we will need to introduce endpoints into the backend to allow the frontend to fetch this data and surface it as suggestions..
2024-11-22 18:50:13 -08:00
Brendan Kellam
9cba4f274f
Add unit testing library to @sourcebot/backend (#65) 2024-11-12 18:37:35 -08:00
Brendan Kellam
ada53fc2c6
Multi branch / tag support (#58) 2024-11-06 18:28:10 -08:00
Brendan Kellam
82730f1cb0
Gitea support (#45) 2024-10-22 23:06:36 -04:00
Brendan Kellam
4b51a8d7d7
Added SOURCEBOT_VERSION build arg + versioned telemetry (#41) 2024-10-17 14:50:07 -04:00
bkellam
36a146486d update demo site fly.toml to use image from ghcr instead of building one. Also make the deployment pipeline dependent on pushes to ghcr. 2024-10-17 13:41:58 -04:00
bkellam
fe3817b9a5 Rename organization to sourcebot-dev 2024-09-29 14:39:17 -07:00
Brendan Kellam
d0d104a1e1
Readme V3 + config examples (#12) 2024-09-29 14:17:43 -07:00
bkellam
bf85c62132 nit: invert README github icons when in dark mode 2024-09-24 21:56:17 -07:00
bkellam
3299f854b5 remove arm/v6 and arm/v7 due to build failure 2024-09-19 18:07:29 -07:00
bkellam
a47b4c2058 Remove tags from build docker image stage 2024-09-19 17:55:51 -07:00
bkellam
34d4b072dd expand the number of platforms + remove pull_request event 2024-09-19 17:24:27 -07:00
bkellam
bb6f3d91b0 Add simple PR gate that builds docker container for one platform 2024-09-19 17:21:24 -07:00
bkellam
b5f6d46d35 add back linux/arm64 2024-09-19 16:49:41 -07:00
bkellam
607e03d179 Add packages: write permission to merge job 2024-09-19 16:40:45 -07:00
bkellam
2bbbd57691 Add back ghcr.io prefix 2024-09-19 16:29:28 -07:00
bkellam
ee2f27fc30 revert inline login + remove ghcr.io prefix from REGISTRY_NAME 2024-09-19 16:09:14 -07:00
bkellam
cec45c36bb try logging in inline 2024-09-19 14:48:53 -07:00
bkellam
16bd48dfc6 Upgrade to docker/login-action@v3 and temporarily disable arm64 builds 2024-09-19 14:18:11 -07:00
bkellam
7cb0e7e691 try removing tags from docker/build-push-action@v6 action 2024-09-19 13:25:09 -07:00
bkellam
9dec454d06 add missing org name to REGISTRY_IMAGE 2024-09-19 13:19:20 -07:00
bkellam
4cf557bafc Add missing outputs param to docker build and push action 2024-09-19 13:12:40 -07:00
bkellam
f57a3e4087 Attempt #1 on merging multi-platform docker builds 2024-09-19 12:22:28 -07:00
bkellam
e14a322c7f Remove qemu step 2024-09-07 19:52:27 -07:00
bkellam
0c0ffe847d wip on README 2024-09-07 17:17:32 -07:00
bkellam
abf8ecef5f experiment with non-background logos 2024-09-07 15:59:47 -07:00
bkellam
c8cd4a66ca Add logo to readme and start writing instructions 2024-09-07 15:51:36 -07:00
bkellam
184eabdea5 Try to speed up ghcr publish using arch matrix 2024-09-06 11:34:49 -07:00
bkellam
0133999bbd Add fly.io config & workflow 2024-09-06 11:27:20 -07:00
bkellam
23e06777e7 nit 2024-09-06 10:36:41 -07:00
bkellam
6751b20fca nit 2024-09-05 19:08:01 -07:00