-
Notifications
You must be signed in to change notification settings - Fork 6
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
feat(styles): update summary page #633
base: main
Are you sure you want to change the base?
Conversation
|
✅ Deploy Preview for harness-xd-review ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
5be6eb4
to
2c0b79c
Compare
onClick?.(e) | ||
setCopied(true) |
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.
setCopied()
should happen first. it's possible that the caller can stop event propagation in the onClick
callback
id="identifier" | ||
label={t('views:repos.name')} | ||
value={tokenData?.identifier} | ||
readOnly | ||
variant="extended" | ||
rightElementVariant="default" | ||
rightElement={<CopyButton name={tokenData?.identifier} />} | ||
rightElement={<CopyButton name={tokenData?.identifier} onClick={e => e.preventDefault()} />} |
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.
why do we need preventDefault
here?
This pull request brings small design updates for repo summary page:
Clone repository
edit README.md