style(ui): polish shared console surfaces
Summary (AI generated)
- Polished shared console chrome: sidebar, navbar, tab rows, app/settings/admin layout backgrounds, table controls, and chart cards.
- Refined auth page surfaces by reducing oversized radii, removing decorative orb backgrounds, and improving card/background contrast.
- Fixed the app table footer range from zero-based display to human-readable pagination and included before/after screenshots for every changed page reviewed.
Motivation (AI generated)
The console already has a strong base, but several repeated surfaces felt heavier or less tactile than they needed to be: inactive nav items had low contrast, active tabs blended into the page background, table controls had inconsistent target sizes, and the auth pages leaned on decorative blobs. These tweaks make the product feel cleaner without changing the underlying structure or workflows.
Business Impact (AI generated)
- Improves perceived quality across the main Capgo dashboard without a full redesign.
- Makes repeated admin and app-management workflows easier to scan and tap.
- Keeps the work low-risk by focusing on shared visual primitives and small behavior polish.
Screenshots (AI generated)
| Page | Before | After |
|---|---|---|
| Login | ![]() |
![]() |
| Dashboard | ![]() |
![]() |
| Apps | ![]() |
![]() |
| App overview | ![]() |
![]() |
| App bundles | ![]() |
![]() |
| Settings organization | ![]() |
![]() |
Test Plan (AI generated)
- [x]
bun lint - [x]
bun typecheck - [x]
bun run build - [x]
bun test:front- 19 passed
Summary by CodeRabbit
-
New Features
- Added configurable page size option for tables, with default of 10 items per page.
-
Style
- Refreshed UI color theme from blue to slate across layouts and backgrounds.
- Updated component styling for tables, navigation, cards, and buttons for improved visual consistency.
- Enhanced font rendering with improved antialiasing.
-
Bug Fixes
- Simplified authentication for replication status loading to use session-based tokens.
This PR introduces configurable pagination to DataTable via a new optional Component Behavior & Authentication Updates Design & Theme Updates π― 3 (Moderate) | β±οΈ ~25 minutes π° A hop through the theme so bright, βοΈ Tip: You can configure your own custom pre-merge checks in the settings.π Walkthrough
Walkthrough
pageSize prop, simplifies replication dashboard authentication to require Supabase session tokens only, and applies a comprehensive design theme refresh across UI components by updating Tailwind classes and CSS typography settings.Changes
Layer / File(s)
Summary
DataTable Pagination Props
src/components/DataTable.vueNew optional
pageSize?: number prop enables external control of pagination sizing.
DataTable Pagination Logic
src/components/DataTable.vueComputed
paginationPageSize uses the prop (with offset fallback), displayElemRange and canNext() recalculate pagination bounds, and fastForward() adjusts last-page navigation to use the new size logic.
DataTable UI Styling
src/components/DataTable.vueHeader buttons, filter controls, bulk selection, table cells, action buttons, and pagination navigation receive updated Tailwind class strings for padding, sizing, colors, and hover states.
AppTable Integration
src/components/tables/AppTable.vueAppTable now passes a fixed
page-size="10" binding to DataTable.
Replication Dashboard Authentication
src/pages/admin/dashboard/replication.vueloadReplicationStatus is simplified to always authenticate via Supabase session access token (removing the previous conditional apisecret fallback), and loading spinner minimum height is adjusted from min-h-[300px] to min-h-75.
Layer / File(s)
Summary
Navigation Components Styling
src/components/Navbar.vue, src/components/Sidebar.vueNavbar gains sticky positioning, backdrop blur, and refined border styling; mobile menu button is restyled with inline-flex sizing; sidebar backdrop adds blur effect; sidebar and breadcrumb links update to new hover/focus/dark-mode class variants.
Tabs Component Styling
src/components/Tabs.vueactiveTabColor() switches to updated color palettes; tab list and button class constants are updated; both primary and secondary tabs switch to overflow-x-auto for no-wrap scrolling behavior.
Authentication & Shell Styling
src/components/auth/AuthPageShell.vue, src/pages/login.vueDecorative blob backgrounds are replaced with radial-gradient overlays; card corner radii are adjusted (
rounded-2xl, rounded-xl); auth card shell and main wrapper styling is updated with new gradient, shadow, and responsive parameters.
Dashboard & Layout Background Colors
src/components/dashboard/ChartCard.vue, src/layouts/*.vueChartCard updates border, shadow, and gradient height; evolution badges switch to cyan-600 and amber-600; layout files change main container backgrounds from blue-tinted (
bg-blue-50/dark:bg-slate-800/40) to slate-tinted (bg-slate-50/dark:bg-slate-950/40).
Global Typography & Font Rendering
src/styles/style.cssLetter-spacing CSS custom properties for all text sizes are normalized to
0 (from negative em values); html element gains -webkit-font-smoothing: antialiased and text-rendering: optimizeLegibility.Estimated code review effort
Possibly related PRs
Sky-blue buttons catching light,
Slate-hued layouts, clean and wide,
Pages flow with better strideβ
Pagination sized just right! β¨π₯ Pre-merge checks | β
5
β
Passed checks (5 passed)
Check name
Status
Explanation
Title check
β
Passed
The title accurately summarizes the main change: UI polishing of shared console surfaces through styling updates across components.
Description check
β
Passed
The description covers all required template sections: Summary, Test plan (with results), Screenshots (before/after for multiple pages), and Checklist items marked as completed.
Docstring Coverage
β
Passed
No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check
β
Passed
Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check
β
Passed
Check skipped because no linked issues were found for this pull request.
β¨ Finishing Touches
π§ͺ Generate unit tests (beta)
codex/ui-polish-tweaks-9067βοΈ Resolve merge conflicts
codex/ui-polish-tweaks-9067
Comment @coderabbitai help to get the list of available commands and usage tips.
Quality Gate passed
Issues
0 New issues
0 Accepted issues
Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
@coderabbitai review
Review triggered. Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.β
Actions performed
ο»ΏI think the new pagination math is only partially wired up. DataTable now uses props.pageSize ?? offset.value, but most existing server-paginated callers still pass :offset="offset" instead of :page-size, for example BuildTable.vue, BundleTable.vue, ChannelTable.vue, and DeviceTable.vue. Since offset is not a declared DataTable prop, Vue treats it as an extra attribute on the root element and paginationPageSize falls back to elementList.length.
That fallback breaks on a short final page. If a table has 25 total rows, a real page size of 10, and page 3 returns 5 rows, the range becomes 11-15 instead of 21-25, canNext() still compares 3 < Math.ceil(25 / 5), and the next/fast-forward controls can move past the real last page.
Could we either keep offset as a backwards-compatible alias in DataTable or update all the server-paginated callers to pass :page-size="offset" / their fixed page size? A regression around a 25-row table with a 5-row last page would catch this.











