-
Notifications
You must be signed in to change notification settings - Fork 121
Bulk Editing: Add bottom toolbar to the products list #8617
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
Conversation
Generated by 🚫 dangerJS |
You can test the changes from this Pull Request by:
|
Ecarrion
left a comment
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.
| // trigger safe area update | ||
| if let tabBarController { | ||
| let currentFrame = tabBarController.view.frame | ||
| tabBarController.view.frame = currentFrame.insetBy(dx: 0, dy: 1) | ||
| tabBarController.view.frame = currentFrame | ||
| } |
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.
Nice trick, maybe we can wrap this in a small extension helper!
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.
I'll keep it inline for now and hope safe areas will "just work" going forward 🙂
But feel free to convert it to extension if you spot similar issue in other views.
|
Thanks for review!
You mean transition between full-screen width and table/stack width, right? Created #8625 for that. |

Closes: #8517
Description
This PR adds bottom toolbar with bulk edit button on Products List.
It replaces tabbar. Action button is enabled conditionally when items are selected.
Note: toolbar is custom and embedded in the stackview, so in landscape mode it doesn't fill full width and doesn't have compact height. It's same as top existing toolbar, but may feel different from system toolbars. We can update the layout later if needed.
Testing
Screenshots
RELEASE-NOTES.txtif necessary.