Repository navigation
Conversation
|
Some actions not available on multiselecting: |
Add missing newline at the end of SelectionMode.kt
Fix missing newline at the end of profile_selection_menu.xml
Done, added Resolve domains and Clear traffic statistics to the multiselect menu. Updated the PR. |
Thank you. Sharing needs enhancements for consistency: Names are not the same: copy link vs export to clipboard |
Added exportConfigs function to handle configuration exports based on the selected profiles.
Done: the multiselect share menu now uses the same names as the single profile one (QR code / Export to clipboard / Configuration, with Standard and Throne link inside). Added Configuration export to clipboard or file for multiple profiles. For several profiles the configs are joined into one text with a "// profile name" line before each one. |
I just realized that Throne in the last artifact build uses a polished classification and names for share. So Throne Android should adapt that. |
The names and order of items in the "Share" menu have been adapted for the desktop version: "QR code and link" / "Copy link" / "Copy deep link" / "Export configuration." These options are available both for an individual profile and when multiple items are selected. The "Copy test result" option has been removed, as this action does not exist in the Android version. |
I looked into #140, which requested an action for multi-selecting profiles. Options like testing, deleting, QR, clearing, and "select all" were already present; all that was missing was an "invert selection" feature. I’ve added it.
Changes made:
invertSelection()function. It iterates through the visible profiles in the list and toggles each checkbox. If no items remain selected after this operation, the selection mode closes—just as it would when the last checkbox is unchecked. I also hooked up the new menu item inonMenuItemClick.action_selection_invertitem to the selection menu, positioned right after "Select all."Profiles_invert_selection("Invert selection").I haven’t touched the other languages; they will default to English.
Closes #140