Repository navigation
ui(admin,config): redesign Admin.tsx + Config.tsx with tests - #970
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Warning Review limit reached
Your plan currently allows 1 review/hour. Refill in 22 minutes and 5 seconds. Your organization has run out of usage credits. Purchase more in the billing tab. ⌛ How to resolve this issue?After more review capacity refills, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than trial, open-source, and free plans. In all cases, review capacity refills continuously over time. Please see our FAQ for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (3)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Your free trial has ended. If you'd like to continue receiving code reviews, you can add a payment method here.
d68da15 to
f9be2fe
Compare
There was a problem hiding this comment.
Your free trial has ended. If you'd like to continue receiving code reviews, you can add a payment method here.
There was a problem hiding this comment.
Your free trial has ended. If you'd like to continue receiving code reviews, you can add a payment method here.
|
Size Change: +641 B (+0.15%) Total Size: 425 kB 📦 View Changed
ℹ️ View Unchanged
|
Enterprise-admin register anchored to Linear sidebar (36px density, monospace-adjacent) and Polaris (conversational errors, admin-density). Admin.tsx: compact sticky header (ShieldCheck icon, border-bottom), three loading/unauthenticated/denied/authenticated states, two dense sections (Global Toggles, Server Management). Config.tsx: Polaris module-selection grid (icon in tinted box, hover/focus states with accent hue), module detail with Suspense fallback. Both use Lucky's locked tokens (Sora/Manrope/JetBrains Mono, #ec4899 brand, surface canvas->elevated). Motion: 120ms cubic-bezier(0.2, 0, 0, 1). WCAG 2.2 4.5:1 contrast, ring-lucky-brand focus rings. Test assertions aligned to DOM changes (Config: 'Please select a server to configure', Back button text).
- Fixed undici version constraint in package.json overrides from >=7.24.0 to 7.24.1 - This resolves jsdom dependency issue that was blocking test execution - Admin.test.tsx: 8 tests passing - Config.test.tsx: 4 tests passing - All 12 tests now execute successfully
57a51a5 to
3ebb747
Compare
There was a problem hiding this comment.
Your free trial has ended. If you'd like to continue receiving code reviews, you can add a payment method here.
There was a problem hiding this comment.
Your free trial has ended. If you'd like to continue receiving code reviews, you can add a payment method here.
There was a problem hiding this comment.
Your free trial has ended. If you'd like to continue receiving code reviews, you can add a payment method here.
|
## Summary - Bumps all package.json files from `2.14.1` → `2.15.0` - Populates `CHANGELOG.md` with everything since v2.14.1 - Adds ADR `docs/decisions/2026-05-24-ci-runtime-baseline-accepted.md` (CI runtime baseline: 3–4 min accepted, Jest sharding deferred) ### Changes included in this release **Added** - ServerLogs + ServerSettings UI pages (#965) - AutoMessages executor wiring into execution service (#950) **Changed** - 4 UI redesigns: Admin, Config, Login, ServersPage, CustomCommands, GuildAutomation, Spotify, LastFm (#967–#970) - 5 refactors: AutoplayContext VO (#983), GuildAutomationOrchestrator/Repository split (#982), MessagePipeline chain (#981), ArtistSuggestionService (#980), recommendTracks entrypoint (#979) **Fixed** — deploy CI gap sweep (A–F) - Gap A: hard-fail on OAuth 429 (#1045) - Gap B: surface async deploy via commit statuses (#1046) - Gap C: bot healthcheck polls Discord gateway, not Redis TCP (#1047) - Gap D: post error status on lock contention (#1052) - Gap E: add bot to required containers, remove dead unhealthy grep (#1054) - Gap F: wait for homelab-deploy completion on docker_rebuilt=true path (#1056) - lockfile-hash BuildKit cache key (#1016) - squash-merged release branch archive (#946) **Internal** - Phase 4 test cleanup — 93 tests removed (#956–#1035) - Pre-commit hooks: husky + lint-staged + tsc (#1007) - madge gate promoted to blocking - Dependabot routine bumps (#971–#977, #1042) > **Note:** #1054 (Gap E) may still be in CI — merge this PR after #1054 lands.



Summary
Admin.tsxandConfig.tsxpages using the Lucky design systemAdmin.test.tsx,Config.test.tsx)undicito7.24.1in npm overrides (undici 8.x breaks jsdom in vitest)brace-expansionto5.0.6(stale branch artifact)Test plan
npm run test -- Admin Configpasses inpackages/frontend