-
Notifications
You must be signed in to change notification settings - Fork 7
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
Reskin
| dao settings
#1606
Reskin
| dao settings
#1606
Conversation
✅ Deploy Preview for fractal-dev ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
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.
Bunch of somewhat minor suggestions, but otherwise - looks good. Also, given that this PR still in draft - I'd assume more changes would arrive so another round of review will be needed anyway
src/components/pages/DaoSettings/components/ERC20TokenContainer.tsx
Outdated
Show resolved
Hide resolved
src/components/pages/DaoSettings/components/MetadataContainer.tsx
Outdated
Show resolved
Hide resolved
src/components/pages/DaoSettings/components/Signers/SignersContainer.tsx
Outdated
Show resolved
Hide resolved
src/components/pages/DaoSettings/components/Signers/modals/RemoveSignerModal.tsx
Outdated
Show resolved
Hide resolved
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.
Couple minor comments, but overall - looks good, don't wanna hold for merging but would appreciate if you can remove old values for textStyle
and color
|
||
export default function MetadataContainer() { | ||
export function MetadataContainer() { | ||
const [name, setName] = useState(''); |
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, you're right - but this name
should be pre-filled with existing DAO name (unless it's shortened address). The logic of pre-filling lives in the hook few lines below. Anyway, this logic was there before so no worries
<Button | ||
variant="tertiary" | ||
variant="secondary" | ||
size="sm" | ||
disabled={!snapshotENSValid || snapshotENS === daoSnapshotENS} |
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've meant !snapshotENSValid || snapshotENS === daoSnapshotENS
can be put into variable, but again - this logic was there so we can keep it
src/components/pages/DaoSettings/components/ModulesContainer.tsx
Outdated
Show resolved
Hide resolved
src/components/pages/DaoSettings/components/ModulesContainer.tsx
Outdated
Show resolved
Hide resolved
src/components/pages/DaoSettings/components/Signers/modals/RemoveSignerModal.tsx
Outdated
Show resolved
Hide resolved
borderColor="neutral-3" | ||
bg="neutral-3" | ||
px="0.75rem" | ||
borderRadius="625rem" |
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.
Just wondering - isn't borderRadius="100%"
will work the same?
Updates the settings page to match designs
Screens:
TODO: update custom nonce input