Skip to content

Add endpoint to resize MenuBar window #163

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 2 commits into from
Feb 13, 2025
Merged

Conversation

dnkmdg
Copy link
Contributor

@dnkmdg dnkmdg commented Feb 6, 2025

Added a new endpoint i menuBar.ts to allow modification of MenuBar window after initialization, pretty much the same as for the WindowManager. This PR will be accompanied by NativePHP/laravel#490 containing an actual call in the MenuBarManager.

@simonhamp
Copy link
Member

I'm not clear why the yarn.lock was deleted...

@dnkmdg
Copy link
Contributor Author

dnkmdg commented Feb 12, 2025

Me neither to be honest, I'll put it back!

@dnkmdg dnkmdg requested a review from simonhamp February 12, 2025 11:48
Copy link
Member

@SRWieZ SRWieZ 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 all good with the resize part; it has been on my personal wish list for a while. Nice and simple.

Can you just put the unrelated index.js changes in another PR and explain the deeplink fix?

@dnkmdg
Copy link
Contributor Author

dnkmdg commented Feb 13, 2025

@SRWieZ the changes in the dist/index.js are just updates from the build command. Those changes comes from the existing codebase, but the built dist was lagging behind. This should probably be excluded entirely from the committed code, but I felt that was out of scope for my PR.

@SRWieZ
Copy link
Member

SRWieZ commented Feb 13, 2025

Oh right, it's in the dist/ directory. Never mind then.

It shouldn't have happened, but that's on us. I'll try to improve this workflow.

Copy link
Member

@PeteBishwhip PeteBishwhip left a comment

Choose a reason for hiding this comment

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

This looks good to me based on identifying the issue with /dist in the workflow.

Tests are failing but thats currently expected and being resolved in another PR.

Thanks for your contribution.

@SRWieZ SRWieZ merged commit b0a8aee into NativePHP:main Feb 13, 2025
5 of 22 checks passed
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.

4 participants