Commit 0d9bd8a
* Move app-owned components and helpers out of registry-managed paths
confirm-dialog, split-button and user-badge are nebi-specific wrappers, not
@Nebari registry items, so they now live in src/components/ instead of
src/components/ui/. Likewise capitalize and the status colour helpers move
from src/lib/utils.ts (registry-owned, cn() only) into src/lib/strings.ts and
src/lib/status.ts. Importers and tests follow; split-button gains the explicit
button type Biome requires now that it is linted.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
* Re-sync frontend UI primitives with the @Nebari registry
Re-add every installed registry item with --overwrite (code-block, select and
table had drifted; the rest were already current), re-apply @nebari/theme
(adds the --info tokens) and install the @nebari/claude-skill so Claude Code
sessions in frontend/ get the nebari-ui skill. The repo-wide .claude/ ignore
now lets .claude/skills/ through so the installed skill is tracked.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
* Adopt the @Nebari theme hook and align the header with the Nebari recipe
Replace the hand-rolled useThemePreference/useLocalStorageState pair with the
registry's use-theme-preference + theme-provider, mounted once in main.tsx with
the existing nebi:themeMode storage key so saved preferences survive. App reads
theme state via useTheme(); Layout/ProfileMenu take ThemeMode from the registry
hook. index.html gains the pre-paint bootstrap script generated by
themeBootstrapScript('nebi:themeMode') so dark users no longer see a light
flash. The registry hook files are excluded from Biome like components/ui.
Header: drop the last hard-coded rgba shadows in favour of shadow-sm and
shadow-primary/40, size the profile menu at the recipe's 248px, and label the
brand link "Go to homepage".
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
* Fix theme picker overflow in the profile menu
Drop the horizontal padding around the Light/Dark/System control so it
matches the Nebari header recipe. The extra 16px left the muted track too
narrow for the three pills and the System option ran past its edge.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
* Move the Nebari skill to .agents/skills with a .claude symlink
Store the registry-installed skill at frontend/.agents/skills so it is
agent-agnostic, and track frontend/.claude/skills as a symlink to it so
Claude Code (and shadcn re-syncs, which target .claude/skills) still
find it. Only the skills directory is linked so per-directory
settings.local.json files stay out of the tracked tree.
Generalize the .gitignore rules to **/.claude/* and **/.agents/*; the
previous .claude/* pattern was root-anchored and never applied to
frontend/.claude/.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
---------
Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
1 parent 75dfa23 commit 0d9bd8a
39 files changed
Lines changed: 1092 additions & 219 deletions
File tree
- frontend
- .agents/skills/nebari-ui
- .claude
- src
- components
- jobs
- layout
- sharing
- ui
- versions
- workspace
- hooks
- lib
- pages
- admin
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
71 | | - | |
| 71 | + | |
72 | 72 | | |
73 | | - | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
74 | 80 | | |
75 | 81 | | |
76 | 82 | | |
| |||
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
21 | 23 | | |
22 | 24 | | |
23 | 25 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
8 | 28 | | |
9 | 29 | | |
10 | 30 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
| 15 | + | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| |||
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
91 | | - | |
| 91 | + | |
92 | 92 | | |
93 | 93 | | |
94 | 94 | | |
| |||
Lines changed: 8 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | 1 | | |
3 | 2 | | |
4 | | - | |
| 3 | + | |
5 | 4 | | |
| 5 | + | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
8 | 10 | | |
9 | 11 | | |
10 | 12 | | |
| |||
26 | 28 | | |
27 | 29 | | |
28 | 30 | | |
29 | | - | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
30 | 34 | | |
31 | 35 | | |
32 | 36 | | |
| |||
Lines changed: 1 addition & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
| 43 | + | |
48 | 44 | | |
49 | 45 | | |
50 | 46 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
16 | 17 | | |
17 | 18 | | |
18 | 19 | | |
19 | | - | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| |||
91 | 91 | | |
92 | 92 | | |
93 | 93 | | |
94 | | - | |
| 94 | + | |
95 | 95 | | |
96 | 96 | | |
97 | 97 | | |
| |||
144 | 144 | | |
145 | 145 | | |
146 | 146 | | |
147 | | - | |
| 147 | + | |
148 | 148 | | |
149 | 149 | | |
150 | 150 | | |
| |||
162 | 162 | | |
163 | 163 | | |
164 | 164 | | |
165 | | - | |
| 165 | + | |
166 | 166 | | |
167 | 167 | | |
168 | 168 | | |
| |||
0 commit comments