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

Make options page more responsive, improve building #3714

Merged
merged 1 commit into from May 11, 2023
Merged

Make options page more responsive, improve building #3714

merged 1 commit into from May 11, 2023

Conversation

yayuyokitano
Copy link
Member

Implements a bottom context menu in place of sidebar on low widths for better experience. Still not 100% ideal but pretty close.

Example:
image

Also adds a dev mode to safari build.

Also adds new build target as discussed.

@yayuyokitano yayuyokitano added core This issue or pull request is related to the extension core new-feature For PRs that add new functionality labels May 8, 2023
Copy link
Member

@inverse inverse left a comment

Choose a reason for hiding this comment

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

LGTM - nice one 👍

@@ -40,20 +40,32 @@ async function main() {
];
await Promise.all(scripts);

if (isDev() && releaseTarget === 'safari') {
await new Promise((resolve) => {
Copy link
Member

Choose a reason for hiding this comment

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

Why do we need to have this sleep?

Copy link
Member Author

Choose a reason for hiding this comment

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

The dev build does not await the completion of the build before continuing, the sleep allows the initial build processes to finish up before creating the xcode project.

There is probably a better way here long term, but this did nicely for development on my end for the time being.

Copy link
Member

Choose a reason for hiding this comment

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

Ahhh is that because of the watch mode? Yeah we should probably think of a better way longer term - but right now it'll do :)

@yayuyokitano yayuyokitano merged commit 6fec6ab into web-scrobbler:master May 11, 2023
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core This issue or pull request is related to the extension core new-feature For PRs that add new functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants