Skip to content
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

Bookmarks: New toolbar for sorting feature flag #5452

Conversation

malmstein
Copy link
Contributor

@malmstein malmstein commented Jan 9, 2025

Task/Issue URL: https://app.asana.com/0/1174433894299346/1209107275709085/f

Description

This PR adds the new toolbar for the Bookmarks screen under the feature flag
Note that the select sort icon doesn’t react to changes yet

Steps to test this PR

Toolbar functionality

  • Enable “bookmarksSorting” feature flag
  • Add a 4 bookmarks and open the bookmarks screen
  • Tap on the add folder icon
  • Verify Add folder screen opens
  • Tap on the overflow menu
  • Verify the new menu appear (Sort options available)
  • Go back and add another bookmark
  • Open bookmarks again
  • Verify Search icon appears
  • Tap on search icon
  • Run some queries verify filter still works

UI changes

New Old
Screenshot_20250110_135355 Screenshot_20250110_135419

Copy link
Contributor Author

malmstein commented Jan 9, 2025

This stack of pull requests is managed by Graphite. Learn more about stacking.

@malmstein malmstein marked this pull request as ready for review January 10, 2025 12:55
@malmstein malmstein requested a review from nalcalag as a code owner January 10, 2025 12:55
@anikiki anikiki self-assigned this Jan 10, 2025
@malmstein malmstein force-pushed the feature/david/01-09-bookmarks_new_toolbar_for_sorting_feature_flag branch 3 times, most recently from ba072fe to f2c4186 Compare January 14, 2025 19:38
@malmstein malmstein assigned mikescamell and unassigned anikiki Jan 15, 2025
Copy link
Contributor

@mikescamell mikescamell left a comment

Choose a reason for hiding this comment

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

Tested, looks good, a few comments but nothing blocking, LGTM 🚀

@malmstein malmstein mentioned this pull request Jan 15, 2025
22 tasks
@malmstein malmstein force-pushed the feature/david/01-09-bookmarks_new_toolbar_for_sorting_feature_flag branch from 317ffa4 to f4ab35f Compare January 16, 2025 13:07
Task/Issue URL: https://app.asana.com/0/0/1209107275709086/f

### Description
This PR adds the name sorting functionality.

### Steps to test this PR
Ensure `bookmarksSorting` feature flag is enabled

_Switch between manual and name sorting_
- [x] Install the app and add several bookmarks and folders
- [x] Open Bookmarks and the overflow menu
- [x] Verify Sort Manual is enabled
- [x] Move bookmarks around
- [x] Change to Sort by Name mode
- [x] Verify Bookmarks are sorted by name ascending (bookmarks and
folders)
- [x] Switch back to Manual mode
- [x] Verify bookmarks are shown in the original order
- [x] Switch between modes a few times
- [x] Verify results are correct

_Can’t reorder in Sort by Name mode_
- [x] Assuming a few bookmarks are present
- [x] Open bookmarks and select Sort Manual
- [x] Try to drag bookmarks and folders
- [x] Verify order can be changed
- [x] Switch to Sort by Name mode
- [x] Try to drag bookmarks and folders
- [x] Verify items can’t be moved
- [x] Verify that a snackbar appears

_Persistance of bookmarks order_
- [x] Assuming a few bookmarks are present
- [x] Open bookmarks and select Sort by Name
- [x] Close the app and open it again
- [x] Verify Sort by Name mode is selected

---
- To see the specific tasks where the Asana app for GitHub is being
used, see below:
  - https://app.asana.com/0/0/1209161541679768
@malmstein malmstein merged commit 399d328 into develop Jan 16, 2025
6 checks passed
@malmstein malmstein deleted the feature/david/01-09-bookmarks_new_toolbar_for_sorting_feature_flag branch January 16, 2025 15:33
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.

3 participants