Skip to content
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

Merged
merged 24 commits into from
Apr 29, 2024
Merged

Conversation

DarksightKellar
Copy link
Contributor

@DarksightKellar DarksightKellar commented Apr 25, 2024

Updates the settings page to match designs

Screens:
Screenshot 2024-04-25 at 18 47 25

Screenshot 2024-04-26 at 13 17 53 Screenshot 2024-04-25 at 18 47 58

TODO: update custom nonce input

Copy link

netlify bot commented Apr 25, 2024

Deploy Preview for fractal-dev ready!

Name Link
🔨 Latest commit da29fba
🔍 Latest deploy log https://app.netlify.com/sites/fractal-dev/deploys/662f98f5ab815f0008469c9f
😎 Deploy Preview https://deploy-preview-1606.app.dev.fractalframework.xyz
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link
Contributor

@mudrila mudrila left a 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

@DarksightKellar DarksightKellar marked this pull request as ready for review April 26, 2024 13:50
@DarksightKellar DarksightKellar linked an issue Apr 26, 2024 that may be closed by this pull request
Copy link
Contributor

@mudrila mudrila left a 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('');
Copy link
Contributor

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}
Copy link
Contributor

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

borderColor="neutral-3"
bg="neutral-3"
px="0.75rem"
borderRadius="625rem"
Copy link
Contributor

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?

@DarksightKellar DarksightKellar merged commit e752a57 into reskin/refactor-root-reskin Apr 29, 2024
7 checks passed
@DarksightKellar DarksightKellar deleted the reskin/dao-settings branch April 29, 2024 13:05
@adamgall adamgall changed the title Reskin/dao settings Reskin | dao settings Apr 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Reskin DAO Settings page
3 participants