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

Prevent arrow conversion to emoji; fix alignment of ticket elements #277

Open
wants to merge 3 commits into
base: develop
Choose a base branch
from

Conversation

grablair
Copy link
Contributor

@grablair grablair commented Oct 31, 2024

On Safari (on iPhone), the right arrow is being converted to a ➡️ emoji, which is not desirable (FWIW, the down arrow is fine 🤷🏻‍♂️).

This changes the arrows from unicode arrows to an Icon, which also animates as the tickets open / close.

Also, fixes the inverted boolean logic around ticketIsCollapsed. Same exact functionality, I just had the boolean logic backwards on all of it.

Also, better aligns all the elements in the ticket title button.

Screenshot 2024-10-31 at 13 18 56 Screenshot 2024-10-31 at 13 19 05

Also fixes some alignment of ticket elements to ensure that the ticket counter is always on the right. If wrapping is necessary, the name of the tier should wrap.

BEFORE:

22152AB2-87BE-4E63-8FB4-97A3D7983AFA_1_201_a

AFTER:

18A1FE2B-AFE8-4632-8B1A-E9CCAF13B4A4_4_5005_c


Checklist

  • I have read the contributing guidelines.
  • My code is of good quality and follows the coding standards of the project.
  • I have tested my changes, and they work as expected.

Thank you for your contribution! 🎉

@grablair grablair changed the title Change collapse arrow to icon to prevent iOS from converting unicode arrow to emoji Prevent arrow conversion to emoji; fix alignment of ticket elements Oct 31, 2024
Copy link
Contributor

@daveearley daveearley left a comment

Choose a reason for hiding this comment

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

Thanks for this! I'd suggest using the right chevron icon, as it's more sleek and in keeping with other icons used in the app.

@grablair
Copy link
Contributor Author

grablair commented Nov 1, 2024

Ah yeah that'll be much better. I'll get that change in tomorrow (PDT).

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.

2 participants