-
Notifications
You must be signed in to change notification settings - Fork 32
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
Improve annotations filter #807
Conversation
mvasilak
commented
Nov 14, 2023
- Fixes issue reported in https://forums.zotero.org/discussion/109348/ios-filtering-annotations-by-color-should-hide-comment-icon/p1
- Fixes annotations filter UI layout issues
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.
Looks good, but if you could extract the color picker into separate view and just reuse the view in AnnotationsFilterViewController.swift
and AnnotationToolOptionsViewController.swift
instead of having the same code in both, that would be ideal.
0ac8cae
to
939dd7f
Compare
@michalrentka ready for another look. Created common widget that is used in all current use cases, and also fixed some related small UI bugs. In the future, if necessary, we could improve it by implementing the widget e.g. using a collection view, so layout would be more dynamic. |
Zotero/Scenes/Detail/Annotation Filter Popover/Views/AnnotationsFilterViewController.swift
Outdated
Show resolved
Hide resolved
Zotero/Scenes/Detail/Annotation Popover/Views/ColorPickerCell.swift
Outdated
Show resolved
Hide resolved
647963f
to
4d1c7b2
Compare
Fix AnnotationsFilterViewController layout issues
Improve ColorPickerStackView
Create ColorPickerCell UI programmatically
Have ColorPickerCell inherit from RxTableViewCell
70f5ff7
to
4145fbd
Compare