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
Support for archive actions #4698
Conversation
// FREEBIE
@@ -27,7 +28,7 @@ | |||
|
|||
</LinearLayout> | |||
|
|||
<com.melnykov.fab.FloatingActionButton | |||
<android.support.design.widget.FloatingActionButton |
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.
last I checked there were lots of bugs in this FAB implementation across platforms, which versions did you test this on?
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.
works on GB, not with the coordinatorlayout stuff, but neither does the 3rd party
lol good one |
updated |
getString(R.string.ConversationListFragment_moved_conversation_to_inbox), | ||
getString(R.string.ConversationListFragment_undo), | ||
getResources().getColor(R.color.amber_500), | ||
Snackbar.LENGTH_SHORT) |
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.
short is super short, especially the first time
Another thing Inbox does which makes sense is once you unarchive the last item, the archive should close and bring you back to the inbox. |
Batch-selecting archived conversations and choosing unarchive says "Archived conversations" in the Snackbar |
If there's a "delete conversation" menu item within the conversation overflow menu, is it strange not to be able to archive/unarchive from within a conversation as well? |
Swiping to archive conversations in fast-ish succession sometimes ends up with a snackbar not being displayed for the final swipe. |
@mcginty thoughts on removing "delete conversation" from the menu conversation activity overflow menu? |
sounds good to me. |
updated |
When I archived my first conversation by swiping it to the right and then went to the archive list to see where it went my first intuition was to unarchive the conversation by swiping it back to the left. That's because visually the main conversation list is on the left and the archive list is on the right. But currently both archive and unarchive are swipe to to the right gestures. It just feels more real if you can toss them left and right. But if another swipe action (such as delete) is introduced later then I guess the above doesn't make sense any more. |
@2-4601 Yeah that's my concern. |
Fixes signalapp/Signal-Android#1141 Closes signalapp/Signal-Android#4698 // FREEBIE Upstream commit: signalapp/Signal-Android@2ab0029
// FREEBIE