[PR #353] [MERGED] Redesign dashboard and configuration screens #8268

Closed
opened 2026-08-24 04:02:48 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/RayLabsHQ/gitea-mirror/pull/353
Author: @arunavo4
Created: 8/3/2026
Status: ✅ Merged
Merged: 8/3/2026
Merged by: @arunavo4

Base: main ← Head: redesign/settings-ui


📝 Commits (2)

  • fddc02e feat(ui): redesign dashboard and configuration screens
  • 5bc5ea3 fix(ui): design polish pass from local review

📊 Changes

29 files changed (+10584 additions, -2824 deletions)

View changed files

📝 .github/assets/dashboard.png (+0 -0)
📝 .github/assets/dashboard_mobile.png (+0 -0)
📝 design/giteamirror.pen (+8025 -551)
📝 docs/FORCE_PUSH_PROTECTION.md (+1 -1)
📝 src/components/config/AutomationSettings.tsx (+292 -398)
📝 src/components/config/ConfigTabs.tsx (+66 -37)
📝 src/components/config/GitHubConfigForm.tsx (+296 -287)
📝 src/components/config/GitHubMirrorSettings.tsx (+616 -751)
📝 src/components/config/GiteaConfigForm.tsx (+216 -196)
📝 src/components/config/NotificationSettings.tsx (+244 -261)
📝 src/components/config/OrganizationConfiguration.tsx (+48 -53)
📝 src/components/config/OrganizationStrategy.tsx (+75 -82)
📝 src/components/config/SSOSettings.tsx (+86 -81)
➕ src/components/config/settings-ui.tsx (+341 -0)
📝 src/components/dashboard/RecentActivity.tsx (+47 -21)
📝 src/components/dashboard/RepositoryList.tsx (+6 -3)
📝 src/components/dashboard/StatusCard.tsx (+17 -13)
📝 src/components/layout/Header.tsx (+0 -3)
📝 src/components/layout/Sidebar.tsx (+11 -0)
📝 src/components/layout/TimeFormatToggle.tsx (+98 -22)

...and 9 more files

📄 Description

Full visual redesign of the dashboard and every configuration tab, implemented from the design file in design/giteamirror.pen, plus a polish pass from hands-on local review.

What changed

New design language, applied everywhere through shared primitives in src/components/config/settings-ui.tsx:

  • Cards with icon headers, section dividers and status footers
  • The enable switch lives in the card header, so the old "Enable X" rows are gone
  • Toggle switches replace checkboxes across all settings
  • Long option descriptions cut to one line, with the detail moved behind info tooltips
  • Selection tiles (icon chip, title, one-line description, check mark on the active option) for organization strategy, destructive update protection and orphaned repo handling
  • Segmented controls for notification provider, starred repo destination, org visibility and the SSO dialog protocol tabs
  • Indigo accent for active states and primary actions (Import GitHub Data, Send test, Add provider)

Per screen

  • Connections: GitHub and Gitea connection cards share a stretched grid row so they stay equal height, with a token creation guide (steps, scope chips, direct link) and helper text under fields. Repository Selection sits on the left with Destructive Update Protection below it; Organization Structure and Mirror Content fill the right column. Every mirror option is covered, including starred content, star lists and org limiting.
  • Automation: schedule card with timezone pill, one-line auto-mirror copy, Database Maintenance, and a full-width Repository Cleanup card with Skip / Archive / Delete tiles and a dry run switch
  • Notifications: segmented provider picker (ntfy, Apprise, Gotify, Webhook), per-event switches, Send test in the footer
  • Authentication: side-by-side cards; sign-in method switches reflect real state (disabled, with info hints explaining where each is controlled); restyled SSO provider dialog
  • Dashboard: flatter stat cards, icon panel headers, activity rows with status icon circles, indigo view-all links
  • Header and sidebar: the time format button shows a live clock and opens a menu with locale pill and live format examples; the theme switcher moved to the sidebar as an icon segmented control, and the "system" preference now actually persists

Fixes that rode along

  • Automation no longer shows a stored legacy "UTC" as if the user chose it; it falls back to the browser timezone
  • Config tab bar wraps two by two on narrow screens instead of overflowing
  • BETA label removed from Destructive Update Protection

Not changed: all state handling, autosave and API behavior. Repositories, Organizations and Activity Log pages keep their current design on purpose. Light mode still works since everything uses theme tokens.

Two deliberate UX substitutions from the old UI, flag if you disagree:

  1. The orphaned repo action dropdown became three tiles
  2. The strategy radio cards lost their radio dots in favor of a check on the selected tile

Screenshots

Dashboard

Dashboard

Connections

Connections

Automation

Automation

Notifications

Notifications

Authentication

Authentication

Testing

  • 441 tests pass, no type errors in touched files
  • Logged in and clicked through every tab against a seeded database, no console errors; mobile config layout verified at 390px
  • New README and www screenshots are captured at 1x (previous ones were 2x/3x retina), same aspect ratios

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/RayLabsHQ/gitea-mirror/pull/353 **Author:** [@arunavo4](https://github.com/arunavo4) **Created:** 8/3/2026 **Status:** ✅ Merged **Merged:** 8/3/2026 **Merged by:** [@arunavo4](https://github.com/arunavo4) **Base:** `main` ← **Head:** `redesign/settings-ui` --- ### 📝 Commits (2) - [`fddc02e`](https://github.com/RayLabsHQ/gitea-mirror/commit/fddc02e6b487e357d373241966413d2372033bfd) feat(ui): redesign dashboard and configuration screens - [`5bc5ea3`](https://github.com/RayLabsHQ/gitea-mirror/commit/5bc5ea3c908f1b4c669e7533bad2924d92751f68) fix(ui): design polish pass from local review ### 📊 Changes **29 files changed** (+10584 additions, -2824 deletions) <details> <summary>View changed files</summary> 📝 `.github/assets/dashboard.png` (+0 -0) 📝 `.github/assets/dashboard_mobile.png` (+0 -0) 📝 `design/giteamirror.pen` (+8025 -551) 📝 `docs/FORCE_PUSH_PROTECTION.md` (+1 -1) 📝 `src/components/config/AutomationSettings.tsx` (+292 -398) 📝 `src/components/config/ConfigTabs.tsx` (+66 -37) 📝 `src/components/config/GitHubConfigForm.tsx` (+296 -287) 📝 `src/components/config/GitHubMirrorSettings.tsx` (+616 -751) 📝 `src/components/config/GiteaConfigForm.tsx` (+216 -196) 📝 `src/components/config/NotificationSettings.tsx` (+244 -261) 📝 `src/components/config/OrganizationConfiguration.tsx` (+48 -53) 📝 `src/components/config/OrganizationStrategy.tsx` (+75 -82) 📝 `src/components/config/SSOSettings.tsx` (+86 -81) ➕ `src/components/config/settings-ui.tsx` (+341 -0) 📝 `src/components/dashboard/RecentActivity.tsx` (+47 -21) 📝 `src/components/dashboard/RepositoryList.tsx` (+6 -3) 📝 `src/components/dashboard/StatusCard.tsx` (+17 -13) 📝 `src/components/layout/Header.tsx` (+0 -3) 📝 `src/components/layout/Sidebar.tsx` (+11 -0) 📝 `src/components/layout/TimeFormatToggle.tsx` (+98 -22) _...and 9 more files_ </details> ### 📄 Description Full visual redesign of the dashboard and every configuration tab, implemented from the design file in `design/giteamirror.pen`, plus a polish pass from hands-on local review. ## What changed **New design language**, applied everywhere through shared primitives in `src/components/config/settings-ui.tsx`: - Cards with icon headers, section dividers and status footers - The enable switch lives in the card header, so the old "Enable X" rows are gone - Toggle switches replace checkboxes across all settings - Long option descriptions cut to one line, with the detail moved behind info tooltips - Selection tiles (icon chip, title, one-line description, check mark on the active option) for organization strategy, destructive update protection and orphaned repo handling - Segmented controls for notification provider, starred repo destination, org visibility and the SSO dialog protocol tabs - Indigo accent for active states and primary actions (Import GitHub Data, Send test, Add provider) **Per screen** - Connections: GitHub and Gitea connection cards share a stretched grid row so they stay equal height, with a token creation guide (steps, scope chips, direct link) and helper text under fields. Repository Selection sits on the left with Destructive Update Protection below it; Organization Structure and Mirror Content fill the right column. Every mirror option is covered, including starred content, star lists and org limiting. - Automation: schedule card with timezone pill, one-line auto-mirror copy, Database Maintenance, and a full-width Repository Cleanup card with Skip / Archive / Delete tiles and a dry run switch - Notifications: segmented provider picker (ntfy, Apprise, Gotify, Webhook), per-event switches, Send test in the footer - Authentication: side-by-side cards; sign-in method switches reflect real state (disabled, with info hints explaining where each is controlled); restyled SSO provider dialog - Dashboard: flatter stat cards, icon panel headers, activity rows with status icon circles, indigo view-all links - Header and sidebar: the time format button shows a live clock and opens a menu with locale pill and live format examples; the theme switcher moved to the sidebar as an icon segmented control, and the "system" preference now actually persists **Fixes that rode along** - Automation no longer shows a stored legacy "UTC" as if the user chose it; it falls back to the browser timezone - Config tab bar wraps two by two on narrow screens instead of overflowing - BETA label removed from Destructive Update Protection **Not changed**: all state handling, autosave and API behavior. Repositories, Organizations and Activity Log pages keep their current design on purpose. Light mode still works since everything uses theme tokens. Two deliberate UX substitutions from the old UI, flag if you disagree: 1. The orphaned repo action dropdown became three tiles 2. The strategy radio cards lost their radio dots in favor of a check on the selected tile ## Screenshots ### Dashboard ![Dashboard](https://gist.githubusercontent.com/arunavo4/ce67ba58f3795c572a76c000e40ec415/raw/054e6e429e7225a419297ff217eabb3db3564937/pr-dashboard.png) ### Connections ![Connections](https://gist.githubusercontent.com/arunavo4/ce67ba58f3795c572a76c000e40ec415/raw/054e6e429e7225a419297ff217eabb3db3564937/pr-connections.png) ### Automation ![Automation](https://gist.githubusercontent.com/arunavo4/ce67ba58f3795c572a76c000e40ec415/raw/054e6e429e7225a419297ff217eabb3db3564937/pr-automation.png) ### Notifications ![Notifications](https://gist.githubusercontent.com/arunavo4/ce67ba58f3795c572a76c000e40ec415/raw/054e6e429e7225a419297ff217eabb3db3564937/pr-notifications.png) ### Authentication ![Authentication](https://gist.githubusercontent.com/arunavo4/ce67ba58f3795c572a76c000e40ec415/raw/054e6e429e7225a419297ff217eabb3db3564937/pr-authentication.png) ## Testing - 441 tests pass, no type errors in touched files - Logged in and clicked through every tab against a seeded database, no console errors; mobile config layout verified at 390px - New README and www screenshots are captured at 1x (previous ones were 2x/3x retina), same aspect ratios --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-08-24 04:02:48 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea-mirror#8268