Skip to content

feat: add menubar tray #9

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Dec 6, 2024
Merged

feat: add menubar tray #9

merged 3 commits into from
Dec 6, 2024

Conversation

ethanndickson
Copy link
Member

@ethanndickson ethanndickson commented Dec 5, 2024

Closes #7.

codervpn-happy.mov
codervpn-error.mov

Copy link
Member Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

@ethanndickson ethanndickson force-pushed the ethan/menubar branch 2 times, most recently from aaa4c62 to 5ce4eae Compare December 5, 2024 09:18
@ethanndickson ethanndickson marked this pull request as ready for review December 5, 2024 09:20
"originHash" : "726475d6c2c0355de7a4de72708853eaf53eb295e791efe2cc4b8eb5ce4e9ae8",
"pins" : [
{
"identity" : "fluid-menu-bar-extra",
Copy link
Member Author

@ethanndickson ethanndickson Dec 5, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a drop-in replacement for SwiftUI MenuBarExtra, since the original kinda just sucks and doesn't handle resizing very well. It's used by https://github.com/Shopify/tophat, and is designed so that if MenuBarExtra ever improves, you can just swap back.

Copy link
Member Author

@ethanndickson ethanndickson Dec 5, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These are UI unit tests for different views (SwiftUI components). You cannot unit test in UITests, you can only simulate interactions with a built executable (of which there is currently no point doing).

Copy link
Collaborator

@spikecurtis spikecurtis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm honestly just getting my feet wet here, so I don't have a lot constructive to add yet. It looks great in terms of the resulting UI.

Copy link
Member

@deansheather deansheather left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great, and the swift seems fine

Copy link
Member Author

ethanndickson commented Dec 6, 2024

Merge activity

  • Dec 5, 10:32 PM EST: A user started a stack merge that includes this pull request via Graphite.
  • Dec 5, 10:32 PM EST: A user merged this pull request with Graphite.

@ethanndickson ethanndickson merged commit 2c1e8d3 into main Dec 6, 2024
1 check passed
@ethanndickson ethanndickson deleted the ethan/menubar branch January 23, 2025 02:49
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.

Build the tray menu
3 participants