diff --git a/.github/ISSUE_TEMPLATE/accessibility.yml b/.github/ISSUE_TEMPLATE/accessibility.yml new file mode 100644 index 0000000..cc35872 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/accessibility.yml @@ -0,0 +1,36 @@ +name: Accessibility +description: Report a keyboard, focus, screen-reader, contrast, or touch-target barrier +labels: [a11y, needs-spec] +body: + - type: textarea + id: problem + attributes: + label: What is the barrier for a user? + validations: { required: true } + - type: input + id: page + attributes: + label: Page or component + description: Include the route or UI component, if known. + validations: { required: true } + - type: textarea + id: reproduce + attributes: + label: How can we reproduce it? + description: Include keyboard steps, assistive technology, or browser details where relevant. + validations: { required: true } + - type: textarea + id: expected + attributes: + label: What should happen instead? + validations: { required: true } + - type: dropdown + id: area + attributes: + label: Area + description: Choose the closest area. Maintainers will apply the matching area label. + options: ["area/portal", "area/members", "area/ui", "area/content", "area/tooling", "Not sure"] + validations: { required: true } + - type: markdown + attributes: + value: "Please do not include real personal data, credentials, or production records." \ No newline at end of file diff --git a/.github/ISSUE_TEMPLATE/bug.yml b/.github/ISSUE_TEMPLATE/bug.yml index 1b14f5f..1da6b01 100644 --- a/.github/ISSUE_TEMPLATE/bug.yml +++ b/.github/ISSUE_TEMPLATE/bug.yml @@ -1,6 +1,6 @@ name: Bug description: Something is not working -labels: [bug] +labels: [bug, needs-spec] body: - type: markdown attributes: @@ -13,6 +13,13 @@ body: id: expected attributes: { label: What should happen } validations: { required: true } + - type: dropdown + id: area + attributes: + label: Area + description: Choose the closest area. Maintainers will apply the matching area label. + options: ["area/portal", "area/members", "area/ui", "area/content", "area/tooling", "Not sure"] + validations: { required: true } - type: textarea id: steps attributes: diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml index 40618eb..a306917 100644 --- a/.github/ISSUE_TEMPLATE/config.yml +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -1,4 +1,4 @@ -blank_issues_enabled: true +blank_issues_enabled: false contact_links: - name: Report a security vulnerability url: https://github.com/SDOC-Team/devnepal/blob/main/SECURITY.md diff --git a/.github/ISSUE_TEMPLATE/design.yml b/.github/ISSUE_TEMPLATE/design.yml index 355cf47..b322772 100644 --- a/.github/ISSUE_TEMPLATE/design.yml +++ b/.github/ISSUE_TEMPLATE/design.yml @@ -1,12 +1,11 @@ -name: Design or accessibility -description: Propose an interface improvement or report an accessibility problem -labels: [design] +name: Design +description: Propose an interface or visual-design improvement +labels: [design, needs-spec] body: - type: markdown attributes: value: | - Icons, accessibility fixes, typography and content are open now. - The core visual language is being settled by the design team — we will open it once the design system is published. + Use this form for visual or interaction design proposals. For keyboard, focus, screen-reader, contrast, or touch-target problems, use the Accessibility form. - type: textarea id: problem attributes: @@ -22,14 +21,16 @@ body: label: Proposal description: Screenshot, link, or description. validations: { required: true } + - type: dropdown + id: area + attributes: + label: Area + description: Choose the closest area. Maintainers will apply the matching area label. + options: ["area/portal", "area/members", "area/ui", "area/content", "area/tooling", "Not sure"] + validations: { required: true } - type: textarea id: bilingual attributes: label: How does this work in both languages? description: Required. Devanagari has different line-height and width behaviour from Latin. validations: { required: true } - - type: textarea - id: a11y - attributes: - label: Accessibility - description: Keyboard operation, focus order, contrast. diff --git a/.github/ISSUE_TEMPLATE/task.yml b/.github/ISSUE_TEMPLATE/task.yml index 7e138c4..20e5fa2 100644 --- a/.github/ISSUE_TEMPLATE/task.yml +++ b/.github/ISSUE_TEMPLATE/task.yml @@ -1,5 +1,6 @@ -name: Task -description: A well-scoped piece of work ready for a contributor +name: Task proposal +description: Propose a scoped piece of work for maintainer triage +labels: [needs-spec] body: - type: textarea id: context @@ -18,6 +19,13 @@ body: label: Out of scope description: Be explicit. This field prevents most oversized pull requests and protects your time. validations: { required: true } + - type: dropdown + id: area + attributes: + label: Area + description: Choose the closest area. Maintainers will apply the matching area label. + options: ["area/portal", "area/members", "area/ui", "area/content", "area/tooling", "Not sure"] + validations: { required: true } - type: textarea id: acceptance attributes: diff --git a/.github/ISSUE_TEMPLATE/translation.yml b/.github/ISSUE_TEMPLATE/translation.yml index adfa230..3d3ee8e 100644 --- a/.github/ISSUE_TEMPLATE/translation.yml +++ b/.github/ISSUE_TEMPLATE/translation.yml @@ -1,6 +1,6 @@ name: Nepali translation or content description: Improve Nepali wording, terminology, or English microcopy -labels: [i18n, nepali-language] +labels: [i18n, nepali-language, needs-spec] body: - type: markdown attributes: @@ -11,6 +11,13 @@ body: label: Where is it? placeholder: "Page, or the string key" validations: { required: true } + - type: dropdown + id: area + attributes: + label: Area + description: Choose the closest area. Maintainers will apply the matching area label. + options: ["area/portal", "area/members", "area/ui", "area/content", "area/tooling", "Not sure"] + validations: { required: true } - type: textarea id: current attributes: { label: Current wording }