Repository navigation
refactor(dashboard): lote 3 — onboarding, playground, api-manager, endpoint, tokens, api-endpoints on the CI UI Kit (KEA-7886) - #17411
Merged
Conversation
…(KEA-7886, lote 3)
…Kit (KEA-7886, lote 3)
…KEA-7886, lote 3)
…below the kit field minimum (KEA-7886, lote 3)
…p the kit height (KEA-7886, lote 3)
…kit-lote3 # Conflicts: # src/shared/constants/iconMap.ts
…n CheckboxGroup, tokens shell, table scrollbar labels (KEA-7886, lote 3)
…kit-lote3 # Conflicts: # src/shared/constants/iconMap.ts
…kit-lote3 # Conflicts: # src/shared/constants/iconMap.ts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Lote 3 — onboarding, playground, api-manager (+
[id]/access,routing), endpoint, tokens, api-endpoints on the CI UI Kit (KEA-7886, Task 33)One commit per screen; adapters,
globals.css,layout.tsxandpackages/ui-kit/**untouched. Only the six lotedirectories,
src/shared/constants/iconMap.ts(41 lote names mapped to Lucide +waving_hand),en.json/pt-BR.json/vi.json(6 new keys each; vi because its parity test pins every en key) and the realigned tests change.
_artifacts/)/dashboard/tokensPageHeader compact; history in kitDataTableShell+Table;Input,Button,Badge,Alert,EmptyState/dashboard/api-manager/routingPageHeader compact/dashboard/onboardingCard,Button,Input, kitCheckbox/RadioGroup+ChoiceCard,CodePreview,Alert, stepper witharia-current/dashboard/api-managerTable;PageHeader;Toggleswitches;Alert; iconButtons with labels; kitCheckbox indeterminate;RadioGroupcatalog scope/dashboard/api-manager/[id]/accessTabs variant="underline"; 13Toggles;Button+aria-pressedsegmented controls;Inputwith labels/dashboard/endpointTable; 7Selects; 4 notices →Alert;Checkbox; MCP/A2A stay in-page tabs;!importantoverrides removed/dashboard/api-endpointsendpoint/ApiEndpointsTab) methodBadges, curlCodePreview, rowButtonwitharia-expanded/dashboard/playgroundModal/ConfirmModal; export →CodePreview+ kitTabs;SegmentedControlstudio tabs; kitSlider;Toggle; GFM tables → kitTable; 49 buttons →ButtonRealignments keep the same assertion on the new DOM (portal queries,
aria-pressedfor selected state, kit buttonclasses, Lucide
svg[data-icon]instead of ligature text). Nothing skipped, no assertion dropped.P6 greps (lote directories)
Validation (head 41d65be = fix round 2: vi keys + merge of
feat/new-uikit47c9f3f ⊃ lote 4)npm run typecheck:coreicon-map-coveragei18n-vi-completenessnpm run check:ui-icunpm run lint -- --concurrency=6npm run check:dashboard-typecheckproviders/[id]/components/ConnectionsListPanel.tsxTS2322 baseline 3 → 4 (indeterminateon the Checkbox adapter); not a file of this PR--testTimeout=30000)npm run build$?), "Turbopack build encountered 232 warnings" (= base)Screenshots:
_artifacts/lote3-<tela>-{light,dark,390}.png(local paths on the devbox).Deviations / pendências (10; details in the batch report)
Kit
Wizard/SetupProgressCard/SaveChangesBarlack i18n props — not adopted on onboarding. Hard-coded inwizard.tsx(onlynextLabel/loadingLabeloverridable):Step {n} of {m},Save and close(aria-label +tooltip),
Save and exit,Setup progress,Go back to/Go to,, completed,Back,Skip for now,Saving…; no footer/actions slot;onSkiprequired (Skip always rendered); singleonNextcannot carry per-stepactions.
SetupProgressCard(onlytitle/note):Expand/Minimize setup progress,Dismiss setup progress,{c} of {n} setup steps complete,Review/Complete {title},Resume setup.SaveChangesBar:Unsaved changes(aria-label + status),
Saving…. Needed: alabelsobject per component,hideSkip, a footer/actions slot.api-manager: no
DataTableShellaround the key list (the existing filter bar + kitTable); created key stays areadonly
Input+ copy (e2e pinsinput[readonly]).[id]/access: numericInputs for max sessions / throttle (0–300 000 ms) instead ofSlider. (The endpointcategories now use
CheckboxGroup+ cardCheckbox, fix round 1.)Kit Playground pattern not adopted.
RequestWorkbench(onlytitle/description/endpointoverridable)hard-codes
Model,Live marketplace pricing…,Choose a model,Prompt,Run request/Running request; keepsmodel/prompt/parameters in internal
useState(no value/onChange) and disables Run unlesswalletStatus === "connected".ParameterControls: fixed fields + English labels (no seed, stop, JSON mode,reasoning).
LiveResponsePanel:Live response,Complete,Streaming, empty/loading/error copy,Try again,Assistant output.RequestResultMetrics:Status,Latency,Tokens saved,Cost saved. Needed:labels,controlled
value/onValueChange, extensible parameter set, wallet-free mode. Lote 4's combos playground dependson this.
CodePreviewsr-only/error strings are English-only (Code copied to clipboard,Could not copy code…).Pre-existing hard-coded English left for the i18n wave (api-manager row chips, LimitsTab
Add Limit/sec,BuildTab
Tool result, ModelsTabBlock … family, …).playground.closeExportModalis now unused (the export modal closes with the Modal'scommon.close); not removed(66-locale completeness rule).
UsageLimitSettingsenabledLabel/disabledLabelprops are kept for callers but unused: the Enabled/Disabled textpills became kit Switches (
Toggle).Pre-existing at 390 px: the playground config pane keeps its fixed
w-72and crushes the chat/compare columnon phones (needs a stacked or Sheet layout).
Pre-existing: emoji glyphs (🪙 token balance, ✨ improve-prompt) render as empty boxes where the system has no
emoji font (headless/Linux); replace with Lucide icons or an emoji font.
Tokens history: kept the ledger table inside the kit
DataTableShell(loading overlay owner); no filters/paginationexist on this page, so the shell has no toolbar.