Commit Graph
23 Commits
Author SHA1 Message Date
Charis e20038e2f2 refactor: move auth guides into content directory (#20777)
Begin the process of moving our MDX files into their own content directory.

Fixed a few minor bugs re: ToC and tabs not rerendering consistently on page navigation. (The ToC thing wasn't a problem before the refactor, the tabs thing is a problem on prod.)

Moved MDX files can't import their own components, so everything they require needs to be back in the component prop for mdx-remote's serializer. Cleaned this up a bit and lazy-loaded heavy/rare stuff. Also, the component prop doesn't take arbitrary objects (only actual components), so imported data has to be wrapped in a component.
2024-02-07 17:25:08 +00:00
Joshen Lim 34a2ccdae3 feat/notifications v2 (#19162)
* Midway implementation notifications v2

* Some updates to Tab component

* Midway implementation notifications v2 again

* implement infinite scrolling and loading for notification sv2

* Add button actions

* Implement archive notifications

* Add filter dropdown for notifications

* Update date format

* Small style fix

* Update

* Update API codegen

* Add empt state

* Add empty state for archived notifications

* Fix type

* Final changes to notifications v2

* Small style fix

* Small fix

* Only mark notifications that come into view as read

* Update package lock
2024-01-08 12:52:48 +08:00
Charis e11717493f wrap tab lists to prevent overflow (#18859)
Quick fix to add a wrapping option that makes tabs visible if there are
many of them.

Long-term fix would be to detect overflow and switch to a dropdown in
that case. Or use dropdown for smaller screens only and let it wrap on
larger screens (since it will be rarer for wrapping to trigger there).
2023-11-15 16:09:58 -05:00
Kevin Grüneberg c768f36eeb chore: cleanup older toggles (#18675) 2023-11-03 11:59:13 +00:00
8057309e51 chore: upgrade next 13 + react 18 (#17839)
* update deps + image codemod (studio)

* update next links (studio)

* update deps

* update links (ui)

* remove next-transpile-modules

* move next-themes dependency

* chore: update ConfirmDialog

* chore: remove old ConfirmModal js file. migrated to TS

* dependency wrangling

* remove empty page

* update next links (www)

* First run bump react-data-grid-v7 beta 4

* fix package-lock.json

* more deps wrangling

* update recharts

* update sentry options

* fix some broken things in www

* studio fixes

* fix graphiql

* fix studio build

* fix menu hydration

* small build error

* update turbo

* fix www typescript errors

* docs image codemod

* links codemod docs

* fix docs typescript errors

* move useConsent to ui to prevent circular deps

* Fix links

* Fix homepage

* Fix links

* move studio/ to apps/

* Revert "move studio/ to apps/"

This reverts commit 1b0a985fcb.

* disable outputFileTracingRoot

* remove outputFileTracingRoot

* fix homepage product cards

* fix PrivacySettings links

* Fix links

* Fix the build for www.

* Minor fixes for JWTGenerator.

* Fix the docs and ui tests.

* Revert codehike back to 0.8.3

* remove ConfirmAlert()

* reenable babel because mobx hates me

* fix blog image and comparison page avatar

* Fix svg errors

* update image synthax

* Fix code hike

* Move the button in a div so that it doesn't inherit its parent height and make the button look weird.

* When components are defined in a component, they get recreated on each render. This makes them unstable in certain cases and causes infinite rerenders.

* Replace the next/head usage with next/script.

* Chore/upgrade next 13 fix table editor (#18431)

* fix table editor styling and fix row deletion logic

* Fix deleting selected rows from header, and fix checkboxes not clearing up

* Fix deleting all rows when filter applied, and fix deleting all rows

* Fix grid size styling issue

* Fix TS error

* Hydration errors

* studio org pages fixes

* fix more studio links

* audit logs fixes

* dropdown icon styling fixes

* fix some images in www

* upgrade to next 14

* try new sentry wrapper for api

* see if this is even invoked

* Revert "see if this is even invoked"

This reverts commit 86c3973ffa.

* Revert "try new sentry wrapper for api"

This reverts commit f67623ebad.

* Revert "upgrade to next 14"

This reverts commit a24dd6131e.

* chore: allow node version 19/20

* Try to fix the LogTable so that it renders with the newer "react-data-grid" version.

* Fix type errors in the log renderer code.

* Fix the replication screen.

* Add the CSS for the GraphiQL.

* Fix SQL editor results rendering

* Lint

* Fix SQL editor results height issue

* Fix auth RLS not invalidating RQ when toggling RLS

* Fix database tables new/edit column regressed

* Fix migrations page empty state if migrations schema not yet created

* Fix API side panel docs temp remove postgrest text for column description PK and FK

* Fix + improve timeout handling in SQL editor

---------

Co-authored-by: Jonathan Summers-Muir <MildTomato@users.noreply.github.com>
Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
Co-authored-by: Francesco Sansalvadore <f.sansalvadore@gmail.com>
Co-authored-by: Terry Sutton <saltcod@gmail.com>
Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com>
Co-authored-by: Kevin Grüneberg <k.grueneberg1994@gmail.com>
2023-10-31 05:51:46 +00:00
Greg Richardson 98c4103463 Docs: Switch tabs using query param (#17626)
* feat: switch tabs using url hash

* feat: switch tabs using query param
2023-09-22 11:29:25 -06:00
Jonathan Summers-Muir 2b3d49af3b chore: update old brand-700 to new brand-400 2023-07-30 17:03:30 +08:00
Jonathan Summers-Muir 698e2a47f0 revert 2023-06-30 11:23:29 +08:00
Jonathan Summers-Muir 8d383a35d6 Merge branch 'master' into feat/vercel-integration-v2 2023-06-30 11:14:08 +08:00
Kevin Grüneberg 05d229dae5 fix: conditional elements in Tabs 2023-06-29 14:37:38 +02:00
Alaister Young a8e24c7f53 Merge branch 'master' into feat/vercel-integration-v2 2023-06-28 21:41:56 +10:00
Greg Richardson 1038b4143a feat: shared tab state between matching tab groups 2023-06-21 11:33:30 -06:00
Jonathan Summers-Muir ff192066bd fix tab props 2022-12-08 00:59:42 +08:00
Jonathan Summers-Muir f417388c6f add collapsible 2022-12-06 20:15:24 +08:00
Jonathan Summers-Muir e4798dc565 Merge branch 'master' into feat/docs2.0 2022-11-10 13:15:16 +08:00
Jonathan Summers-Muir c107c5df19 add codehike, some basic parameters to ref docs, and some other stuff 2022-11-10 01:15:59 +08:00
Francisco Mazzoni 3275b9e47a default active tab to first panel if present, otherwise uses url hash 2022-11-08 18:54:46 -03:00
Terry Sutton 5029c753ad Fix failing test 2022-10-28 16:48:28 -02:30
Terry Sutton 1a1a4cda42 Reverse activetab priority 2022-10-19 10:26:03 -02:30
Terry Sutton 7f72c73de9 Tabs component uses url hash if exists 2022-10-17 17:23:11 -02:30
Jonathan Summers-Muir 55329d540e move to ui package drectory 2022-09-19 14:00:05 +02:00
Jonathan Summers-Muir b0233d3e3d remove old package. ready to rename other directory 2022-09-19 13:06:03 +02:00
Jonathan Summers-Muir d1b55da7d2 chore: move UI into main repo 2022-09-14 11:52:10 +02:00