-
Notifications
You must be signed in to change notification settings - Fork 111
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
[C-3879] Remove web Text component #7686
Conversation
|
GitGuardian id | GitGuardian status | Secret | Commit | Filename | |
---|---|---|---|---|---|
2416686 | Triggered | Generic High Entropy Secret | cc4257a | packages/mobile/src/env/env.stage.ts | View secret |
9349019 | Triggered | Generic High Entropy Secret | cc4257a | packages/ddex/.env.stage | View secret |
🛠 Guidelines to remediate hardcoded secrets
- Understand the implications of revoking this secret by investigating where it is used in your code.
- Replace and store your secrets safely. Learn here the best practices.
- Revoke and rotate these secrets.
- If possible, rewrite git history. Rewriting git history is not a trivial act. You might completely break other contributing developers' workflow and you risk accidentally deleting legitimate data.
To avoid such incidents in the future consider
- following these best practices for managing and storing secrets including API keys and other credentials
- install secret detection on pre-commit to catch secret before it leaves your machine and ease remediation.
🦉 GitGuardian detects secrets in your source code to help developers and security teams secure the modern development process. You are seeing this because you or someone else with access to this repository has authorized GitGuardian to scan your pull request.
Our GitHub checks need improvements? Share your feedbacks!
Preview this change https://demo.audius.co/dj-remove-text |
Preview this change https://demo.audius.co/dj-remove-text |
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.
Banger PR! Huge in every sense 👏
Do we have a plan to do a sweep of the app for places where the text has changed or looks off? Seems like there's a lot of potential here for quiet regressions. Even if we're getting closer to the unified standard, it might not be displaying as originally intended in each real usage.
title={ | ||
<Text | ||
variant='label' | ||
size='xLarge' | ||
strength='strong' | ||
color='neutralLight2' | ||
> | ||
{messages.title} | ||
</Text> | ||
} |
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.
I assume consolidating the logic makes these more consistent not less, but worth calling out that I've seen lots of styling issues with modal titles in the past. Hoping this is the end of them 🤞
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.
yeah my main goal is to remove all the ways we do it to ensure consistency, and then just getting it right :)
<Text | ||
variant='title' | ||
strength='weak' | ||
className={cn(styles.headerContainer, className, ...extraStyles)} |
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.
feels so much cleaner. Love the design we went with for harmony!
styles.bottomButtons | ||
)} | ||
> | ||
<Text variant='title' size='s' className={styles.bottomButtons}> |
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.
not related to this specific section, but I just realized the inheriting behavior on our text component can cause some confusing bugs if you wrap it around rendered children.
Because each text component essentially creates a styling context, wrapping <Text>{props.children}</Text>
can lead to child components being rendered with unexpected styles. I think this is mostly fine, but we should be careful about this in general.
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.
yeah 100 agree, my hope is we move to a world where text children are only other text elements/svgs so its clear they inherit styles unless explicitly overriden
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.
YES good riddance
@@ -185,15 +186,9 @@ const TrackRow = (props: TrackRowProps) => { | |||
</div> | |||
<div className={styles.trackTitleContainer}> | |||
<Text | |||
size='small' | |||
// @ts-ignore TODO: support for accent-red in other themes |
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.
🎉
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.
Banger PR! Huge in every sense 👏
Do we have a plan to do a sweep of the app for places where the text has changed or looks off? Seems like there's a lot of potential here for quiet regressions. Even if we're getting closer to the unified standard, it might not be displaying as originally intended in each real usage.
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.
Banger PR! Huge in every sense 👏
Do we have a plan to do a sweep of the app for places where the text has changed or looks off? Seems like there's a lot of potential here for quiet regressions. Even if we're getting closer to the unified standard, it might not be displaying as originally intended in each real usage.
Thanks! Yes I'm looking to get all the refactors in for text icons links etc first and then when that's all looking good do a fine sweep of everything before the next release |
[3ff422f] [PROTO-1513] Setup e2e test stub with LocalStack, wire it up to CI, and automate Mongo init (#7705) Theo Ilie [e705bcf] Allow empty adc auto-deploy commits (#7709) Michelle Brier [ebf162f] [PAY-2523] CollectionTrackRelations migration for sellable albums (#7677) Reed [7fcc5f9] Fix harmony system-appearance (#7706) Dylan Jeffers [f8df062] Update welcome drawer close functionality to always open the notifications drawer (#7704) Kyle Shanks [1845dfc] Remove flipper from android and update readme (#7703) Sebastian Klingler [ced4135] Add documents path to asset url check (#7702) Randy Schott [c3e46e6] Bump version to 0.6.45 audius-infra [81383fd] [C-3879] Remove web Text component (#7686) Dylan Jeffers [138f7c8] Fix half-load of spring animation on all <Page> components (#7692) Raymond Jacobson [cf8ad1b] Fix album notification entity type (#7580) Isaac Solo [4f2a415] [Web] Fix red caret on Transactions History page (#7693) nicoback2 [50156e5] [PAY-2435] Remove pointer cursor when dropzone at max capacity (#7695) Saliou Diallo [ea3365a] [C-3838] Analytics events for mobile sign up (#7655) JD Francis [40edef7] [C-3877] Remove web icon component (#7674) Dylan Jeffers [58c7e47] [C-3880] Add bottom padding to the safe area on the sign in screen (#7689) Kyle Shanks [3e7f71e] Fix app site association (#7694) Sebastian Klingler [4f92b88] [C-3855] Fix android white screen issue on sign up (#7683) JD Francis [596f9cc] Add remote redux debugging to mobile app (#7687) Sebastian Klingler [df30494] Fix amplitude key injection on mobile (#7690) Dylan Jeffers [f8c4f43] [PAY-2513] Fix file size text wrap on web DownloadRow (#7688) Reed [7084823] [PAY-2517] Change name of temp download dir on mobile (#7671) Reed [051d95f] [PROTO-1668] placement for mediorum uploads (#7668) Steve Perkins [17f9536] [C-3857] Remove the shadow on the verified handle section in new sign up flow (#7681) Kyle Shanks [0d6556a] [INF-659] Remove flipper and enable experimental debugger (#7685) Sebastian Klingler [336dc7a] [PROTO-1669] Find Mongo changes when offline and clean up DDEX (#7680) Theo Ilie [043c3a5] [C-3863] Increase touch target of close button of artist preview banner (#7666) Kyle Shanks [b2a0609] [C-3881] Add apiKey to the jwt payload (#7684) Raymond Jacobson [dc41e93] [Discovery] Add year time range for metrics endpoints [C-3753] (#7676) nicoback2 [c104b7e] [C-3854] Update size of social buttons in new sign up flow (#7682) Kyle Shanks [f772ae8] [C-3859] Fix mobile handle validation quirks (#7664) JD Francis [21f5d8e] [DVRL-10] Ensure history uses track activity model (#7678) Raymond Jacobson [3a8b27a] Bump version to 0.6.44 audius-infra [eb858ee] Upgrade dependencies used in alpine base image (#7675) Reed [9824ddc] [PROTO-1670] Find userId in DDEX parser and remove artist allowlist (#7662) Theo Ilie [fc4ead6]⚠️ [PAY-2421] Upload stems in parallel (#7644) Marcus Pasell [831ca36] [C-3870] Update AccountHeader handle text to be one line (#7672) Kyle Shanks [5c87774] [C-3876] Remove stems icons (#7670) Dylan Jeffers [dded48a] Pin dnspython to version 2.5.0 (#7673) Isaac Solo [ec07ff1] [C-3861] Remove default padding on text inputs for andoird (#7669) Kyle Shanks [3c217da] [C-3873] Migrate to harmony IconButton (#7659) Dylan Jeffers [a8ff559] [PAY-2229] Add lossless UI metrics (#7665) Saliou Diallo [0c37ede] Revert "PROTO-1574: sepolia config and register all nodes" (#7667) alecsavvy [51cdfd6] [DVRL-10] Add auth middleware sdk changes for history (#7663) Raymond Jacobson [4ec621f] Bump version to 0.6.43 audius-infra
Description
Replaces all instances of web text component and its typography styles with harmony text