diff --git a/.github/ISSUE_TEMPLATE/bug-report-v3.yml b/.github/ISSUE_TEMPLATE/bug-report-v3.yml index e662c767..1e1cf964 100644 --- a/.github/ISSUE_TEMPLATE/bug-report-v3.yml +++ b/.github/ISSUE_TEMPLATE/bug-report-v3.yml @@ -5,7 +5,7 @@ body: - type: markdown attributes: value: | - Before reporting a bug, please make sure that you have read through our [v3 documentation](https://ui.nuxt.com/) and existing [issues](https://github.com/nuxt/ui/issues?q=is%3Aissue%20is%3Aopen%20sort%3Aupdated-desc%20label%3Av3). + Before reporting a bug, please make sure that you have read through our [documentation](https://ui.nuxt.com/) and existing [issues](https://github.com/nuxt/ui/issues?q=is%3Aissue%20is%3Aopen%20sort%3Aupdated-desc%20label%3Av3). - type: textarea id: env attributes: @@ -44,7 +44,7 @@ body: id: reproduction attributes: label: Reproduction - description: Please provide a reproduction link using the Nuxt template https://codesandbox.io/p/devbox/nuxt-ui3-n3sxks or the Vue template https://codesandbox.io/p/devbox/nuxt-ui3-vue-4h5gqn. A minimal [reproduction is required](https://antfu.me/posts/why-reproductions-are-required) unless you are absolutely sure that the issue is obvious and the provided information is enough to understand the problem. If a report is vague (e.g. just a generic error message) and has no reproduction, it will receive a "needs reproduction" label. If no reproduction is provided we might close it. + description: Please provide a reproduction link using the Nuxt template https://codesandbox.io/p/devbox/nuxt-ui3-n3sxks or the Vue template https://codesandbox.io/p/devbox/nuxt-ui3-vue-4h5gqn. A minimal [reproduction is required](https://antfu.me/posts/why-reproductions-are-required) unless you are absolutely sure that the issue is obvious and the provided information is enough to understand the problem. If a report is vague (e.g. just a generic error message) and has no reproduction, it will receive a "needs reproduction" label. If no reproduction is provided, it will be closed automatically after a while. placeholder: https://github.com/my/reproduction validations: required: true diff --git a/.github/ISSUE_TEMPLATE/feature-request-v3.yml b/.github/ISSUE_TEMPLATE/feature-request-v3.yml index ee6dba5e..89596ac7 100644 --- a/.github/ISSUE_TEMPLATE/feature-request-v3.yml +++ b/.github/ISSUE_TEMPLATE/feature-request-v3.yml @@ -5,7 +5,7 @@ body: - type: markdown attributes: value: | - Before requesting a feature, please make sure that you have read through our [v3 documentation](https://ui.nuxt.com/) and existing [issues](https://github.com/nuxt/ui/issues?q=is%3Aissue%20is%3Aopen%20sort%3Aupdated-desc%20label%3Av3). + Before requesting a feature, please make sure that you have read through our [documentation](https://ui.nuxt.com/) and existing [issues](https://github.com/nuxt/ui/issues?q=is%3Aissue%20is%3Aopen%20sort%3Aupdated-desc%20label%3Av3). - type: textarea id: description attributes: diff --git a/.github/ISSUE_TEMPLATE/question-v3.yml b/.github/ISSUE_TEMPLATE/question-v3.yml index e05cf13e..149c749b 100644 --- a/.github/ISSUE_TEMPLATE/question-v3.yml +++ b/.github/ISSUE_TEMPLATE/question-v3.yml @@ -5,7 +5,7 @@ body: - type: markdown attributes: value: | - Before asking a question, please make sure that you have read through our [v3 documentation](https://ui.nuxt.com/) and existing [issues](https://github.com/nuxt/ui/issues?q=is%3Aissue%20is%3Aopen%20sort%3Aupdated-desc%20label%3Av3). + Before asking a question, please make sure that you have read through our [documentation](https://ui.nuxt.com/) and existing [issues](https://github.com/nuxt/ui/issues?q=is%3Aissue%20is%3Aopen%20sort%3Aupdated-desc%20label%3Av3). - type: textarea id: description attributes: diff --git a/.github/reproduire/needs-reproduction.md b/.github/reproduire/needs-reproduction.md new file mode 100644 index 00000000..7604e82b --- /dev/null +++ b/.github/reproduire/needs-reproduction.md @@ -0,0 +1,30 @@ +Would you be able to provide a [reproduction](https://nuxt.com/docs/community/reporting-bugs/#create-a-minimal-reproduction)? 🙏 + +
+More info + +### Why do I need to provide a reproduction? + +Reproductions make it possible for us to triage and fix issues quickly with a relatively small team. It helps us discover the source of the problem, and also can reveal assumptions you or we might be making. + +### What will happen? + +If you've provided a reproduction, we'll remove the label and try to reproduce the issue. If we can, we'll mark it as a bug and prioritise it based on its severity and how many people we think it might affect. + +If `needs reproduction` labeled issues don't receive any substantial activity (e.g., new comments featuring a reproduction link), they will be closed automatically after a while. That's not because we don't care! At any point, feel free to comment with a reproduction and we'll reopen it. + +### How can I create a reproduction? + +We have templates to create a minimal reproduction: + +* **Nuxt**: https://codesandbox.io/p/devbox/nuxt-ui3-n3sxks +* **Vue**: https://codesandbox.io/p/devbox/nuxt-ui3-vue-4h5gqn + +Please ensure that the reproduction is as **minimal** as possible. See more details [in our guide](https://nuxt.com/docs/community/reporting-bugs/#create-a-minimal-reproduction). + +You might also find these other articles interesting and/or helpful: + +- [The Importance of Reproductions](https://antfu.me/posts/why-reproductions-are-required) +- [How to Generate a Minimal, Complete, and Verifiable Example](https://stackoverflow.com/help/mcve) + +
\ No newline at end of file diff --git a/.github/workflows/reproduire.yml b/.github/workflows/reproduire.yml new file mode 100644 index 00000000..6d81139f --- /dev/null +++ b/.github/workflows/reproduire.yml @@ -0,0 +1,17 @@ +name: reproduire + +on: + issues: + types: [labeled] + +permissions: + issues: write + +jobs: + reproduire: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 + - uses: Hebilicious/reproduire@4b686ae9cbb72dad60f001d278b6e3b2ce40a9ac # v0.0.9-mp + with: + label: needs reproduction \ No newline at end of file diff --git a/cli/templates.mjs b/cli/templates.mjs index 4fc11c96..e7b3e56d 100644 --- a/cli/templates.mjs +++ b/cli/templates.mjs @@ -66,7 +66,7 @@ const ui = computed(() => tv({ extend: tv(theme), ...(appConfig.ui?.${camelName} @@ -109,7 +109,7 @@ const ui = computed(() => tv({ extend: tv(theme), ...(appConfig.ui?.${camelName} ` } diff --git a/docs/app/components/content/examples/command-palette/CommandPaletteIgnoreFilterExample.vue b/docs/app/components/content/examples/command-palette/CommandPaletteIgnoreFilterExample.vue index fac49f95..a94da398 100644 --- a/docs/app/components/content/examples/command-palette/CommandPaletteIgnoreFilterExample.vue +++ b/docs/app/components/content/examples/command-palette/CommandPaletteIgnoreFilterExample.vue @@ -1,9 +1,10 @@ + + diff --git a/docs/app/components/content/examples/tabs/TabsModelValueExample.vue b/docs/app/components/content/examples/tabs/TabsModelValueExample.vue index 3d4f1a17..2d9c3a12 100644 --- a/docs/app/components/content/examples/tabs/TabsModelValueExample.vue +++ b/docs/app/components/content/examples/tabs/TabsModelValueExample.vue @@ -1,22 +1,32 @@ diff --git a/docs/app/composables/useLinks.ts b/docs/app/composables/useLinks.ts index e258889f..6b718fae 100644 --- a/docs/app/composables/useLinks.ts +++ b/docs/app/composables/useLinks.ts @@ -98,7 +98,7 @@ export function useLinks() { label: 'Raycast Extension', description: 'Access Nuxt UI components without leaving your editor.', icon: 'i-simple-icons-raycast', - to: 'https://www.raycast.com/HugoRCD/nuxt-ui', + to: 'https://www.raycast.com/HugoRCD/nuxt', target: '_blank' }, { label: 'Figma to Code', diff --git a/docs/content/1.getting-started/3.theme.md b/docs/content/1.getting-started/3.theme.md index 6f80a867..ac6d2db3 100644 --- a/docs/content/1.getting-started/3.theme.md +++ b/docs/content/1.getting-started/3.theme.md @@ -973,7 +973,7 @@ export default { ```vue [src/runtime/components/Card.vue]