Skip to content

feat(ui): migrate colors to semantic tokens in domainV2 and glossaryV2 folders#16875

Merged
purnimagarg1 merged 6 commits into
masterfrom
pg--cat-1660-semantic-tokens-domains-glossary
Apr 13, 2026
Merged

feat(ui): migrate colors to semantic tokens in domainV2 and glossaryV2 folders#16875
purnimagarg1 merged 6 commits into
masterfrom
pg--cat-1660-semantic-tokens-domains-glossary

Conversation

@purnimagarg1
Copy link
Copy Markdown
Collaborator

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Apr 1, 2026

Linear: CAT-1678

@alwaysmeticulous
Copy link
Copy Markdown

alwaysmeticulous Bot commented Apr 1, 2026

✅ Meticulous spotted visual differences in 111 of 1446 screens tested, but all differences have already been approved: view differences detected.

Meticulous evaluated ~9 hours of user flows against your PR.

Last updated for commit 4ec9d3c address comments, update tokens. This comment will update as new commits are pushed.

@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 1, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ All tests successful. No failed tests found.

📢 Thoughts on this report? Let us know!

@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 1, 2026

Bundle Report

Changes will increase total bundle size by 1.46kB (0.01%) ⬆️. This is within the configured threshold ✅

Detailed changes
Bundle name Size Change
datahub-react-web-esm 22.73MB 1.46kB (0.01%) ⬆️

Affected Assets, Files, and Routes:

view changes for bundle: datahub-react-web-esm

Assets Changed:

Asset Name Size Change Total Size Change (%)
assets/index-*.js 1.46kB 12.48MB 0.01%

Files in assets/index-*.js:

  • ./src/conf/theme/colorThemes/dark.ts → Total Size: 9.5kB

  • ./src/app/domainV2/DomainSearchResultItem.tsx → Total Size: 1.78kB

  • ./src/app/domainV2/nestedDomains/RootDomains.tsx → Total Size: 1.84kB

  • ./src/app/glossaryV2/GlossaryBrowser/NodeItem.tsx → Total Size: 7.44kB

  • ./src/app/glossaryV2/GlossaryBrowser/TermItem.tsx → Total Size: 3.05kB

  • ./src/app/glossaryV2/colorUtils.ts → Total Size: 1.25kB

  • ./src/app/domainV2/DomainsList.tsx → Total Size: 5.6kB

  • ./src/app/domainV2/EmptyDomainDescription.tsx → Total Size: 1.96kB

  • ./src/app/domainV2/nestedDomains/domainNavigator/DomainNode.tsx → Total Size: 6.6kB

  • ./src/app/glossaryV2/BusinessGlossaryPage.tsx → Total Size: 3.5kB

  • ./src/app/glossaryV2/GlossaryEntitiesList.tsx → Total Size: 2.26kB

  • ./src/conf/theme/colorThemes/light.ts → Total Size: 9.43kB

  • ./src/app/glossaryV2/GlossarySearch.tsx → Total Size: 3.39kB

  • ./src/app/domainV2/EmptyDomainsSection.tsx → Total Size: 1.72kB

  • ./src/app/domainV2/nestedDomains/domainNavigator/DomainNavigator.tsx → Total Size: 1.36kB

  • ./src/app/domainV2/DomainSearch.tsx → Total Size: 2.84kB

  • ./src/app/domainV2/DomainAutocompleteOptions.tsx → Total Size: 1.26kB

  • ./src/app/domainV2/DomainItemMenu.tsx → Total Size: 1.6kB

Base automatically changed from pg--cat-1551-update-components-semantic-tokens to master April 1, 2026 13:21
@maggiehays maggiehays added the needs-review Label for PRs that need review from a maintainer. label Apr 1, 2026
@purnimagarg1 purnimagarg1 force-pushed the pg--cat-1660-semantic-tokens-domains-glossary branch from b9cbf2e to 38d5aee Compare April 7, 2026 13:36
@purnimagarg1 purnimagarg1 changed the title feat(ui): migrate colors to semantic tokens in domainV2 and glossaryV2 folder feat(ui): migrate colors to semantic tokens in domainV2 and glossaryV2 folders Apr 9, 2026
Copy link
Copy Markdown
Contributor

@v-tarasevich-blitz-brain v-tarasevich-blitz-brain left a comment

Choose a reason for hiding this comment

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

Great job!
Just a few suggestions that could be handled in the follow-ups. Nothing blocking

style={{
fontSize: 12,
color: '#BFBFBF',
color: theme.colors.textDisabled,
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

icon

height: 15px;
width: 15px;
color: ${ANTD_GRAY[8]};
color: ${(props) => props.theme.colors.textSecondary};
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I think we can use just icon


const IconContainer = styled.span`
color: ${ANTD_GRAY[7]};
color: ${(props) => props.theme.colors.textTertiary};
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

can we use just icon here?


const ResultsWrapper = styled.div`
background-color: white;
background-color: ${(props) => props.theme.colors.bgSurface};
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

i think it's better to use just bg

Screencast.From.2026-04-10.10-19-45.mp4

style={{
fontSize: 12,
color: '#BFBFBF',
color: theme.colors.textDisabled,
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

just icon


const IconContainer = styled.span`
color: ${ANTD_GRAY[7]};
color: ${(props) => props.theme.colors.textTertiary};
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

icon


const ResultsWrapper = styled.div`
background-color: white;
background-color: ${(props) => props.theme.colors.bgSurface};
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

let's use bg

@maggiehays maggiehays added pending-submitter-merge and removed needs-review Label for PRs that need review from a maintainer. labels Apr 10, 2026
@purnimagarg1 purnimagarg1 merged commit 2d5d0ee into master Apr 13, 2026
44 checks passed
@purnimagarg1 purnimagarg1 deleted the pg--cat-1660-semantic-tokens-domains-glossary branch April 13, 2026 11:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pending-submitter-merge product PR or Issue related to the DataHub UI/UX

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants