-
Notifications
You must be signed in to change notification settings - Fork 147
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
Allow selecting BMS package without drag-and-drop on mobile devices #711
Comments
Hey! I would like to work on this issue. |
@aj-ya Thank you for taking on this issue 🙏. It is yours now. |
Hey! I seem to have hit a dead end while trying to solve this without changing the existing code.
|
@aj-ya Hello, thank you, you are right! Seems like the What I would recommend trying:
You can also change |
Thanks for the suggestions,will work on that. |
@aj-ya Sure, happy to help! You cannot call a function directly — its body won’t run. To make it run, you will have to “connect” it to the UI using bemuse/bemuse/src/app/ui/CustomBMS.jsx Lines 24 to 29 in 900f917
Add this: onFileSelect: () => (event) =>
CustomSongsIO.handleCustomSongFileSelect(event), Then in the component code, call |
Hey! I think I've successfully fixed the issue, please take a look at the PR and the code too. |
@aj-ya Thanks, I will review and test by tonight! |
Background
Users on mobile devices (Android) cannot drag BMS packages into Bemuse window, so we should allow users to pick a file on their machine.
Requested by
Task
Your PR should change these files,
CustomBMS.jsx
,CustomBMS.scss
andCustomSongsIO.js
.Add an option to select a file to the Load Custom BMS modal.
Upon clicking the option, the user will be asked to pick a zip, rar or 7z file. Once a file is selected, it should act as if the file has been dropped into the drop zone.
All automated checks should pass.
Your solution should work on iOS and Android.
Please include a screenshot in your PR to confirm that it is working.
Hacktoberfest
If you would like to work on this task, please write a comment stating your intent. We will then assign the issue to you. To ensure continuity, the issue will be unassigned after 3 days of inactivity — so please keep us updated.
The text was updated successfully, but these errors were encountered: