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
Add ability to pin Usercards to stay open even if it loses focus #3884
Add ability to pin Usercards to stay open even if it loses focus #3884
Conversation
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.
If you have an SVG of the resources added, please include them for when we want to scale these features
Unfortunately I just edited a png in GIMP. |
<file>buttons/pinDisabledDark.png</file> | ||
<file>buttons/pinDisabledLight.png</file> | ||
<file>buttons/pinEnabled.png</file> | ||
</qresource> |
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.
This seems to be what happens when adding the resource through qtcreator. Didn't realize there was a script to do this.
I've remade the pin assets (slightly different from originals) as PNGs & plain SVGs: Also here's the Inkscape SVG file if anyone wants to mess with it: |
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.
Another small request which isn't anything you've changed: Could you please change the label of the "Automatically close user popup when it loses focus" setting to "Automatically close usercard when it loses focus"?
Thank you!
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
Any updates on what is blocking this? If nothing, I can fix the conflicts so we can merge. |
Just want to re-ping on this one. Don't want it to get too far behind and have to keep it up to master. Let me know what I need to do. |
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.
clang-tidy made some suggestions
Thank you @goldbattle and sorry for the long review wait ❤️ |
clang-tidy review says "All clean, LGTM! 👍" |
Pull request checklist:
CHANGELOG.md
was updated, if applicableDescription
This adds a pin button so that user pin cards can be pinned and not closed after clicking off.
It is useful to be able to pin a specific user, but be able to still open and close others quickly.
bandicam.2022-07-29.17-02-44-918.mp4