Skip to content

Select all roms button #34

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
Mar 25, 2025
Merged

Select all roms button #34

merged 3 commits into from
Mar 25, 2025

Conversation

ronzano
Copy link
Contributor

@ronzano ronzano commented Mar 25, 2025

Description
Select /Unselect all roms button on R1

Checklist
Toggle button to select/unselect all roms

  • I've tested the changes locally
  • I've updated relevant comments
  • I've assigned reviewers for this PR

RomM/romm.py Outdated
for r in self.status.roms_to_show:
self.status.multi_selected_roms.append(
r
)
Copy link
Member

Choose a reason for hiding this comment

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

Does this mean select all only select the 10-ish games shown in the screen, instead of the entire library? Not that I'm saying it should btw.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Hi, the entire (filtered) selected library

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It's useful to download the entire platform roms, expecially with the filter set to remote.

Copy link
Member

Choose a reason for hiding this comment

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

Cool going pull this branch and give it a shot 👍🏼

@gantoine
Copy link
Member

@ronzano Made some small tweaks to the PR, can you pull and lmk what you think?

  • Added the selected count to the header
  • Changed the text to "Deselect all" when all games selected
  • Moved the X button left and changed offset based on selected filter

@ronzano
Copy link
Contributor Author

ronzano commented Mar 25, 2025

Looks good. I noticed a strange behavior:
when I select all then press select button, the selected rom vanish. (fixed)

@gantoine gantoine merged commit badf3c8 into rommapp:main Mar 25, 2025
1 check passed
@ronzano ronzano deleted the feature/select-all branch March 25, 2025 16:32
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