-
Notifications
You must be signed in to change notification settings - Fork 1.3k
List element component #8765
Comments
When items are being selected (i.e. multiple bookmarks, or creating a collection), where should the checkmark appear? In bookmarks the favicon turns into a checkmark, and in collections the checkmark appears in place of the close button. |
Some other concerns:
|
@NotWoods Dark mode captions: Light grey 70 (#9F9FAD) |
Follow the bookmark model for selection and turn the favicon into a checkmark. We'll revisit how select works for Collections as part of this issue #10163.
Yes, that's still correct. We should follow the material guidelines here https://material.io/components/lists#specs Looking at this again, I also realized that the shared font size here is too small and we should use 16 for the label and 12 for caption. Thanks! |
7900: For mozilla-mobile/fenix#8765: Add site item widget r=gabrielluong a=NotWoods `WidgetSiteItemView` is used to show a website inside bookmarks, history, collections, and other lists. Has the following API: - `iconView` getter to load favicons into the view - `setText(label, caption)` to set the text shown. If caption is null, the caption text view is hidden and the label is centered. - `addIconOverlay` inserts other views above the `iconView`, such as a checkmark. - `setSecondaryButton(icon, contentDescription, onClickListener)` will show an icon button with the given icon and content description. `onClickListener` is called when the button is clicked. - `removeSecondaryButton` hides the button if it was previously shown by `setSecondaryButton`. Co-authored-by: Tiger Oakes <[email protected]>
Approved: Requested changes: Merged: Waiting: |
14316: For #8765: shared selection item widget and bookmarks r=eliserichards a=NotWoods Builds ontop of #13883 and #14308. Sets up a wrapper around WidgetSiteItemView that can handle selection, and integrates it with bookmarks. ### Pull Request checklist <!-- Before submitting the PR, please address each item --> - [x] **Tests**: This PR includes thorough tests or an explanation of why it does not - [ ] **Screenshots**: This PR includes screenshots or GIFs of the changes made or an explanation of why it does not - [ ] **Accessibility**: The code in this PR follows [accessibility best practices](https://github.com/mozilla-mobile/shared-docs/blob/master/android/accessibility_guide.md) or does not include any user facing features. In addition, it includes a screenshot of a successful [accessibility scan](https://play.google.com/store/apps/details?id=com.google.android.apps.accessibility.auditor&hl=en_US) to ensure no new defects are added to the product. ### To download an APK when reviewing a PR: 1. click on Show All Checks, 2. click Details next to "Taskcluster (pull_request)" after it appears and then finishes with a green checkmark, 3. click on the "Fenix - assemble" task, then click "Run Artifacts". 4. the APK links should be on the left side of the screen, named for each CPU architecture Co-authored-by: Tiger Oakes <[email protected]>
Co-authored-by: Tiger Oakes <[email protected]>
See: #17373 This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
The list element is used in
it should be a component with the below described spec that can be used in above listed places
┆Issue is synchronized with this Jira Task
The text was updated successfully, but these errors were encountered: