Commit Graph

21 Commits

Author SHA1 Message Date
Charis
ac192a5024 refactor(docs): migrate home page to app router (#27221) 2024-06-24 18:47:53 -04:00
Charis
ec86bbc4fe feat: new auth ia (#22812)
Co-authored-by: Kang Ming <kang.ming1996@gmail.com>
Co-authored-by: Joel Lee <lee.yi.jie.joel@gmail.com>
2024-05-07 20:15:06 +00:00
Charis
2f4f0adbd1 rework tabs query state to work better across both routers (#23253)
Refactor tabs so that:

- Behavior add-ons, such as query params, are HOCs in ui-patterns, to keep the basic Tabs minimal
- No dependency on next/router (this is to smooth out a separate App Router migration PR)
- No dependency on useSearchParams either (this is to preserve static generation of as much HTML content as 
  possible, for SEO purposes -- see comment about client-rendering bailout when using useSearchParams)
- Syncing behavior better localized in a hook

Minor enhancement to save tab preferences to local storage so they are remembered between sessions
2024-05-02 14:50:07 -04:00
Einshine || Shine
269c03e36a Enhanced useHash.ts hook ^^ (#22374)
* Enhanced useHash.ts hook ^^

added dependencies,
auto URL parsing rather than manually splitting it,
lastly cleanup in useEffect!

* Ran Prettier : )

* style: appease prettier

---------

Co-authored-by: Charis Lam <26616127+charislam@users.noreply.github.com>
2024-04-16 18:39:31 +00:00
Charis
8e146fed8a fix: server rendering bug (#22523) 2024-04-08 19:27:44 +10:00
Charis
fef87b78fb fix: change remediation links for database linter (#22520)
* fix: change remediation links for database linter

* fix: tab update behavior
2024-04-05 19:58:23 +00:00
Charis
1d52dfacde feat: federated docs for linter (#22472)
* feat: federated docs for linter

* style: clean up

* fix: toc and link rewrite

* fix: remove console logs
2024-04-04 13:35:31 -04:00
Charis
7cf2eae953 fix: statically build the right nav on each page (#21469)
Before: All pages have the Home nav menu in static HTML, which is blown away and replaced by the proper nav menu upon hydration. This leads to jankiness when the page first loads and an unpleasant flash of the wrong nav menu (especially obvious on the JavaScript ref page, which takes a long time to process and rerender the nav).

Now: All pages have their correct nav menu in static HTML.
2024-02-23 11:38:06 -05:00
Charis
2a0c0e06b8 readd docs api config variables with fixes (#20309) 2024-01-23 07:53:10 +11:00
Greg Richardson
ed4f8d4e7b feat: replace algolia ui with custom search ui 2023-03-01 13:31:42 -07:00
Terry Sutton
50194cf733 Add configcat 2023-02-06 15:56:24 -03:30
Jonathan Summers-Muir
948132c406 do same with red docs 2022-12-14 01:47:41 +08:00
Jonathan Summers-Muir
44065bcfea fix mobile menu 2022-12-13 20:08:51 +08:00
Jonathan Summers-Muir
1cadb88812 update mobile menu 2022-12-12 20:36:13 +08:00
Jonathan Summers-Muir
c06148a90c fix home sidebar 2022-12-12 20:13:01 +08:00
Jonathan Summers-Muir
9f4187806b fixing mobile menu 2022-12-12 20:08:44 +08:00
Jonathan Summers-Muir
31b8273c99 remove console logs 2022-12-08 10:35:56 +08:00
Terry Sutton
600ae9d9db Remove unneeded slashes before url path 2022-12-07 15:55:31 -03:30
Jonathan Summers-Muir
8e9b9cd4a7 updated common and sidebars for filters and modifiers 2022-12-08 00:19:56 +08:00
Joshen Lim
de2d0f732a Fix TOC highlight 2022-11-25 16:52:13 +08:00
Joshen Lim
986cccb9b1 Rename temp docs to docs 2022-11-03 20:40:03 +07:00