-
Notifications
You must be signed in to change notification settings - Fork 4k
Update badge styles #82210
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
Merged
puneetlath
merged 44 commits into
Expensify:main
from
abzokhattab:refactor-badge-condensed-strong-variants
Mar 4, 2026
Merged
Update badge styles #82210
Changes from all commits
Commits
Show all changes
44 commits
Select commit
Hold shift + click to select a range
37a6d60
Update badge styles
abzokhattab 07fc7e4
fix badges styles
abzokhattab 0d3261c
fixing prettier
abzokhattab 09dd0a9
Merge remote-tracking branch 'origin/main' into refactor-badge-conden…
abzokhattab aaa30a8
bringing back textStyles at domainslistrow
abzokhattab 42ea650
Add colored text for outlined success/danger badges and update badge …
abzokhattab 2d212b9
Add colored text for outlined success/danger badges and update badge …
abzokhattab 57760b6
fixing tasklistitemrow
abzokhattab db279c0
Widen badgeStyle type to StyleProp<ViewStyle> and wire up strong badg…
abzokhattab 3fad8eb
Merge remote-tracking branch 'origin/main' into refactor-badge-conden…
abzokhattab c69f4e3
refactoring
abzokhattab 9e1b3f7
handling default hover
abzokhattab 4075c9d
fixing eslint
abzokhattab a3180c7
cleanup
abzokhattab 0f1ce9c
cleanup
abzokhattab ae767cd
fixing badge focus layout
abzokhattab e237775
cleanup
abzokhattab 2854b42
fixing eslint and sentry labels
abzokhattab 44216c4
Minor refactoring in menuitem
abzokhattab 60de335
fixing domain badge style
abzokhattab 2a686e0
Simplify badge to 3 solid types (Default, Success, Danger) and update…
abzokhattab e3b3700
Merge origin/main into refactor-badge-condensed-strong-variants
abzokhattab 82525d9
fixing prettier
abzokhattab 2c7c284
fixing ts
abzokhattab 2af5925
Apply design feedback: condensed counters, buttonPressedBG for defaul…
abzokhattab 50051db
Refactor Badge to support strong, condensed, and non-strong variants …
abzokhattab 5e29d13
Merge remote-tracking branch 'origin/main' into refactor-badge-conden…
abzokhattab dfc6bf3
making completed badge as success
abzokhattab de12ef6
fixing ts
abzokhattab e41d621
Merge remote-tracking branch 'origin' into refactor-badge-condensed-s…
abzokhattab ee1dd8c
Final badge adjustments: match Figma specs, restore isStrong, fix act…
abzokhattab 212f175
fixing prettier
abzokhattab b509f9b
styles cleanup
abzokhattab ac542fd
Use regular size for report counters, remove redundant success prop, …
abzokhattab e43c0ba
Merge origin/main, resolve WorkspacesListRow conflict
abzokhattab 49657a3
Remove fixed height from defaultBadge so condensed minHeight can over…
abzokhattab 37409cc
Fix badge review issues: remove stale dep, match border on focus, dro…
abzokhattab acec444
Merge origin/main, resolve WorkspacesListRow conflict
abzokhattab bf20282
Extract StatusBadge component to DRY up condensed status badge pattern
abzokhattab 63d8469
Rename badge boolean props to use is prefix, extract StatusBadge wrapper
abzokhattab 30c5f08
Merge remote-tracking branch 'origin/main' into refactor-badge-conden…
abzokhattab 11de51f
Merge remote-tracking branch 'origin/main' into refactor-badge-conden…
abzokhattab a813cac
Merge remote-tracking branch 'origin/main' into refactor-badge-conden…
abzokhattab 332f967
Merge origin/main, resolve MoneyRequestReportPreviewContent conflict
abzokhattab File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -45,15 +45,15 @@ function DomainsListRow({title, isHovered, badgeText, brickRoadIndicator, menuIt | |
| <TextWithTooltip | ||
| text={title} | ||
| shouldShowTooltip | ||
| style={styles.textStrong} | ||
| style={[styles.textStrong, styles.flexShrink1]} | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
| /> | ||
|
|
||
| {!!badgeText && ( | ||
| <View style={[styles.flexRow, styles.gap2, styles.alignItemsCenter, styles.justifyContentEnd]}> | ||
| <Badge | ||
| text={badgeText} | ||
| textStyles={styles.textStrong} | ||
| badgeStyles={[styles.alignSelfCenter, styles.badgeBordered]} | ||
| badgeStyles={styles.alignSelfCenter} | ||
| /> | ||
| </View> | ||
| )} | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.

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.
strongto me indicates bold. Why notisFilledif it's determining whether it is filled or not?