-
-
Notifications
You must be signed in to change notification settings - Fork 886
Figma: People Page Violates The Figma Style Guide #3171 #3274
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
Changes from 19 commits
997e7cb
c873b7f
4ba5d8a
59dfb45
c28c3d8
a377c16
e0f3c6c
3a4eb6b
7959fbb
c597c38
73d0d71
5ad1953
762b6a4
ba82b69
d7ad796
e5c8b87
ef42c3a
2e2828b
0a7f31e
929ea91
5ce3410
ef2fa18
6295d17
a077c6c
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
|
||
npm run format:fix | ||
# npm run lint:fix | ||
npm run lint-staged | ||
npm run typecheck | ||
|
Large diffs are not rendered by default.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -35,6 +35,7 @@ | |
"graphql": "^16.9.0", | ||
"graphql-tag": "^2.12.6", | ||
"graphql-ws": "^5.16.0", | ||
"gulp-header": "^1.8.9", | ||
"history": "^5.3.0", | ||
"i18next": "^23.15.1", | ||
"i18next-browser-languagedetector": "^8.0.0", | ||
|
@@ -63,8 +64,8 @@ | |
"redux": "^5.0.1", | ||
"redux-thunk": "^3.1.0", | ||
"sanitize-html": "^2.13.0", | ||
"typedoc": "^0.26.10", | ||
"typedoc-plugin-markdown": "^4.2.10", | ||
"typedoc": "^0.27.0", | ||
"typedoc-plugin-markdown": "^4.4.1", | ||
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. Exclude this file from the PR. It's not a requirement of the issue |
||
"typescript": "^5.6.3", | ||
"vite": "^5.4.8", | ||
"vite-plugin-environment": "^1.1.3", | ||
|
@@ -117,10 +118,10 @@ | |
"@babel/preset-env": "^7.26.0", | ||
"@babel/preset-react": "^7.25.7", | ||
"@babel/preset-typescript": "^7.26.0", | ||
"@testing-library/dom": "^10.4.0", | ||
"@testing-library/jest-dom": "^6.6.3", | ||
"@testing-library/react": "^16.0.1", | ||
"@testing-library/user-event": "^12.1.10", | ||
"@testing-library/dom": "^10.4.0", | ||
"@types/inquirer": "^9.0.7", | ||
"@types/jest": "^26.0.24", | ||
"@types/js-cookie": "^3.0.6", | ||
|
@@ -142,6 +143,7 @@ | |
"cross-env": "^7.0.3", | ||
"eslint": "^8.49.0", | ||
"eslint-config-prettier": "^9.1.0", | ||
"eslint-config-react-app": "^7.0.1", | ||
"eslint-plugin-import": "^2.31.0", | ||
"eslint-plugin-jest": "^28.10.0", | ||
"eslint-plugin-prettier": "^5.2.1", | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -43,21 +43,21 @@ const collapsibleDropdown = ({ | |
<> | ||
<Button | ||
variant={showDropdown ? 'success' : ''} | ||
className={showDropdown ? 'text-white' : 'text-secondary'} | ||
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.
|
||
className={showDropdown ? 'text-black' : 'text-secondary'} | ||
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.
|
||
onClick={(): void => setShowDropdown(!showDropdown)} | ||
aria-expanded={showDropdown} | ||
data-testid="collapsible-dropdown" | ||
> | ||
<div className={styles.iconWrapper}> | ||
<IconComponent | ||
name={name} | ||
fill={showDropdown ? 'var(--bs-white)' : 'var(--bs-secondary)'} | ||
fill={showDropdown ? 'var(--bs-black)' : 'var(--bs-secondary)'} | ||
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.
|
||
/> | ||
</div> | ||
{tCommon(name)} | ||
<i | ||
className={`ms-auto fa | ||
${showDropdown ? 'var(--bs-white)' : 'var(--bs-secondary)'} | ||
${showDropdown ? 'var(--bs-black)' : 'var(--bs-secondary)'} | ||
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.
|
||
${showDropdown ? 'fa-chevron-up' : 'fa-chevron-down'} | ||
`} | ||
/> | ||
|
@@ -74,7 +74,7 @@ const collapsibleDropdown = ({ | |
variant={isActive === true ? 'success' : 'light'} | ||
size="sm" | ||
className={`${styles.collapseBtn} ${ | ||
isActive === true ? 'text-white' : 'text-secondary' | ||
isActive === true ? 'text-black' : 'text-secondary' | ||
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.
|
||
}`} | ||
onClick={(): void => { | ||
navigate(url); | ||
|
@@ -88,7 +88,7 @@ const collapsibleDropdown = ({ | |
<div className="ms-auto"> | ||
<i | ||
className={`fa me-2 fa-chevron-right ${ | ||
isActive === true ? 'text-white' : 'text-secondary' | ||
isActive === true ? 'text-black' : 'text-secondary' | ||
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.
|
||
}`} | ||
/> | ||
</div> | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -96,15 +96,15 @@ const leftDrawer = ({ | |
<Button | ||
variant={isActive === true ? 'success' : ''} | ||
className={`${ | ||
isActive === true ? 'text-white' : 'text-secondary' | ||
isActive === true ? 'text-black' : 'text-secondary' | ||
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.
|
||
}`} | ||
data-testid="rolesBtn" | ||
> | ||
<div className={styles.iconWrapper}> | ||
<RolesIcon | ||
fill={`${ | ||
isActive === true | ||
? 'var(--bs-white)' | ||
? 'var(--bs-black)' | ||
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.
|
||
: 'var(--bs-secondary)' | ||
}`} | ||
/> | ||
|
@@ -118,7 +118,7 @@ const leftDrawer = ({ | |
<Button | ||
variant={isActive === true ? 'success' : ''} | ||
className={`${ | ||
isActive === true ? 'text-white' : 'text-secondary' | ||
isActive === true ? 'text-black' : 'text-secondary' | ||
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.
|
||
}`} | ||
data-testid="communityProfileBtn" | ||
> | ||
|
Uh oh!
There was an error while loading. Please reload this page.