-
-
Notifications
You must be signed in to change notification settings - Fork 110
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
feat: add select all button to delete feed #234
Conversation
dracarys18
commented
Mar 11, 2024
- Added a Select All button in deleted feed screen
- Formatting
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the PR! It looks pretty good.
I've noted some comments and suggestions.
app/src/main/java/com/nononsenseapps/feeder/ui/compose/deletefeed/DeleteFeedScreen.kt
Outdated
Show resolved
Hide resolved
app/src/main/java/com/nononsenseapps/feeder/ui/compose/deletefeed/DeleteFeedScreen.kt
Outdated
Show resolved
Hide resolved
app/src/main/java/com/nononsenseapps/feeder/ui/compose/deletefeed/DeleteFeedScreen.kt
Show resolved
Hide resolved
app/src/main/java/com/nononsenseapps/feeder/ui/compose/deletefeed/DeleteFeedScreen.kt
Outdated
Show resolved
Hide resolved
app/src/main/java/com/nononsenseapps/feeder/ui/compose/deletefeed/DeleteFeedScreen.kt
Outdated
Show resolved
Hide resolved
app/src/main/java/com/nononsenseapps/feeder/ui/compose/deletefeed/DeleteFeedScreen.kt
Outdated
Show resolved
Hide resolved
You could keep it simple (because it's tricky) and just make the select-all button be dumb: it always selects all. |
I would prefer it to be a checkbox with deselect. Because let's say I selected all of the entries with Select All button and now I have to deselect them then I have to do it one by one which is not really convenient. What are your thoughts? |
Sure, I don't mind. But it's tricky as I said. |
This reverts commit bdf92d0.
app/src/main/java/com/nononsenseapps/feeder/ui/compose/deletefeed/DeleteFeedScreen.kt
Outdated
Show resolved
Hide resolved
app/src/main/java/com/nononsenseapps/feeder/ui/compose/deletefeed/DeleteFeedScreen.kt
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some additional changes after adding the derivedState
mentioned previously
app/src/main/java/com/nononsenseapps/feeder/ui/compose/deletefeed/DeleteFeedScreen.kt
Outdated
Show resolved
Hide resolved
app/src/main/java/com/nononsenseapps/feeder/ui/compose/deletefeed/DeleteFeedScreen.kt
Outdated
Show resolved
Hide resolved
app/src/main/java/com/nononsenseapps/feeder/ui/compose/deletefeed/DeleteFeedScreen.kt
Outdated
Show resolved
Hide resolved
app/src/main/java/com/nononsenseapps/feeder/ui/compose/deletefeed/DeleteFeedScreen.kt
Show resolved
Hide resolved
app/src/main/java/com/nononsenseapps/feeder/ui/compose/deletefeed/DeleteFeedScreen.kt
Outdated
Show resolved
Hide resolved
app/src/main/java/com/nononsenseapps/feeder/ui/compose/deletefeed/DeleteFeedScreen.kt
Outdated
Show resolved
Hide resolved
I have resolved them please check |
Looks good now @dracarys18 Thanks for your contribution! |