Skip to content

Conversation

@greatgitsby
Copy link
Contributor

@greatgitsby greatgitsby commented Apr 7, 2025

resolves: commaai/connect#462, commaai/connect#501

more or less copied old connect style. not including dropdown yet as we don't have that abstraction (will be a follow up).

header.mov

@github-actions
Copy link

github-actions bot commented Apr 7, 2025

Changes:

path lines diff
./pages/dashboard/activities/PairActivity.tsx 116 +4
./pages/dashboard/activities/SettingsActivity.tsx 398 +2
./pages/dashboard/Dashboard.tsx 150 +2
./pages/dashboard/activities/RouteActivity.tsx 93 +2
./components/material/Drawer.tsx 61 -8
./pages/dashboard/activities/DeviceActivity.tsx 142 -13

Total lines: 4456 (-11)

@github-actions
Copy link

github-actions bot commented Apr 7, 2025

deployed preview: https://517.connect-d5y.pages.dev

Welcome to connect! Make sure to:

  • read the contributing guidelines
  • mark your PR as a draft until it's ready to review
  • post the preview on Discord; feedback from users will speedup the PR review

Mobile

Desktop

@greatgitsby greatgitsby force-pushed the feat/unified-title-bar branch from 4fe458b to c396421 Compare April 8, 2025 14:04
@greatgitsby greatgitsby force-pushed the feat/unified-title-bar branch 3 times, most recently from b16abd1 to 2c6640b Compare April 8, 2025 14:56
@greatgitsby greatgitsby changed the title wip: unified title bar feat: unified title bar Apr 8, 2025
@greatgitsby
Copy link
Contributor Author

greatgitsby commented Apr 8, 2025

in future PR, i will fix the alignment of the devices with the header, example:

image

image

@greatgitsby
Copy link
Contributor Author

greatgitsby commented Apr 8, 2025

tests are failing after 1m, don't think it would be related to these changes

i think we need to revisit the waitFor timeout in tests

@greatgitsby
Copy link
Contributor Author

i also think the Add new device button can be added to the header, but it will overflow on mobile. i'll add the dropdown next and we can move it post-merge

@greatgitsby greatgitsby force-pushed the feat/unified-title-bar branch from db04519 to 092cec9 Compare April 8, 2025 15:26
@greatgitsby greatgitsby force-pushed the feat/unified-title-bar branch from 38480dc to c447feb Compare April 9, 2025 04:04
@greatgitsby greatgitsby marked this pull request as ready for review April 9, 2025 04:13
@incognitojam
Copy link
Collaborator

I don't think I like the nested title bars 😕

image

@greatgitsby
Copy link
Contributor Author

it’s the same as old connect

image

would centering the date str make it feel more like old connect, less compact?

@greatgitsby
Copy link
Contributor Author

I don't think I like the nested title bars 😕

image

let's address this in a separate PR

@greatgitsby greatgitsby marked this pull request as draft April 14, 2025 04:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Unified title bar

2 participants