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

fix(StatusCommunityCard): fix some visual glitches #14564

Merged
merged 1 commit into from
May 2, 2024

Conversation

caybro
Copy link
Member

@caybro caybro commented May 1, 2024

What does the PR do

  • correct propagation of hover events, fixes card flicker
  • improve the ugly thick border
  • token icons are now correctly rounded
  • fix text descent lines are cut of ("y" and "p" truncated at the bottom) due to excessive clipping, set correct max line count
  • fix tag outline not being visible in dark mode
  • add/update the corresponding SB page, with more controls to play around with the different params

Fixes #14555

Affected areas

StatusCommunityCard

Screenshot of functionality (including design for comparison)

  • I've checked the design and this PR matches it
Zaznam.obrazovky.z.2024-05-01.15-31-30.webm

Correctly rounded token icons:
image

@caybro caybro linked an issue May 1, 2024 that may be closed by this pull request
@status-im-auto
Copy link
Member

status-im-auto commented May 1, 2024

Jenkins Builds

Commit #️⃣ Finished (UTC) Duration Platform Result
✔️ c1d3810 #1 2024-05-01 13:33:07 ~7 min macos/aarch64 🍎dmg
✔️ c1d3810 #1 2024-05-01 13:35:33 ~10 min tests/nim 📄log
✔️ c1d3810 #1 2024-05-01 13:39:32 ~14 min macos/x86_64 🍎dmg
c1d3810 #1 2024-05-01 13:42:30 ~17 min tests/ui 📄log
✔️ c1d3810 #1 2024-05-01 13:48:06 ~22 min linux/x86_64 📦tgz
✔️ c1d3810 #1 2024-05-01 13:58:17 ~32 min windows/x86_64 💿exe
✔️ 3d76b0e #2 2024-05-01 15:04:20 ~4 min macos/aarch64 🍎dmg
✔️ 3d76b0e #2 2024-05-01 15:06:55 ~6 min tests/nim 📄log
✔️ 3d76b0e #2 2024-05-01 15:07:18 ~7 min macos/x86_64 🍎dmg
✔️ 3d76b0e #2 2024-05-01 15:15:26 ~15 min tests/ui 📄log
✔️ 3d76b0e #2 2024-05-01 15:18:28 ~18 min linux/x86_64 📦tgz
✔️ 3d76b0e #2 2024-05-01 15:34:28 ~34 min windows/x86_64 💿exe

- correct propagation of hover events, fixes card flicker
- improve the ugly thick border
- token icons are now correctly rounded
- fix text descent lines are cut of ("y" and "p" truncated at the
bottom) due to excessive clipping, set correct max line count
- fix tag outline not being visible in dark mode
- add/update the corresponding SB page, with more controls to play
around with the different params

Fixes #14555
@caybro caybro force-pushed the 14555-statuscard-fix-visual-glitches branch from c1d3810 to 3d76b0e Compare May 1, 2024 14:59
@caybro caybro marked this pull request as ready for review May 1, 2024 15:00
@caybro caybro changed the title fix(StatusCard): fix some visual glitches fix(StatusCommunityCard): fix some visual glitches May 2, 2024
Copy link
Member

@jrainville jrainville left a comment

Choose a reason for hiding this comment

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

Looks good. Might be a good candidate to back port to the release branch, because the cards are very ugly without this fix 😝

@caybro
Copy link
Member Author

caybro commented May 2, 2024

Looks good. Might be a good candidate to back port to the release branch, because the cards are very ugly without this fix 😝

Sure, I can do the backport PR later today or tomorrow

@caybro caybro merged commit 22a9ca7 into master May 2, 2024
8 checks passed
@caybro caybro deleted the 14555-statuscard-fix-visual-glitches branch May 2, 2024 18:25
@caybro
Copy link
Member Author

caybro commented May 2, 2024

Looks good. Might be a good candidate to back port to the release branch, because the cards are very ugly without this fix 😝

Sure, I can do the backport PR later today or tomorrow

@jrainville created the backport PR at #14583

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.

StatusCommunityCard: fix visual glitches
4 participants