Commit Graph
47 Commits
Author SHA1 Message Date
Gildas Garcia 8577b5fe77 chore: remove <Accordion> _Shadcn_ suffix (#46107)
## Problem

The `_Shadcn_` suffix isn't needed anymore on Accordion components

## Solution

- Remove the `_Shadcn_` suffix
- Simplify UI package exports
- Apply prettier

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

* **Refactor**
* Updated accordion component exports and imports to use unified naming
conventions across the codebase, improving consistency for developers
using the UI library.

<!-- review_stack_entry_start -->

[![Review Change
Stack](https://storage.googleapis.com/coderabbit_public_assets/review-stack-in-coderabbit-ui.svg)](https://app.coderabbit.ai/change-stack/supabase/supabase/pull/46107?utm_source=github_walkthrough&utm_medium=github&utm_campaign=change_stack)

<!-- review_stack_entry_end -->

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2026-05-19 17:04:00 +02:00
Gildas Garcia 082c2546d2 chore: migrate from deprecated Accordion to new shadcn components (#46103)
## Problem

We have multiple Accordion components

## Solution

Migrate Accordion usages to Shadcn components

## Screenshots

### Documentation MDX pages
Before:
<img width="1156" height="1088" alt="image"
src="https://github.com/user-attachments/assets/0f7b90ec-a613-45cf-8b04-39d2fd4b9644"
/>

After:
<img width="1154" height="952" alt="image"
src="https://github.com/user-attachments/assets/05c5051d-fa2a-497a-8f6f-96d555098e33"
/>

### Documentation Mobile Menu
Before:
<img width="389" height="674" alt="image"
src="https://github.com/user-attachments/assets/c9a0fa7a-3590-4f10-acfd-8add16c28b7b"
/>

After:
<img width="376" height="665" alt="image"
src="https://github.com/user-attachments/assets/d85fe05d-6d71-4e63-b0ea-cdc495d2fa94"
/>

### www - Launch week pages
Before:
<img width="1434" height="718" alt="image"
src="https://github.com/user-attachments/assets/d777f887-65d4-49f2-8b12-5b05010ba95d"
/>

After:
<img width="1428" height="732" alt="image"
src="https://github.com/user-attachments/assets/4fa7eb02-12c7-4b3b-b77f-09846518690c"
/>



<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

* **Refactor**
* Replaced and standardized accordion UI across docs, navigation, mobile
menu, pricing FAQs, Launch Week pages, and error/detail panels for a
more consistent, reliable expand/collapse experience.
* **Bug Fixes**
* Fixed inconsistencies in accordion behavior and item rendering (e.g.,
multi-open support and disabled states) to improve navigation and
content discovery.

<!-- review_stack_entry_start -->

[![Review Change
Stack](https://storage.googleapis.com/coderabbit_public_assets/review-stack-in-coderabbit-ui.svg)](https://app.coderabbit.ai/change-stack/supabase/supabase/pull/46103?utm_source=github_walkthrough&utm_medium=github&utm_campaign=change_stack)

<!-- review_stack_entry_end -->
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2026-05-19 16:23:40 +02:00
Ivan VasilovandJordi Enric 56de26fe22 chore: Migrate the monorepo to use Tailwind v4 (#45318)
This PR migrates the whole monorepo to use Tailwind v4:
- Removed `@tailwindcss/container-queries` plugin since it's included by
default in v4,
- Bump all instances of Tailwind to v4. Made minimal changes to the
shared config to remove non-supported features (`alpha` mentions),
- Migrate all apps to be compatible with v4 configs,
- Fix the `typography.css` import in 3 apps,
- Add missing rules which were included by default in v3,
- Run `pnpm dlx @tailwindcss/upgrade` on all apps, which renames a lot
of classes
- Rename all misnamed classes according to
https://tailwindcss.com/docs/upgrade-guide#renamed-utilities in all
apps.

---------

Co-authored-by: Jordi Enric <jordi.err@gmail.com>
2026-04-30 10:53:24 +00:00
Ivan Vasilov 308cd791a2 chore: Prep work for migrating to Tailwind v4 (#45285)
This PR preps the monorepo for a migration to Tailwind v4:
- Bump all Tailwind dependencies and libraries to the latest possible
version, while still compatible with Tailwind 3.
- Cleans up obsolete Tailwind 3 specific options and configs.
- Cleans up unused CSS files and fixes the CSS imports.
- Migrates all `important` uses in `@apply` lines to using the `!`
prefix.
- Move `typography.css` to the `config` package and import it from the
apps.
- Migrated all occurrences of `flex-grow`, `flex-shrink`,
`overflow-clip` and `overflow-ellipsis` since they're deprecated and
will be removed in Tailwind 4.
- Make the default theme object typesafe in the `ui` package.
- Migrate all `bg-opacity`, `border-opacity`, `ring-opacity` and
`divider-opacity` to the new format where they're declared as part of
the property color.
- Bump and unify all imports of `postcss` dependency.
2026-04-28 11:33:53 +02:00
Francesco SansalvadoreandAnt Wilson accf7618eb Eagle (#22425)
* lw11 ga ticketing

* add @types/animejs

* build new game word

* og ticket layout

* ticket og layout

* lw11 ticketing flow

* remove unused assets

* clean up old LW code

* smol cleanup

* update lw11 og function

* update lw11 og function

* prepare

* main layout

* layout

* update naming

* fix lw11 canvas resize

* lw announcement countdown banner

* hp badge

* update lw page

* cleanup

* update banners

* update ticket shape

* update share string

* update launch time

* avatar in ticket

* update lw11-og handler

* mask ticket glow

* update game with input-otp

* clean up game

* update ticketing page title

* update

* update awards

* special event

* update constants

* fix mobile inputs bug

* update announcements

* dots grid

* remove 2024

* gst

* fix ticket user page

* less stacked layout

* lw

* update secret ticket

* update sharing layout

* max width to ticket container

* update tweet text

* clean up merge

* npm i

* update hero announcement

* update footer

* update types

* fix types

* Update apps/www/lib/constants.ts

* Update apps/www/lib/constants.ts

* Update apps/www/lib/constants.ts

* Apply suggestions from code review

* update og

* og

* special announcement

* special announcement

* fix favicon

* url timestamp for cache

* cache

* favicon

* remove file

* fix title

* game only when signed in

* user ticket nme

* day

* switch to /special-announcent

* update /special-announcement

* update /special-announcement

* skip build

* redirect

* fix theme in /special-announcement

* fix mobile ticket form

* image not draggable

* cleanup

* restore latest manifest

* update secret ticket tweet

* secret share

* update text

* fix secret share

* typo

* remove comment

* update deprecated icon

* restore input.stories

---------

Co-authored-by: Ant Wilson <awalias@users.noreply.github.com>
2024-04-04 13:09:21 +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
Francesco Sansalvadore 9686c3462a scroll page when navigating to archive launch weeks 2023-08-21 16:44:02 +03:00
Francesco Sansalvadore 038ac0764a update links 2023-08-11 16:49:56 +02:00
Francesco Sansalvadore 4cf0e720a9 d5 setup 2023-08-11 16:49:55 +02:00
Francesco Sansalvadore 3821c657fd lw cleanup 2023-08-10 15:52:24 +02:00
Francesco Sansalvadore fac3094939 product hunt link 2023-08-10 15:42:20 +02:00
Francesco Sansalvadore 7a89d8dcfe remove templates link 2023-08-10 14:11:56 +02:00
Francesco Sansalvadore f577e23077 day 4 images and content update 2023-08-10 10:23:45 +02:00
Francesco Sansalvadore d1df80d499 d4 setup 2023-08-10 09:54:59 +02:00
Francesco Sansalvadore 85e60418aa update lw8 svg images with bg 2023-08-09 18:40:30 +02:00
Francesco Sansalvadore c7ba1002cc align features center on mobile 2023-08-09 16:54:38 +02:00
Francesco Sansalvadore 326561c048 update day 3 image 2023-08-09 15:28:08 +02:00
Francesco Sansalvadore f03f007601 add studio 3 feature list 2023-08-09 14:57:04 +02:00
Francesco Sansalvadore 4ce8478912 day 3 initial setup 2023-08-08 18:53:38 +02:00
Francesco Sansalvadore 56e38119da lw8: update current day widget 2023-08-08 16:12:13 +02:00
Francesco Sansalvadore f5b26b0d81 lw8: day 2 card setup 2023-08-08 16:12:13 +02:00
Francesco Sansalvadore 7cbe8e2851 lw8: update and clean up card 2023-08-08 16:12:13 +02:00
Francesco Sansalvadore b8ec99c05b Add hn link 2023-08-07 19:11:42 +02:00
Francesco Sansalvadore e92e7663c1 Fix firefox modal bug 2023-08-07 19:10:54 +02:00
Francesco Sansalvadore ce07a5f4e4 Add video to card 2023-08-07 18:09:36 +02:00
Francesco Sansalvadore 8368142f2c Comment hn 2023-08-07 16:51:34 +02:00
Francesco Sansalvadore 2361e23832 lw8: add youtube link 2023-08-07 16:25:19 +02:00
Francesco Sansalvadore 49d49deefb lw8: add twitter spaces in accordion header 2023-08-07 16:25:19 +02:00
Francesco Sansalvadore a2ac28030e lw8: fix day 1 gradient 2023-08-07 16:25:19 +02:00
Francesco Sansalvadore 5332b29fde lw8: fix day 1 image 2023-08-07 16:25:19 +02:00
Francesco Sansalvadore 4d559dbfba lw8: current day widget 2023-08-07 16:25:19 +02:00
Francesco Sansalvadore 00f53d071c lw8: update thumbnail img 2023-08-07 16:25:19 +02:00
Francesco Sansalvadore 7276e4c91f lw8: update twitter_spaces 2023-08-07 16:25:19 +02:00
Francesco Sansalvadore 45a2275b4c lw8: update pre-launch data 2023-08-07 16:25:19 +02:00
Francesco Sansalvadore 8200741ba6 lw8: expandable video in accordion header 2023-08-07 16:25:19 +02:00
Francesco Sansalvadore 3d807e4915 lw8: current day widget 2023-08-07 16:25:18 +02:00
Francesco Sansalvadore 83fe2997d2 lw8: initial day 1 setup 2023-08-07 16:25:18 +02:00
Francesco Sansalvadore 8e2056693d lw8: dynamic data 2023-08-04 16:28:00 +02:00
Francesco Sansalvadore 692d949e9f lw8: update blog link 2023-08-04 16:25:40 +02:00
Francesco Sansalvadore fa0bb100c6 Full width Friday blog post card 2023-08-03 17:16:44 +02:00
Francesco Sansalvadore 5966ca35fe Clean up pre launch page 2023-08-03 15:46:12 +02:00
Francesco Sansalvadore 34337c4165 Countdown only on upcoming day 2023-08-03 13:48:24 +02:00
Francesco Sansalvadore 7d5d9826ff Pre release rebase 2023-08-03 13:00:13 +02:00
Francesco Sansalvadore c0f84c2297 lw8: set up lw8_meetups realtime changes from db 2023-08-03 12:20:41 +02:00
Francesco Sansalvadore 0620bd3cfe lw8: initial info 2023-08-03 12:19:20 +02:00
Francesco Sansalvadore 5cf5d1d3c5 lw8: archive and meetups components 2023-08-03 12:18:59 +02:00
Francesco Sansalvadore fc257d93ca lw8: pre release page setup 2023-08-03 12:13:22 +02:00