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(docs): add "copy to clipboard" to styles section #17782

Open
wants to merge 5 commits into
base: dev
Choose a base branch
from

Conversation

Igorcbraz
Copy link

What kind of change does this PR introduce?

  • Bugfix
  • Feature
  • Documentation
  • Code style update
  • Refactor
  • Build-related changes
  • Other, please describe:

Does this PR introduce a breaking change?

  • Yes
  • No

The PR fulfills these requirements:

  • It's submitted to the dev branch (or v[X] branch)
  • When resolving a specific issue, it's referenced in the PR's title (e.g. fix: #xxx[,#xxx], where "xxx" is the issue number)
  • It's been tested on a Cordova (iOS, Android) app
  • It's been tested on an Electron app
  • Any necessary documentation has been added or updated in the docs or explained in the PR's description.

If adding a new feature, the PR's description includes:

  • A convincing reason for adding this feature (to avoid wasting your time, it's best to start a new feature discussion first and wait for approval before working on it)

Other information:

I'm always using the "Style and Identity" document tab to grab some class names. But, I have to copy them manually.
The initial purpose of this change is just to add a copy to clipboard option. But along the way, I created a table component to make it easier for all tables to have this functionality.

- Default clipboard copy option for row names
- Same style as .md table
- Automatic apply badge to .md syntax: `some code`
- Flexible for more columns
Copy link
Member

@yusufkandemir yusufkandemir left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, but we are using <script setup> in the docs code. You used Options API for the new things you added, and even converted the existing code to Options API. So, we can't accept this as is.

If you could convert it to <script setup>, that would be nice. Otherwise, we either have to:

  • need more time to do it ourselves
  • wait for someone else to create a similar PR
  • deny the PR

@yusufkandemir yusufkandemir changed the title feat(docs) add "copy to clipboard" to styles section feat(docs): add "copy to clipboard" to styles section Feb 24, 2025
@Igorcbraz
Copy link
Author

Thanks, but we are using <script setup> in the docs code. You used Options API for the new things you added, and even converted the existing code to Options API. So, we can't accept this as is.

If you could convert it to <script setup>, that would be nice. Otherwise, we either have to:

  • need more time to do it ourselves
  • wait for someone else to create a similar PR
  • deny the PR

Thx for the feedback! I’ve updated the code to use <script setup> as requested. Let me know if there’s anything else that needs adjustment.

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.

2 participants