Commit Graph
3910 Commits
Author SHA1 Message Date
Joshen Lim 9f02ee07b7 Add credentials include in all fetchers (#29834) 2024-10-15 10:58:06 +08:00
divit 3941b0cc32 fix: typo in upgrade page (#29882) 2024-10-15 10:17:53 +08:00
Terry SuttonandAlaister Young 47633695ea Chore/search user json (#29825)
* Add search to raw json panel

* Cleanup

* Update apps/studio/components/interfaces/Auth/Users/UserPanel.tsx

Co-authored-by: Alaister Young <alaister@users.noreply.github.com>

---------

Co-authored-by: Alaister Young <alaister@users.noreply.github.com>
2024-10-14 14:52:34 +00:00
Ivan Vasilov c083b3b4ab fix: Fix the snippets loading in local environment (#29750)
Add api routes to make the snippets v2 "work" as it did before.
2024-10-14 13:17:11 +02:00
Jordi Enric f4ed44fc13 update collection form (#29791)
* add component for collection form

* use new comp in create collection

* update updatecollection query

* add comp to update collection dialog

* add missing ttype
2024-10-14 11:46:47 +02:00
Kevin Grüneberg 42c8396c80 fix: disk size overages (#29875) 2024-10-14 07:51:04 +00:00
Kevin Grüneberg b64999e287 feat: new disk size usage section (#29862) 2024-10-14 14:48:45 +08:00
Hunter Stevens 353d0546b6 fix: typo in General.tsx (#29487) 2024-10-14 10:16:02 +08:00
Peter 1ec43e6986 Update webhook label to new maximum of 10000ms (#29861)
* Update webhook label to new maximum of 10000ms

* Match formatting of validation label
2024-10-14 10:03:38 +08:00
Kevin Grüneberg f9cd14c2a8 chore: remove disk exceeding global header (#29858)
Temporarily remove until we have better usage insights - we still show overages on the usage page, just not the aggressive top level banner
2024-10-12 15:52:09 +08:00
Joel Lee bf5777abcc fix: update curl snippet for invite user (#29851)
fix: update snippet
2024-10-11 20:54:30 +02:00
Rodrigo Mansueli aedff21d81 feat: improve timeouts for webhooks (#29066) 2024-10-11 13:50:09 -03:00
Paul Cioanca 9b217a104e fix: button text when unpausing project (#29838) 2024-10-11 11:50:28 +00:00
Jordi Enric 79f51f30a1 add info box to let users know they can send an email to support (#29780)
* add info box to let users know they can send an email to support

* make better

* move projects to tooltip

* truncate longer proj names

* fix things properly

* rm always open

* bit more padding

* add mailto link

* Add font-mono to project reference span

* more padding, fix bg hover
2024-10-11 11:28:00 +00:00
Paul CioancaandJoshen Lim 7559291549 feat: support for multiple pg versions (#29473)
* feat: support multiple pg versions

---------

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2024-10-11 14:26:47 +03:00
Andrew Valleteau 83c5cb87ed fix(studio): datetime formfield components field update (#29823)
* fix(studio): datetime formfield components field update
2024-10-10 21:05:10 +02:00
Joshen LimandAlaister Young f4024c90a1 Revert "Chore/add hover card back to snippets" (#29811)
* Revert "Chore/add hover card back to snippets (#29561)"

This reverts commit 3e279dac7e.

* Update apps/design-system/registry/default/example/tree-view-multi-select.tsx

Co-authored-by: Alaister Young <alaister@users.noreply.github.com>

---------

Co-authored-by: Alaister Young <alaister@users.noreply.github.com>
2024-10-10 18:08:47 +08:00
Joshen Lim f8acc37381 Fix support form again (#29809)
* Fix support form again

* Fix
2024-10-10 16:40:15 +08:00
Joshen Lim 6fd686b296 Chore/minor fix in events telemetry (#29810)
* minor fix in events telemetry

* Use API types

* Fix
2024-10-10 16:34:46 +08:00
Alaister YoungandJoshen Lim c6dc2c566e feat: workflow run logs (#29678)
* feat: workflow run logs

* progress

* adds logs modal

* remove menu item

* output raw text

* update parseAs

* accept text/plain

* cleanup ui

* feature flag new logs

* fix types

* fix condition

* cleanup spacing

* loading spacing

* cheeky console.log

* more log

* split logs properly

* add workflow logs to prod branches

* address some feedback

* Some UI tweaks

* More UI tweak

* More UI tweak

---------

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2024-10-10 08:29:04 +00:00
Joshen Lim 85156a929c Update database reports to use pg_total_relation_size instead (#29807) 2024-10-10 15:24:20 +08:00
Terry SuttonandIvan Vasilov 3e279dac7e Chore/add hover card back to snippets (#29561)
* temp

* Add copy

* Move hovercard back to parent

* Fix a type error.

* Make name optional

* remove duplicate hovercard

* remove name prop

* Cleanup

* Invalidate snippet list when upserting a snippet

---------

Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com>
2024-10-09 15:36:26 -02:30
Joshen Lim 39b665c010 Update send identify RQ to send user gotrue id instead of user id (#29793) 2024-10-09 23:07:07 +08:00
Joshen Lim d455cda085 Fix create profile not triggering (#29790) 2024-10-09 13:03:50 +00:00
Ivan Vasilov 5ffa9e3cfe feat: UI for pg_cron followup (#29687)
* Simplify the headers and parameters sections.

* Fix a useEffect in the edge function section.

* Cleanup empty headers and parameters when constructing the query.

* Fix comments.
2024-10-09 14:18:28 +02:00
Joshen Lim 1c74d1ed95 Add sendReset call when user opts out of telemetry (#29785)
* Add sendReset call when user opts out of telemetry

* Fix
2024-10-09 19:41:21 +08:00
Joshen Lim 3b3e4df893 Prevent deploying replicas if on pro plan with spend cap enabled (#29784)
* Prevent deploying replicas if on pro plan with spend cap disabled

* Fix naming
2024-10-09 19:33:46 +08:00
Ivan Vasilov 61ff33b40d fix: Fix Studio crashes when using Google Translate (#29773)
* Wrap all selects which use SelectValue with spans to avoid crashes when using google translate on studio.

* Add fix for google translate crashes in the Select component.

* Revert most of the changes.
2024-10-09 13:12:28 +02:00
Pamela Chia c5d2590fc0 chore: update TIA doc and policy (#29783) 2024-10-09 18:24:08 +08:00
Joshen Lim 9b3d87207f Chore/add new telemetry triggers for ph (#29769)
* Init new telemetry mutations and add telemetry reset for logging out

* Add sendPageLeave on unloadBefore event in PageTelemetry

* Add sendGroupsIdentify and sendGroupsReset in PageTelemetry

* Ensure new telemetry triggers only if feature flag is enabled

* Update call to sendGroupsReset

* some fixes and ensure that telemetry opt in is true before firing telemetry events

* Ensure that telemetry events get triggered when landing on project or org
2024-10-09 17:52:43 +08:00
Joshen Lim b5daa7e0e6 chore: prevent deploying new replicas with outstanding invoices (#29682) 2024-10-09 16:48:42 +08:00
Joshen Lim 336d623910 Chore/refactor telemetry calls for dashboard to support PH (#29747)
* Refactor telemetry event into RQ hook, and update to support PH

* Refactor telemetry identify into RQ hook, and update to support PH

* Refactor telemetry page into RQ hook, and update to support PH

* Clean up and deprecate lib/telemetry

* Pretty

* Add ts-ignore in docs for telemetry calls temporarily

* Add credentials include for send event, page and identify mutation hooks

* Add consent check for event and page telemetry, allow RQ mutations for those to fail silently without a toast
2024-10-09 14:32:30 +08:00
Jordi EnricandJoshen Lim 24fabf1975 update logs empty state (#29756)
* rename empty state

* add empty state component

* use empty state component

* update postgrest logs empty state description

* fix typerr

* Update copy

* Fix max height

* Remove console log

---------

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2024-10-09 14:06:57 +08:00
Alaister Young b04dbf9876 fix: use-isomorphic-layout-effect (#29762)
* fix: use-isomorphic-layout-effect

* stop messing with kevin
2024-10-09 12:33:12 +08:00
Terry SuttonandIvan Vasilov 692e363bc3 Chore/fix hooks sheet (#29746)
* Fix auth hooks scrolling

* Padding

* Use sheet section

* Use sheet section, again

* Fix minor details.

* The sheet section should have px-5 to match the header and footer.

* Remove all custom px on elements in the create hook sheet.

---------

Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com>
2024-10-08 16:20:59 +00:00
Ivan Vasilov b77a1b48be feat: Use Vercel Toolbar for overriding feature flags (#29697)
* initial test.

* Add base path to the rewrites.

* Remove base path from the source rewrite.

* Another try.

* Another try.

* another try.

* Try another magic.

* Add try/catch to the flag processing code.

* Revert some of the unneeded changes.

* Fix the api route for flags.

* Remove vercel/toolbar for local dev.

* Try using a static file for toolbar config.

* Add a well known flags file in the www app.

* Add headers to interpret vercel/flags as json.

* Another try.

* Fix the json formatting.

* Add headers for the vercel/flags route in the www app.

* Change to force studio to deploy.
2024-10-08 11:21:03 +02:00
Alaister Young 90072a2608 chore: improve table grid loading skeleton (#29734)
* chore: improve table grid loading skeleton

* nudge by 1px

* attempt syncing shimmers
2024-10-08 16:00:15 +08:00
Joshen Lim 4e36d1f0bb Allow auth warning banner to be dismissible (#29733)
* Allow auth warning banner to be dismissible

* Add close text sr
2024-10-08 15:17:57 +08:00
Ivan Vasilov cdda93d3bd fix: Add special handling for array of enums when fetching table rows (#29723)
Add special handling for array of enums when fetching table rows.
2024-10-08 11:12:11 +08:00
Jordi Enric e92cb573db Check if the project is coming up (#29721)
* check if the project is coming up

* add info msg
2024-10-08 10:51:00 +08:00
Andrew Valleteauandjingsam c86a837283 fix(studio): views filtering on local studio experience (#29646)
* fix: only list views, foreign tables, material views in selected schema

* fix(studio): views filterings on local studio experience

---------

Co-authored-by: jingsam <jing-sam@qq.com>
2024-10-07 19:11:33 +02:00
Kevin Grüneberg a77a4c5b35 chore: kaizen changes for disk size billing (#29720) 2024-10-07 21:02:24 +08:00
Raminder Singh 597fb72ff0 fix audit logs title (#29718)
fix audit logs title and label
2024-10-07 17:02:35 +05:30
Jonathan Summers-MuirandWen Bo Xie 0dee525177 chore/ add API keys upcoming change notice (#29664)
* init

* Update Panel.tsx

* Update DisplayApiSettings.tsx

* Update Panel.tsx

* update links

* update to use forwardRef and spread all props

* update copy

* Apply suggestions from code review

Co-authored-by: Wen Bo Xie <5532241+w3b6x9@users.noreply.github.com>

---------

Co-authored-by: Wen Bo Xie <5532241+w3b6x9@users.noreply.github.com>
2024-10-07 18:36:25 +08:00
Jordi EnricandJoshen Lim 6e1e5db7f7 Project Status improvements (#29669)
* add logs links, set status as coming up when project is less than 10 minutes old

* make whole dorpdown item clickable

* Small tweak to UI

* Switch to 5 mins

* Small tweak

* Add useeffect to automatically refresh service status

* Add useeffect to automatically refresh service status

* Address feedback

---------

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2024-10-07 16:41:51 +08:00
Jordi Enric 0d5715c00d add edge logs page (#29665)
* add edge logs page

* add edge logs sidebar link
2024-10-07 16:34:03 +08:00
Joshen Lim 9686f90628 Update auth banner text copy (#29714)
* Update auth banner text copy

* Update copy

* Update copy

* Update copy

* Update copy
2024-10-07 15:10:46 +08:00
Jonathan Summers-Muir 96ede89975 Chore/ Remove SMTP banner from project homapage (#29713)
Update ResourceExhaustionWarningBanner.constants.ts
2024-10-07 07:04:39 +00:00
Kevin Grüneberg b422a15cd1 chore: use amount_due for invoice total (#29692)
To not confuse customers thinking they paid double - we will display the amount_due (amount after credits) for now.

We'll do a more sophisticated iteration later, this is mainly to avoid customers from thinking they paid multiple times for the time of the Orb migration.
2024-10-06 09:41:07 +08:00
Jordi Enric df40b598ff Fix/allow count wildcard (#29689)
* allow count wildcard

* add a test
2024-10-04 20:10:59 +00:00