Skip to content

Conversation

@micieslak
Copy link
Member

@micieslak micieslak commented Dec 11, 2025

What does the PR do

Colors defined via QColor(int, int, int) are not search-friendly (pairing color from Figma to name in code). To solve that, comments witch standard hex notation are added.

Screencast.from.12.12.2025.01.12.17.webm

Affected areas

statuscolors.h, themepalette.cpp

Impact on end user

no impact

Risk

no risk

Colors defined via QColor(int, int, int) are not search-friendly
(pairing color from Figma to name in code). To solve that, comments
witch standard hex notation are added.
@micieslak micieslak requested a review from a team as a code owner December 11, 2025 15:33
@micieslak micieslak requested review from Khushboo-dev-cpp, caybro, glitchminer and noeliaSD and removed request for a team December 11, 2025 15:33
Copy link
Contributor

@Khushboo-dev-cpp Khushboo-dev-cpp left a comment

Choose a reason for hiding this comment

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

This is super helpful! thanks :)

@status-im-auto
Copy link
Member

@status-im-auto
Copy link
Member

@caybro
Copy link
Member

caybro commented Dec 11, 2025

You can switch the color notation in Figma as well 😀

@status-im-auto
Copy link
Member

@caybro
Copy link
Member

caybro commented Dec 11, 2025

Another note: could you pls also update the ColorsPage.qml in Storybook as well? That makes the whole color matching and searching process a lot more helpful 🙂

@micieslak
Copy link
Member Author

You can switch the color notation in Figma as well 😀

It doesn't help (or I'm missing sth) bc there is rgba format e.g. rgba(67, 96, 223, 1) where values are decimal. In our code values are hexadecimal, so matching is still problematic.

@micieslak micieslak requested a review from alexjba as a code owner December 12, 2025 00:11
@micieslak
Copy link
Member Author

micieslak commented Dec 12, 2025

Another note: could you pls also update the ColorsPage.qml in Storybook as well? That makes the whole color matching and searching process a lot more helpful 🙂

@caybro good point. It actually triggered me to rebuild ColorsPage.qml. Now it automatically inspects ThemePalette and StatusColors, no need to list keys in the page. It means no manual updates when updating palette. Also some nested values not covered earlier now are available.

@status-im-auto
Copy link
Member

status-im-auto commented Dec 12, 2025

Jenkins Builds

Commit #️⃣ Finished (UTC) Duration Platform Result
7278579 #1 2025-12-11 15:42:26 ~8 min android/arm64 📄log
✔️ 7278579 #1 2025-12-11 15:46:25 ~12 min tests/nim 📄log
7278579 #1 2025-12-11 15:46:26 ~12 min linux/x86_64 📄log
7278579 #1 2025-12-11 15:46:44 ~12 min macos/aarch64-nwaku 📄log
✔️ 7278579 #1 2025-12-11 15:48:25 ~14 min tests/ui 📄log
7278579 #1 2025-12-11 15:49:10 ~14 min windows/x86_64 📄log
7278579 #1 2025-12-11 15:50:07 ~16 min ios/aarch64 📄log
✔️ 7278579 #1 2025-12-11 15:56:02 ~21 min macos/aarch64 🍎dmg
7278579 #1 2025-12-11 15:58:39 ~24 min linux/x86_64-nwaku 📄log
07fa75f #2 2025-12-12 00:20:20 ~8 min android/arm64 📄log
✔️ 07fa75f #2 2025-12-12 00:24:32 ~12 min tests/nim 📄log
07fa75f #2 2025-12-12 00:25:18 ~13 min macos/aarch64-nwaku 📄log
✔️ 07fa75f #2 2025-12-12 00:25:32 ~13 min tests/ui 📄log
07fa75f #2 2025-12-12 00:27:04 ~14 min windows/x86_64 📄log
07fa75f #2 2025-12-12 00:27:51 ~15 min ios/aarch64 📄log
✔️ 07fa75f #2 2025-12-12 00:33:29 ~21 min linux/x86_64 📦tgz
✔️ 07fa75f #2 2025-12-12 00:33:56 ~21 min macos/aarch64 🍎dmg
✔️ 07fa75f #2 2025-12-12 00:36:42 ~24 min linux/x86_64-nwaku 📦tgz
✖️ 07fa75f pr19560 2025-12-12 00:49:23 ~15 min tests/e2e 📊rpt

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.

4 participants