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

feat(styles): update summary page #633

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

iatopilskii
Copy link
Collaborator

This pull request brings small design updates for repo summary page:

  • clone repo dialog;
  • add "edit" button for readme.md
Clone repository

image

image

edit README.md

image

@iatopilskii iatopilskii requested a review from knagurski as a code owner January 3, 2025 17:55
@CLAassistant
Copy link

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

Copy link

netlify bot commented Jan 3, 2025

Deploy Preview for harness-xd-review ready!

Name Link
🔨 Latest commit 2c0b79c
🔍 Latest deploy log https://app.netlify.com/sites/harness-xd-review/deploys/677bbc20ca417c00082dfb9e
😎 Deploy Preview https://deploy-preview-633--harness-xd-review.netlify.app
📱 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.

@iatopilskii iatopilskii force-pushed the feat-upd-summary-page branch from 5be6eb4 to 2c0b79c Compare January 6, 2025 11:18
Comment on lines +24 to +25
onClick?.(e)
setCopied(true)
Copy link
Collaborator

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()} />}
Copy link
Collaborator

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?

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.

5 participants