Commit graph

409 commits

Author SHA1 Message Date
Brendan Kellam
e1533f22f7
[Cherry Pick] Syntax reference guide (#169) (#216) 2025-02-27 17:02:58 -08:00
msukkari
1bdb65c34e cherry pick fix for file links 2025-02-27 16:25:26 -08:00
bkellam
b9352345a3 Add mobile unsupported splash screne 2025-02-27 16:10:55 -08:00
msukkari
7ce10672e1 remove error msg dump on failed repo index job, and update indexedAt field 2025-02-27 16:04:31 -08:00
msukkari
8b44505cf3 fix ordering of quick actions 2025-02-27 14:52:01 -08:00
bkellam
161f21eb57 Make login and onboarding mobile friendly 2025-02-27 13:25:27 -08:00
msukkari
d0b75ce57d fix repo rm issue, 502 page, condition on test clock 2025-02-27 13:11:30 -08:00
bkellam
cfff416e18 fix share links 2025-02-27 12:25:35 -08:00
bkellam
85d7b1e098 Fix bug with repository snapshot 2025-02-27 12:03:35 -08:00
bkellam
fcf0b836ee fix build 2025-02-27 09:43:35 -08:00
Brendan Kellam
46be0440b0
Add back revision support (#215) 2025-02-27 09:39:55 -08:00
msukkari
3d6c7dcca5 add back button in onboard connection creation flow 2025-02-27 09:32:01 -08:00
msukkari
c0b62a28da fix build error 2025-02-27 09:17:47 -08:00
msukkari
631616620c fix skipping onboard complete check 2025-02-26 17:37:36 -08:00
Michael Sukkarieh
4869137d1e
skip stripe checkout for trial + fix indexing in progress UI + additional schema validation (#214)
* add additional config validation

* wip bypass stripe checkout for trial

* fix stripe trial checkout bypass

* fix indexing in progress ui on home page

* add subscription checks, more schema validation, and fix issue with complete page

* dont display if no indexed repos
2025-02-26 17:29:09 -08:00
Brendan Kellam
386a3b52d7
remove git & local schemas (#213) 2025-02-26 16:55:10 -08:00
Brendan Kellam
50b94b2c46
Connections UX pass + query optimizations (#212) 2025-02-26 15:46:37 -08:00
msukkari
b77f55fa20 wipe existing repo if we've picked up a killed job to ensure good state 2025-02-26 12:46:24 -08:00
msukkari
8531b14a82 rename some prom metrics and cleanup unused 2025-02-25 18:54:01 -08:00
bkellam
fab2fea562 onboarding tweaks 2025-02-25 17:27:36 -08:00
msukkari
5c2bf01764 fix typo in trial card 2025-02-25 16:35:02 -08:00
Michael Sukkarieh
3f586dd927
make repo garbage collection async (#211)
* add gc queue logic

* fix missing switch cases for gc status

* style org create form better with new staging domain

* change repo rm logic to be async

* simplify repo for inactive org query

* add grace period for garbage collecting repos

* make prom scrape interval 500ms
2025-02-25 15:49:09 -08:00
msukkari
88fe84ebdd remove hard coded sourcebot.app references 2025-02-25 12:09:42 -08:00
msukkari
f853335ef1 add login posthog events 2025-02-25 10:30:52 -08:00
msukkari
07863b2753 remove invalid characters when auto filling domain 2025-02-25 09:48:44 -08:00
Michael Sukkarieh
fc33f26808
add grafana alloy config and setup (#210)
* add grafana alloy config and setup

* add basic repo prom metrics

* nits in dockerfile
2025-02-24 21:11:28 -08:00
msukkari
04f6772d3b wrap posthog provider in suspense to fix build error 2025-02-24 17:51:12 -08:00
Brendan Kellam
72da582145
Add invite email (#209) 2025-02-24 17:50:31 -08:00
msukkari
e1f7cd90ac fix other merge error and build warnings 2025-02-24 17:24:47 -08:00
msukkari
07cafdde5a use staging posthog papik when building staging image 2025-02-24 17:18:33 -08:00
msukkari
69db8f2211 fix merge error 2025-02-24 17:12:19 -08:00
Michael Sukkarieh
de44c81cfa
add posthog events on various user actions (#208)
* add page view event support

* add posthog events

* nit: remove unused import

* feedback
2025-02-24 17:06:29 -08:00
bkellam
ce52f651be Add some instrumentation to web 2025-02-22 17:40:42 -08:00
msukkari
d70b729ee8 remove cpu split logic 2025-02-22 17:23:52 -08:00
bkellam
e648ed3a7e Dummy change 2025-02-22 16:15:22 -08:00
bkellam
bf8bfdbb9a use docker scopes to try and improve caching 2025-02-22 15:32:46 -08:00
Brendan Kellam
0ff34d105d
Inline secret creation (#207) 2025-02-22 10:37:59 -08:00
msukkari
ced6c527ba add cpu split logic and only wait for postgres if we're going to connec to it 2025-02-21 17:13:35 -08:00
msukkari
dc42a76e03 fix new connection complete callback route 2025-02-21 11:21:38 -08:00
msukkari
fa0bb82921 add log for health check 2025-02-21 10:44:11 -08:00
Brendan Kellam
70e309b310
Redeem UX pass (#204) 2025-02-21 10:42:53 -08:00
Brendan Kellam
fee0767981
Refined onboarding flow (#202) 2025-02-21 10:32:10 -08:00
msukkari
a79c162d9c add health check endpoint 2025-02-21 09:54:17 -08:00
Brendan Kellam
5076ee7f05
[temp] disable polling everywhere (#205) 2025-02-20 16:47:49 -08:00
msukkari
0ac9509fab log upsert stats 2025-02-20 09:42:54 -08:00
msukkari
c930fe0d8b revert repo compile update logic to upsert loop 2025-02-19 18:54:50 -08:00
msukkari
62e64c1c25 add orgid unique constraint to repo 2025-02-19 18:54:04 -08:00
Michael Sukkarieh
fdd71cfcfe
add better visualization for connection/repo errors and warnings (#201)
* replace upsert with seperate create many and raw update many calls

* add bulk repo status update and queue addition with priority

* add support for managed redis

* add note for changing raw sql on schema change

* add error package and use BackendException in connection manager

* handle connection failure display on web app

* add warning banner for not found orgs/repos/users

* add failure handling for gerrit

* add gitea notfound warning support

* add warning icon in connections list

* style nits

* add failed repo vis in connections list

* added retry failed repo index buttons

* move nav indicators to client with polling

* fix indicator flash issue and truncate large list results

* display error nav better

* truncate failed repo list in connection list item

* fix merge error

* fix merge bug

* add connection util file [wip]

* refactor notfound fetch logic and add missing error package to dockerfile

* move repeated logic to function and add zod schema for syncStatusMetadata
2025-02-19 18:10:22 -08:00
msukkari
b99a648670 fix token examples in schema 2025-02-19 15:56:03 -08:00
msukkari
63af99aa59 remove non secret token options 2025-02-19 14:23:26 -08:00