Skip to content
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

Dev mode #99

Merged
merged 5 commits into from
Aug 3, 2023
Merged

Dev mode #99

merged 5 commits into from
Aug 3, 2023

Conversation

seanoliver
Copy link
Collaborator

Better version of "dev mode":

  • Menubar won't auto dismiss when it loses focus in dev mode, and neither will webview developer tools windows
  • Menubar will still dismiss if you manually use the keyboard shortcut or left click the menubar icon to hide
  • Added an "in dev mode" notice to the context menu to make it more noticeable when you're in dev mode vs. production

@seanoliver seanoliver requested a review from swyxio July 31, 2023 06:56
@swyxio
Copy link
Contributor

swyxio commented Jul 31, 2023

v nice notes in this pr, tells me waht to look for

opening the menubar via clicking the thing is now broken

image

Comment on lines +304 to +306
tray.on('double-click', () => {
quickOpen();
});
Copy link
Contributor

Choose a reason for hiding this comment

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

did this break the click open?

i think this completes our transition away from a menubar app towards just a straight up full app that happens to have a keyboard shortcut to activate
Comment on lines -385 to -391
if (process.platform == 'darwin') {
// restore focus to previous app on hiding
mb.on('after-hide', () => {
mb.app.hide();
});
}

Copy link
Contributor

@swyxio swyxio Jul 31, 2023

Choose a reason for hiding this comment

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

i think this completes our transition away from a menubar app towards just a straight up full app that happens to have a keyboard shortcut to activate

@seanoliver seanoliver merged commit 262a4c1 into main Aug 3, 2023
1 check passed
@seanoliver seanoliver deleted the dev-mode branch August 3, 2023 00:59
swyxio added a commit that referenced this pull request Aug 5, 2023
This reverts commit 262a4c1.
@swyxio swyxio mentioned this pull request Aug 5, 2023
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.

2 participants