From e927b0c92801920e44f8d85107f7be91c633123a Mon Sep 17 00:00:00 2001 From: Bashamega Date: Sun, 30 Mar 2025 15:48:06 +0200 Subject: [PATCH 01/30] feat: Add issue templates for bug reports, feature requests, and more --- .github/ISSUE_TEMPLATE/config.yml | 51 +++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100644 .github/ISSUE_TEMPLATE/config.yml diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml new file mode 100644 index 000000000..116e09fdf --- /dev/null +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -0,0 +1,51 @@ +blank_issues_enabled: false +issue_templates: + - name: 🐞 Bug Report + description: Report incorrect or missing DOM typings. + labels: [bug] + file: bug_report.md + + - name: ✨ Feature Request + description: Suggest a new DOM API or improvement to typings. + labels: [enhancement] + file: feature_request.md + + - name: 📜 Specification Update + description: Report an update to web standards affecting typings. + labels: [spec update] + file: specification_update.md + + - name: 🔍 Typings Inconsistency + description: Report inconsistencies between TypeScript's DOM typings and browser behavior. + labels: [inconsistency] + file: typings_inconsistency.md + + - name: 📖 Documentation Improvement + description: Suggest improvements or corrections to the documentation. + labels: [documentation] + file: documentation_improvement.md + + - name: 🤝 Contribution Proposal + description: Discuss potential contributions before making a PR. + labels: [discussion] + file: contribution_proposal.md + + - name: 🚀 Performance Issue + description: Report slow or inefficient type generation processes. + labels: [performance] + file: performance_issue.md + + - name: 🛠️ Tooling Issue + description: Report problems with build scripts or automation. + labels: [tooling] + file: tooling_issue.md + + - name: ⏪ Regression Report + description: Report an issue where previously correct typings are now incorrect. + labels: [regression] + file: regression_report.md + + - name: ❓ Support Question + description: Ask a general question about the repository. + labels: [question] + file: support_question.md From a0a074c5f81707c4b86430ed2acebb7d912ea8c0 Mon Sep 17 00:00:00 2001 From: Bashamega Date: Sun, 30 Mar 2025 15:53:10 +0200 Subject: [PATCH 02/30] Switch to yml --- .github/ISSUE_TEMPLATE/config.yml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml index 116e09fdf..b18e06003 100644 --- a/.github/ISSUE_TEMPLATE/config.yml +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -3,49 +3,49 @@ issue_templates: - name: 🐞 Bug Report description: Report incorrect or missing DOM typings. labels: [bug] - file: bug_report.md + file: bug_report.yml - name: ✨ Feature Request description: Suggest a new DOM API or improvement to typings. labels: [enhancement] - file: feature_request.md + file: feature_request.yml - name: 📜 Specification Update description: Report an update to web standards affecting typings. labels: [spec update] - file: specification_update.md + file: specification_update.yml - name: 🔍 Typings Inconsistency description: Report inconsistencies between TypeScript's DOM typings and browser behavior. labels: [inconsistency] - file: typings_inconsistency.md + file: typings_inconsistency.yml - name: 📖 Documentation Improvement description: Suggest improvements or corrections to the documentation. labels: [documentation] - file: documentation_improvement.md + file: documentation_improvement.yml - name: 🤝 Contribution Proposal description: Discuss potential contributions before making a PR. labels: [discussion] - file: contribution_proposal.md + file: contribution_proposal.yml - name: 🚀 Performance Issue description: Report slow or inefficient type generation processes. labels: [performance] - file: performance_issue.md + file: performance_issue.yml - name: 🛠️ Tooling Issue description: Report problems with build scripts or automation. labels: [tooling] - file: tooling_issue.md + file: tooling_issue.yml - name: ⏪ Regression Report description: Report an issue where previously correct typings are now incorrect. labels: [regression] - file: regression_report.md + file: regression_report.yml - name: ❓ Support Question description: Ask a general question about the repository. labels: [question] - file: support_question.md + file: support_question.yml From 89528a7b9e11677354d0158c44288dd3083a827f Mon Sep 17 00:00:00 2001 From: Bashamega Date: Sun, 30 Mar 2025 16:01:00 +0200 Subject: [PATCH 03/30] Template --- .github/ISSUE_TEMPLATE/bug_report.yml | 50 +++++++++++++++++++ .../ISSUE_TEMPLATE/contribution_proposal.yml | 31 ++++++++++++ .../documentation_improvement.yml | 31 ++++++++++++ .github/ISSUE_TEMPLATE/feature_request.yml | 42 ++++++++++++++++ .github/ISSUE_TEMPLATE/performance_issue.yml | 35 +++++++++++++ .github/ISSUE_TEMPLATE/regression_report.yml | 38 ++++++++++++++ .../ISSUE_TEMPLATE/specification_update.yml | 38 ++++++++++++++ .github/ISSUE_TEMPLATE/support_question.yml | 40 +++++++++++++++ .github/ISSUE_TEMPLATE/tooling_issue.yml | 35 +++++++++++++ .../ISSUE_TEMPLATE/typings_inconsistency.yml | 38 ++++++++++++++ 10 files changed, 378 insertions(+) create mode 100644 .github/ISSUE_TEMPLATE/bug_report.yml create mode 100644 .github/ISSUE_TEMPLATE/contribution_proposal.yml create mode 100644 .github/ISSUE_TEMPLATE/documentation_improvement.yml create mode 100644 .github/ISSUE_TEMPLATE/feature_request.yml create mode 100644 .github/ISSUE_TEMPLATE/performance_issue.yml create mode 100644 .github/ISSUE_TEMPLATE/regression_report.yml create mode 100644 .github/ISSUE_TEMPLATE/specification_update.yml create mode 100644 .github/ISSUE_TEMPLATE/support_question.yml create mode 100644 .github/ISSUE_TEMPLATE/tooling_issue.yml create mode 100644 .github/ISSUE_TEMPLATE/typings_inconsistency.yml diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml new file mode 100644 index 000000000..37119bad0 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -0,0 +1,50 @@ +name: "Bug Report" +title: "[Bug] " +labels: [bug] +assignees: [] +description: "Report incorrect or missing DOM typings." +body: + - type: markdown + attributes: + value: | + ## Bug Report + Please fill out the form below to help us understand and fix the issue. + - type: input + id: description + attributes: + label: "Short Description" + description: "Briefly describe the bug" + placeholder: "Describe the issue..." + required: true + - type: dropdown + id: platform + attributes: + label: "Browser/Platform" + description: "Select the browser or platform where the issue occurs" + options: + - "Chrome" + - "Firefox" + - "Edge" + - "Safari" + - "Other" + required: true + - type: textarea + id: steps + attributes: + label: "Steps to Reproduce" + description: "List the steps needed to reproduce the issue" + placeholder: "1. Step one\n2. Step two\n3. Step three..." + required: true + - type: input + id: ts_version + attributes: + label: "TypeScript Version" + description: "Enter your TypeScript version" + placeholder: "e.g., 4.7.0" + required: true + - type: textarea + id: additional_context + attributes: + label: "Additional Context" + description: "Any extra details or screenshots" + placeholder: "Optional details..." diff --git a/.github/ISSUE_TEMPLATE/contribution_proposal.yml b/.github/ISSUE_TEMPLATE/contribution_proposal.yml new file mode 100644 index 000000000..7445752c0 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/contribution_proposal.yml @@ -0,0 +1,31 @@ +name: "Contribution Proposal" +title: "[Contribution Proposal] " +labels: [discussion] +assignees: [] +description: "Discuss potential contributions before making a pull request." +body: + - type: markdown + attributes: + value: | + ## Contribution Proposal + Outline your proposed contribution and implementation plan. + - type: input + id: contribution_summary + attributes: + label: "Contribution Summary" + description: "Brief description of the proposed contribution" + placeholder: "e.g., Adding support for a new API..." + required: true + - type: textarea + id: contribution_details + attributes: + label: "Contribution Details" + description: "Describe the contribution in detail along with your plan" + placeholder: "Detailed plan and reasoning..." + required: true + - type: textarea + id: additional_context + attributes: + label: "Additional Context" + description: "Any other relevant details or considerations" + placeholder: "Optional additional information..." diff --git a/.github/ISSUE_TEMPLATE/documentation_improvement.yml b/.github/ISSUE_TEMPLATE/documentation_improvement.yml new file mode 100644 index 000000000..5e3dd46ec --- /dev/null +++ b/.github/ISSUE_TEMPLATE/documentation_improvement.yml @@ -0,0 +1,31 @@ +name: "Documentation Improvement" +title: "[Docs] " +labels: [documentation] +assignees: [] +description: "Suggest improvements or corrections to the documentation." +body: + - type: markdown + attributes: + value: | + ## Documentation Improvement + Please specify what documentation needs improvement. + - type: input + id: doc_section + attributes: + label: "Documentation Section" + description: "Which part of the documentation needs improvement?" + placeholder: "e.g., API Reference, Getting Started..." + required: true + - type: textarea + id: suggested_changes + attributes: + label: "Suggested Changes" + description: "Describe your proposed changes or improvements" + placeholder: "Detailed suggestion..." + required: true + - type: textarea + id: additional_context + attributes: + label: "Additional Context" + description: "Any extra context or screenshots" + placeholder: "Optional additional details..." diff --git a/.github/ISSUE_TEMPLATE/feature_request.yml b/.github/ISSUE_TEMPLATE/feature_request.yml new file mode 100644 index 000000000..6e4ca1182 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature_request.yml @@ -0,0 +1,42 @@ +name: "Feature Request" +title: "[Feature] " +labels: [enhancement] +assignees: [] +description: "Suggest a new DOM API or improvements to the typings." +body: + - type: markdown + attributes: + value: | + ## Feature Request + Please provide details about the feature you’d like to see. + - type: input + id: feature_summary + attributes: + label: "Feature Summary" + description: "Briefly describe the proposed feature" + placeholder: "e.g., Support for XYZ API" + required: true + - type: textarea + id: feature_description + attributes: + label: "Feature Description" + description: "Describe the feature in detail" + placeholder: "Detailed explanation..." + required: true + - type: dropdown + id: spec_reference + attributes: + label: "Specification Reference" + description: "Select the related specification source" + options: + - "WHATWG" + - "W3C" + - "MDN" + - "Other" + required: true + - type: textarea + id: additional_context + attributes: + label: "Additional Context" + description: "Any other context or links to references" + placeholder: "Optional additional information..." diff --git a/.github/ISSUE_TEMPLATE/performance_issue.yml b/.github/ISSUE_TEMPLATE/performance_issue.yml new file mode 100644 index 000000000..f30abaa1e --- /dev/null +++ b/.github/ISSUE_TEMPLATE/performance_issue.yml @@ -0,0 +1,35 @@ +name: "Performance Issue" +title: "[Performance Issue] " +labels: [performance] +assignees: [] +description: "Report slow or inefficient type generation processes." +body: + - type: markdown + attributes: + value: | + ## Performance Issue + Describe the performance problem in detail. + - type: textarea + id: issue_description + attributes: + label: "Issue Description" + description: "Detailed description of the performance problem" + placeholder: "Describe the issue..." + required: true + - type: dropdown + id: affected_area + attributes: + label: "Affected Area" + description: "Select the part of the repository affected" + options: + - "Type Generation" + - "Build Scripts" + - "CI/CD" + - "Other" + required: true + - type: textarea + id: additional_context + attributes: + label: "Additional Context" + description: "Include any profiling data, logs, or other information" + placeholder: "Optional additional details..." diff --git a/.github/ISSUE_TEMPLATE/regression_report.yml b/.github/ISSUE_TEMPLATE/regression_report.yml new file mode 100644 index 000000000..359ca6ef8 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/regression_report.yml @@ -0,0 +1,38 @@ +name: "Regression Report" +title: "[Regression] " +labels: [regression] +assignees: [] +description: "Report an issue where previously correct typings are now incorrect." +body: + - type: markdown + attributes: + value: | + ## Regression Report + Provide details about the regression issue. + - type: input + id: previous_version + attributes: + label: "Previously Working Version" + description: "Version where the issue did not occur" + placeholder: "e.g., 4.6.0" + required: true + - type: input + id: current_version + attributes: + label: "Current Version" + description: "Current version where the regression is observed" + placeholder: "e.g., 4.7.0" + required: true + - type: textarea + id: issue_description + attributes: + label: "Issue Description" + description: "Describe the regression behavior" + placeholder: "Detailed description..." + required: true + - type: textarea + id: additional_context + attributes: + label: "Additional Context" + description: "Any extra information or logs" + placeholder: "Optional additional details..." diff --git a/.github/ISSUE_TEMPLATE/specification_update.yml b/.github/ISSUE_TEMPLATE/specification_update.yml new file mode 100644 index 000000000..b744ccc8d --- /dev/null +++ b/.github/ISSUE_TEMPLATE/specification_update.yml @@ -0,0 +1,38 @@ +name: "Specification Update" +title: "[Spec Update] " +labels: [spec update] +assignees: [] +description: "Report updates to web standards affecting the DOM typings." +body: + - type: markdown + attributes: + value: | + ## Specification Update + Provide details about the updated specification. + - type: input + id: spec_name + attributes: + label: "Specification Name" + description: "Name of the updated specification" + placeholder: "e.g., HTML Living Standard" + required: true + - type: input + id: spec_link + attributes: + label: "Specification Link" + description: "URL to the specification update" + placeholder: "e.g., https://whatwg.org/" + required: true + - type: textarea + id: impact_details + attributes: + label: "Impact Details" + description: "Describe how the update affects the DOM typings" + placeholder: "Details on the changes..." + required: true + - type: textarea + id: additional_context + attributes: + label: "Additional Context" + description: "Any other related information or references" + placeholder: "Optional details..." diff --git a/.github/ISSUE_TEMPLATE/support_question.yml b/.github/ISSUE_TEMPLATE/support_question.yml new file mode 100644 index 000000000..6ff449da1 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/support_question.yml @@ -0,0 +1,40 @@ +name: "Support Question" +title: "[Support] " +labels: [question] +assignees: [] +description: "Ask a general question about the repository." +body: + - type: markdown + attributes: + value: | + ## Support Question + Provide details about your question. + - type: input + id: question_summary + attributes: + label: "Question Summary" + description: "Brief summary of your question" + placeholder: "e.g., How do I..." + required: true + - type: textarea + id: question_details + attributes: + label: "Question Details" + description: "Provide additional context or background for your question" + placeholder: "Detailed description..." + required: true + - type: dropdown + id: checked_docs + attributes: + label: "Documentation Checked" + description: "Have you checked the documentation?" + options: + - "Yes" + - "No" + required: true + - type: textarea + id: additional_context + attributes: + label: "Additional Context" + description: "Any other details or context" + placeholder: "Optional details..." diff --git a/.github/ISSUE_TEMPLATE/tooling_issue.yml b/.github/ISSUE_TEMPLATE/tooling_issue.yml new file mode 100644 index 000000000..e93c4b25b --- /dev/null +++ b/.github/ISSUE_TEMPLATE/tooling_issue.yml @@ -0,0 +1,35 @@ +name: "Tooling Issue" +title: "[Tooling Issue] " +labels: [tooling] +assignees: [] +description: "Report problems with build scripts or automation." +body: + - type: markdown + attributes: + value: | + ## Tooling Issue + Provide details about the tooling problem. + - type: dropdown + id: tooling_area + attributes: + label: "Affected Tooling Area" + description: "Select the affected tooling component" + options: + - "Build Scripts" + - "CI/CD Pipeline" + - "Dependencies" + - "Other" + required: true + - type: textarea + id: issue_description + attributes: + label: "Issue Description" + description: "Describe the tooling problem" + placeholder: "Detailed description..." + required: true + - type: textarea + id: logs + attributes: + label: "Logs / Errors" + description: "Include any relevant logs or error messages" + placeholder: "Paste logs or error details..." diff --git a/.github/ISSUE_TEMPLATE/typings_inconsistency.yml b/.github/ISSUE_TEMPLATE/typings_inconsistency.yml new file mode 100644 index 000000000..f10844851 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/typings_inconsistency.yml @@ -0,0 +1,38 @@ +name: "Typings Inconsistency" +title: "[Typings Inconsistency] " +labels: [inconsistency] +assignees: [] +description: "Report inconsistencies between TypeScript's DOM typings and browser behavior." +body: + - type: markdown + attributes: + value: | + ## Typings Inconsistency + Provide details of the inconsistency. + - type: input + id: inconsistency_summary + attributes: + label: "Summary" + description: "Brief summary of the inconsistency" + placeholder: "e.g., Mismatch in event handling..." + required: true + - type: textarea + id: expected_vs_actual + attributes: + label: "Expected vs. Actual Behavior" + description: "Describe what you expected and what actually happened" + placeholder: "Expected: ...\nActual: ..." + required: true + - type: textarea + id: steps + attributes: + label: "Steps to Reproduce" + description: "List steps to reproduce the issue" + placeholder: "Step 1, Step 2, Step 3..." + required: true + - type: textarea + id: additional_context + attributes: + label: "Additional Context" + description: "Any extra information, logs, or references" + placeholder: "Optional details..." From 42c06ebdda6f90db476506e7ad43a61c732fd3a3 Mon Sep 17 00:00:00 2001 From: Bashamega Date: Sun, 30 Mar 2025 16:03:54 +0200 Subject: [PATCH 04/30] chore add checkbox --- .github/ISSUE_TEMPLATE/feature_request.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/ISSUE_TEMPLATE/feature_request.yml b/.github/ISSUE_TEMPLATE/feature_request.yml index 6e4ca1182..20a4c1902 100644 --- a/.github/ISSUE_TEMPLATE/feature_request.yml +++ b/.github/ISSUE_TEMPLATE/feature_request.yml @@ -34,6 +34,14 @@ body: - "MDN" - "Other" required: true + - type: checkboxes + id: browser_support + attributes: + label: "Browser Support" + description: "Ensure that the API is supported in at least two major browsers." + options: + - label: "This API is supported in at least two major browsers." + required: true - type: textarea id: additional_context attributes: From b5dbb51bd61c5698a27b240b9ce296af88c01bcf Mon Sep 17 00:00:00 2001 From: Bashamega Date: Sun, 30 Mar 2025 16:39:30 +0200 Subject: [PATCH 05/30] - --- .github/ISSUE_TEMPLATE/bug_report.yml | 50 ------------------- .github/ISSUE_TEMPLATE/config.yml | 47 +---------------- .../ISSUE_TEMPLATE/contribution_proposal.yml | 31 ------------ .../documentation_improvement.yml | 31 ------------ .github/ISSUE_TEMPLATE/feature_request.yml | 50 ------------------- .github/ISSUE_TEMPLATE/performance_issue.yml | 35 ------------- .github/ISSUE_TEMPLATE/regression_report.yml | 38 -------------- .../ISSUE_TEMPLATE/specification_update.yml | 38 -------------- .github/ISSUE_TEMPLATE/support_question.yml | 40 --------------- .github/ISSUE_TEMPLATE/tooling_issue.yml | 35 ------------- .../ISSUE_TEMPLATE/typings_inconsistency.yml | 38 -------------- 11 files changed, 1 insertion(+), 432 deletions(-) delete mode 100644 .github/ISSUE_TEMPLATE/bug_report.yml delete mode 100644 .github/ISSUE_TEMPLATE/contribution_proposal.yml delete mode 100644 .github/ISSUE_TEMPLATE/documentation_improvement.yml delete mode 100644 .github/ISSUE_TEMPLATE/feature_request.yml delete mode 100644 .github/ISSUE_TEMPLATE/performance_issue.yml delete mode 100644 .github/ISSUE_TEMPLATE/regression_report.yml delete mode 100644 .github/ISSUE_TEMPLATE/specification_update.yml delete mode 100644 .github/ISSUE_TEMPLATE/support_question.yml delete mode 100644 .github/ISSUE_TEMPLATE/tooling_issue.yml delete mode 100644 .github/ISSUE_TEMPLATE/typings_inconsistency.yml diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml deleted file mode 100644 index 37119bad0..000000000 --- a/.github/ISSUE_TEMPLATE/bug_report.yml +++ /dev/null @@ -1,50 +0,0 @@ -name: "Bug Report" -title: "[Bug] " -labels: [bug] -assignees: [] -description: "Report incorrect or missing DOM typings." -body: - - type: markdown - attributes: - value: | - ## Bug Report - Please fill out the form below to help us understand and fix the issue. - - type: input - id: description - attributes: - label: "Short Description" - description: "Briefly describe the bug" - placeholder: "Describe the issue..." - required: true - - type: dropdown - id: platform - attributes: - label: "Browser/Platform" - description: "Select the browser or platform where the issue occurs" - options: - - "Chrome" - - "Firefox" - - "Edge" - - "Safari" - - "Other" - required: true - - type: textarea - id: steps - attributes: - label: "Steps to Reproduce" - description: "List the steps needed to reproduce the issue" - placeholder: "1. Step one\n2. Step two\n3. Step three..." - required: true - - type: input - id: ts_version - attributes: - label: "TypeScript Version" - description: "Enter your TypeScript version" - placeholder: "e.g., 4.7.0" - required: true - - type: textarea - id: additional_context - attributes: - label: "Additional Context" - description: "Any extra details or screenshots" - placeholder: "Optional details..." diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml index b18e06003..8c9d527cd 100644 --- a/.github/ISSUE_TEMPLATE/config.yml +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -1,51 +1,6 @@ -blank_issues_enabled: false +blank_issues_enabled: true issue_templates: - - name: 🐞 Bug Report - description: Report incorrect or missing DOM typings. - labels: [bug] - file: bug_report.yml - - - name: ✨ Feature Request - description: Suggest a new DOM API or improvement to typings. - labels: [enhancement] - file: feature_request.yml - - - name: 📜 Specification Update - description: Report an update to web standards affecting typings. - labels: [spec update] - file: specification_update.yml - - name: 🔍 Typings Inconsistency description: Report inconsistencies between TypeScript's DOM typings and browser behavior. labels: [inconsistency] file: typings_inconsistency.yml - - - name: 📖 Documentation Improvement - description: Suggest improvements or corrections to the documentation. - labels: [documentation] - file: documentation_improvement.yml - - - name: 🤝 Contribution Proposal - description: Discuss potential contributions before making a PR. - labels: [discussion] - file: contribution_proposal.yml - - - name: 🚀 Performance Issue - description: Report slow or inefficient type generation processes. - labels: [performance] - file: performance_issue.yml - - - name: 🛠️ Tooling Issue - description: Report problems with build scripts or automation. - labels: [tooling] - file: tooling_issue.yml - - - name: ⏪ Regression Report - description: Report an issue where previously correct typings are now incorrect. - labels: [regression] - file: regression_report.yml - - - name: ❓ Support Question - description: Ask a general question about the repository. - labels: [question] - file: support_question.yml diff --git a/.github/ISSUE_TEMPLATE/contribution_proposal.yml b/.github/ISSUE_TEMPLATE/contribution_proposal.yml deleted file mode 100644 index 7445752c0..000000000 --- a/.github/ISSUE_TEMPLATE/contribution_proposal.yml +++ /dev/null @@ -1,31 +0,0 @@ -name: "Contribution Proposal" -title: "[Contribution Proposal] " -labels: [discussion] -assignees: [] -description: "Discuss potential contributions before making a pull request." -body: - - type: markdown - attributes: - value: | - ## Contribution Proposal - Outline your proposed contribution and implementation plan. - - type: input - id: contribution_summary - attributes: - label: "Contribution Summary" - description: "Brief description of the proposed contribution" - placeholder: "e.g., Adding support for a new API..." - required: true - - type: textarea - id: contribution_details - attributes: - label: "Contribution Details" - description: "Describe the contribution in detail along with your plan" - placeholder: "Detailed plan and reasoning..." - required: true - - type: textarea - id: additional_context - attributes: - label: "Additional Context" - description: "Any other relevant details or considerations" - placeholder: "Optional additional information..." diff --git a/.github/ISSUE_TEMPLATE/documentation_improvement.yml b/.github/ISSUE_TEMPLATE/documentation_improvement.yml deleted file mode 100644 index 5e3dd46ec..000000000 --- a/.github/ISSUE_TEMPLATE/documentation_improvement.yml +++ /dev/null @@ -1,31 +0,0 @@ -name: "Documentation Improvement" -title: "[Docs] " -labels: [documentation] -assignees: [] -description: "Suggest improvements or corrections to the documentation." -body: - - type: markdown - attributes: - value: | - ## Documentation Improvement - Please specify what documentation needs improvement. - - type: input - id: doc_section - attributes: - label: "Documentation Section" - description: "Which part of the documentation needs improvement?" - placeholder: "e.g., API Reference, Getting Started..." - required: true - - type: textarea - id: suggested_changes - attributes: - label: "Suggested Changes" - description: "Describe your proposed changes or improvements" - placeholder: "Detailed suggestion..." - required: true - - type: textarea - id: additional_context - attributes: - label: "Additional Context" - description: "Any extra context or screenshots" - placeholder: "Optional additional details..." diff --git a/.github/ISSUE_TEMPLATE/feature_request.yml b/.github/ISSUE_TEMPLATE/feature_request.yml deleted file mode 100644 index 20a4c1902..000000000 --- a/.github/ISSUE_TEMPLATE/feature_request.yml +++ /dev/null @@ -1,50 +0,0 @@ -name: "Feature Request" -title: "[Feature] " -labels: [enhancement] -assignees: [] -description: "Suggest a new DOM API or improvements to the typings." -body: - - type: markdown - attributes: - value: | - ## Feature Request - Please provide details about the feature you’d like to see. - - type: input - id: feature_summary - attributes: - label: "Feature Summary" - description: "Briefly describe the proposed feature" - placeholder: "e.g., Support for XYZ API" - required: true - - type: textarea - id: feature_description - attributes: - label: "Feature Description" - description: "Describe the feature in detail" - placeholder: "Detailed explanation..." - required: true - - type: dropdown - id: spec_reference - attributes: - label: "Specification Reference" - description: "Select the related specification source" - options: - - "WHATWG" - - "W3C" - - "MDN" - - "Other" - required: true - - type: checkboxes - id: browser_support - attributes: - label: "Browser Support" - description: "Ensure that the API is supported in at least two major browsers." - options: - - label: "This API is supported in at least two major browsers." - required: true - - type: textarea - id: additional_context - attributes: - label: "Additional Context" - description: "Any other context or links to references" - placeholder: "Optional additional information..." diff --git a/.github/ISSUE_TEMPLATE/performance_issue.yml b/.github/ISSUE_TEMPLATE/performance_issue.yml deleted file mode 100644 index f30abaa1e..000000000 --- a/.github/ISSUE_TEMPLATE/performance_issue.yml +++ /dev/null @@ -1,35 +0,0 @@ -name: "Performance Issue" -title: "[Performance Issue] " -labels: [performance] -assignees: [] -description: "Report slow or inefficient type generation processes." -body: - - type: markdown - attributes: - value: | - ## Performance Issue - Describe the performance problem in detail. - - type: textarea - id: issue_description - attributes: - label: "Issue Description" - description: "Detailed description of the performance problem" - placeholder: "Describe the issue..." - required: true - - type: dropdown - id: affected_area - attributes: - label: "Affected Area" - description: "Select the part of the repository affected" - options: - - "Type Generation" - - "Build Scripts" - - "CI/CD" - - "Other" - required: true - - type: textarea - id: additional_context - attributes: - label: "Additional Context" - description: "Include any profiling data, logs, or other information" - placeholder: "Optional additional details..." diff --git a/.github/ISSUE_TEMPLATE/regression_report.yml b/.github/ISSUE_TEMPLATE/regression_report.yml deleted file mode 100644 index 359ca6ef8..000000000 --- a/.github/ISSUE_TEMPLATE/regression_report.yml +++ /dev/null @@ -1,38 +0,0 @@ -name: "Regression Report" -title: "[Regression] " -labels: [regression] -assignees: [] -description: "Report an issue where previously correct typings are now incorrect." -body: - - type: markdown - attributes: - value: | - ## Regression Report - Provide details about the regression issue. - - type: input - id: previous_version - attributes: - label: "Previously Working Version" - description: "Version where the issue did not occur" - placeholder: "e.g., 4.6.0" - required: true - - type: input - id: current_version - attributes: - label: "Current Version" - description: "Current version where the regression is observed" - placeholder: "e.g., 4.7.0" - required: true - - type: textarea - id: issue_description - attributes: - label: "Issue Description" - description: "Describe the regression behavior" - placeholder: "Detailed description..." - required: true - - type: textarea - id: additional_context - attributes: - label: "Additional Context" - description: "Any extra information or logs" - placeholder: "Optional additional details..." diff --git a/.github/ISSUE_TEMPLATE/specification_update.yml b/.github/ISSUE_TEMPLATE/specification_update.yml deleted file mode 100644 index b744ccc8d..000000000 --- a/.github/ISSUE_TEMPLATE/specification_update.yml +++ /dev/null @@ -1,38 +0,0 @@ -name: "Specification Update" -title: "[Spec Update] " -labels: [spec update] -assignees: [] -description: "Report updates to web standards affecting the DOM typings." -body: - - type: markdown - attributes: - value: | - ## Specification Update - Provide details about the updated specification. - - type: input - id: spec_name - attributes: - label: "Specification Name" - description: "Name of the updated specification" - placeholder: "e.g., HTML Living Standard" - required: true - - type: input - id: spec_link - attributes: - label: "Specification Link" - description: "URL to the specification update" - placeholder: "e.g., https://whatwg.org/" - required: true - - type: textarea - id: impact_details - attributes: - label: "Impact Details" - description: "Describe how the update affects the DOM typings" - placeholder: "Details on the changes..." - required: true - - type: textarea - id: additional_context - attributes: - label: "Additional Context" - description: "Any other related information or references" - placeholder: "Optional details..." diff --git a/.github/ISSUE_TEMPLATE/support_question.yml b/.github/ISSUE_TEMPLATE/support_question.yml deleted file mode 100644 index 6ff449da1..000000000 --- a/.github/ISSUE_TEMPLATE/support_question.yml +++ /dev/null @@ -1,40 +0,0 @@ -name: "Support Question" -title: "[Support] " -labels: [question] -assignees: [] -description: "Ask a general question about the repository." -body: - - type: markdown - attributes: - value: | - ## Support Question - Provide details about your question. - - type: input - id: question_summary - attributes: - label: "Question Summary" - description: "Brief summary of your question" - placeholder: "e.g., How do I..." - required: true - - type: textarea - id: question_details - attributes: - label: "Question Details" - description: "Provide additional context or background for your question" - placeholder: "Detailed description..." - required: true - - type: dropdown - id: checked_docs - attributes: - label: "Documentation Checked" - description: "Have you checked the documentation?" - options: - - "Yes" - - "No" - required: true - - type: textarea - id: additional_context - attributes: - label: "Additional Context" - description: "Any other details or context" - placeholder: "Optional details..." diff --git a/.github/ISSUE_TEMPLATE/tooling_issue.yml b/.github/ISSUE_TEMPLATE/tooling_issue.yml deleted file mode 100644 index e93c4b25b..000000000 --- a/.github/ISSUE_TEMPLATE/tooling_issue.yml +++ /dev/null @@ -1,35 +0,0 @@ -name: "Tooling Issue" -title: "[Tooling Issue] " -labels: [tooling] -assignees: [] -description: "Report problems with build scripts or automation." -body: - - type: markdown - attributes: - value: | - ## Tooling Issue - Provide details about the tooling problem. - - type: dropdown - id: tooling_area - attributes: - label: "Affected Tooling Area" - description: "Select the affected tooling component" - options: - - "Build Scripts" - - "CI/CD Pipeline" - - "Dependencies" - - "Other" - required: true - - type: textarea - id: issue_description - attributes: - label: "Issue Description" - description: "Describe the tooling problem" - placeholder: "Detailed description..." - required: true - - type: textarea - id: logs - attributes: - label: "Logs / Errors" - description: "Include any relevant logs or error messages" - placeholder: "Paste logs or error details..." diff --git a/.github/ISSUE_TEMPLATE/typings_inconsistency.yml b/.github/ISSUE_TEMPLATE/typings_inconsistency.yml deleted file mode 100644 index f10844851..000000000 --- a/.github/ISSUE_TEMPLATE/typings_inconsistency.yml +++ /dev/null @@ -1,38 +0,0 @@ -name: "Typings Inconsistency" -title: "[Typings Inconsistency] " -labels: [inconsistency] -assignees: [] -description: "Report inconsistencies between TypeScript's DOM typings and browser behavior." -body: - - type: markdown - attributes: - value: | - ## Typings Inconsistency - Provide details of the inconsistency. - - type: input - id: inconsistency_summary - attributes: - label: "Summary" - description: "Brief summary of the inconsistency" - placeholder: "e.g., Mismatch in event handling..." - required: true - - type: textarea - id: expected_vs_actual - attributes: - label: "Expected vs. Actual Behavior" - description: "Describe what you expected and what actually happened" - placeholder: "Expected: ...\nActual: ..." - required: true - - type: textarea - id: steps - attributes: - label: "Steps to Reproduce" - description: "List steps to reproduce the issue" - placeholder: "Step 1, Step 2, Step 3..." - required: true - - type: textarea - id: additional_context - attributes: - label: "Additional Context" - description: "Any extra information, logs, or references" - placeholder: "Optional details..." From ea7855b91b46d897d5e84d74bc2e39fcddecddc5 Mon Sep 17 00:00:00 2001 From: Adam Basha <110662505+Bashamega@users.noreply.github.com> Date: Sun, 30 Mar 2025 16:46:23 +0200 Subject: [PATCH 06/30] Create typings_inconsistency.yml --- .../ISSUE_TEMPLATE/typings_inconsistency.yml | 38 +++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 .github/ISSUE_TEMPLATE/typings_inconsistency.yml diff --git a/.github/ISSUE_TEMPLATE/typings_inconsistency.yml b/.github/ISSUE_TEMPLATE/typings_inconsistency.yml new file mode 100644 index 000000000..f10844851 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/typings_inconsistency.yml @@ -0,0 +1,38 @@ +name: "Typings Inconsistency" +title: "[Typings Inconsistency] " +labels: [inconsistency] +assignees: [] +description: "Report inconsistencies between TypeScript's DOM typings and browser behavior." +body: + - type: markdown + attributes: + value: | + ## Typings Inconsistency + Provide details of the inconsistency. + - type: input + id: inconsistency_summary + attributes: + label: "Summary" + description: "Brief summary of the inconsistency" + placeholder: "e.g., Mismatch in event handling..." + required: true + - type: textarea + id: expected_vs_actual + attributes: + label: "Expected vs. Actual Behavior" + description: "Describe what you expected and what actually happened" + placeholder: "Expected: ...\nActual: ..." + required: true + - type: textarea + id: steps + attributes: + label: "Steps to Reproduce" + description: "List steps to reproduce the issue" + placeholder: "Step 1, Step 2, Step 3..." + required: true + - type: textarea + id: additional_context + attributes: + label: "Additional Context" + description: "Any extra information, logs, or references" + placeholder: "Optional details..." From 9e6656bd4e42a9389ea9f1332a8ccd29f331bbc3 Mon Sep 17 00:00:00 2001 From: Adam Basha <110662505+Bashamega@users.noreply.github.com> Date: Sun, 30 Mar 2025 16:47:50 +0200 Subject: [PATCH 07/30] Update typings_inconsistency.yml --- .github/ISSUE_TEMPLATE/typings_inconsistency.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/typings_inconsistency.yml b/.github/ISSUE_TEMPLATE/typings_inconsistency.yml index f10844851..270cc9a30 100644 --- a/.github/ISSUE_TEMPLATE/typings_inconsistency.yml +++ b/.github/ISSUE_TEMPLATE/typings_inconsistency.yml @@ -15,21 +15,21 @@ body: label: "Summary" description: "Brief summary of the inconsistency" placeholder: "e.g., Mismatch in event handling..." - required: true + required: true - type: textarea id: expected_vs_actual attributes: label: "Expected vs. Actual Behavior" description: "Describe what you expected and what actually happened" placeholder: "Expected: ...\nActual: ..." - required: true + required: true - type: textarea id: steps attributes: label: "Steps to Reproduce" description: "List steps to reproduce the issue" placeholder: "Step 1, Step 2, Step 3..." - required: true + required: true - type: textarea id: additional_context attributes: From dfb8fc91d9d7ebb56af7f9d32197127a00cb4047 Mon Sep 17 00:00:00 2001 From: Adam Basha <110662505+Bashamega@users.noreply.github.com> Date: Sun, 30 Mar 2025 16:50:58 +0200 Subject: [PATCH 08/30] fix the format --- .github/ISSUE_TEMPLATE/typings_inconsistency.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/typings_inconsistency.yml b/.github/ISSUE_TEMPLATE/typings_inconsistency.yml index 270cc9a30..b3c48054e 100644 --- a/.github/ISSUE_TEMPLATE/typings_inconsistency.yml +++ b/.github/ISSUE_TEMPLATE/typings_inconsistency.yml @@ -15,21 +15,24 @@ body: label: "Summary" description: "Brief summary of the inconsistency" placeholder: "e.g., Mismatch in event handling..." - required: true + validations: + required: true - type: textarea id: expected_vs_actual attributes: label: "Expected vs. Actual Behavior" description: "Describe what you expected and what actually happened" placeholder: "Expected: ...\nActual: ..." - required: true + validations: + required: true - type: textarea id: steps attributes: label: "Steps to Reproduce" description: "List steps to reproduce the issue" placeholder: "Step 1, Step 2, Step 3..." - required: true + validations: + required: true - type: textarea id: additional_context attributes: From d5303ec52c1ddff85be46be8adfa415b01ec18f6 Mon Sep 17 00:00:00 2001 From: Adam Basha <110662505+Bashamega@users.noreply.github.com> Date: Sun, 30 Mar 2025 16:54:34 +0200 Subject: [PATCH 09/30] Update typings_inconsistency.yml --- .github/ISSUE_TEMPLATE/typings_inconsistency.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/ISSUE_TEMPLATE/typings_inconsistency.yml b/.github/ISSUE_TEMPLATE/typings_inconsistency.yml index b3c48054e..d72443553 100644 --- a/.github/ISSUE_TEMPLATE/typings_inconsistency.yml +++ b/.github/ISSUE_TEMPLATE/typings_inconsistency.yml @@ -33,6 +33,15 @@ body: placeholder: "Step 1, Step 2, Step 3..." validations: required: true + - type: checkboxes + id: browser_support + attributes: + label: "Browser Support" + description: "Ensure that the API is supported in at least two major browsers." + options: + - label: "This API is supported in at least two major browsers." + validations: + required: true - type: textarea id: additional_context attributes: From 1ff166c59c7733c1c762cb5f3da888c57d013c1d Mon Sep 17 00:00:00 2001 From: Adam Basha <110662505+Bashamega@users.noreply.github.com> Date: Sun, 30 Mar 2025 16:55:08 +0200 Subject: [PATCH 10/30] Update typings_inconsistency.yml --- .github/ISSUE_TEMPLATE/typings_inconsistency.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/typings_inconsistency.yml b/.github/ISSUE_TEMPLATE/typings_inconsistency.yml index d72443553..2dbb0c359 100644 --- a/.github/ISSUE_TEMPLATE/typings_inconsistency.yml +++ b/.github/ISSUE_TEMPLATE/typings_inconsistency.yml @@ -40,8 +40,8 @@ body: description: "Ensure that the API is supported in at least two major browsers." options: - label: "This API is supported in at least two major browsers." - validations: - required: true + validations: + required: true - type: textarea id: additional_context attributes: From 8cdad4647c8954a80a03e20ffd5969fc3a96a442 Mon Sep 17 00:00:00 2001 From: Adam Basha <110662505+Bashamega@users.noreply.github.com> Date: Sun, 30 Mar 2025 16:56:57 +0200 Subject: [PATCH 11/30] Update typings_inconsistency.yml --- .github/ISSUE_TEMPLATE/typings_inconsistency.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/typings_inconsistency.yml b/.github/ISSUE_TEMPLATE/typings_inconsistency.yml index 2dbb0c359..efb6b5898 100644 --- a/.github/ISSUE_TEMPLATE/typings_inconsistency.yml +++ b/.github/ISSUE_TEMPLATE/typings_inconsistency.yml @@ -40,8 +40,8 @@ body: description: "Ensure that the API is supported in at least two major browsers." options: - label: "This API is supported in at least two major browsers." - validations: - required: true + validations: + required: true - type: textarea id: additional_context attributes: From ed57b88cf9b856a1933c99b0e200da557c973465 Mon Sep 17 00:00:00 2001 From: Bashamega Date: Mon, 31 Mar 2025 06:28:02 +0200 Subject: [PATCH 12/30] chore: use existing label --- .github/ISSUE_TEMPLATE/typings_inconsistency.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/ISSUE_TEMPLATE/typings_inconsistency.yml b/.github/ISSUE_TEMPLATE/typings_inconsistency.yml index efb6b5898..85261b289 100644 --- a/.github/ISSUE_TEMPLATE/typings_inconsistency.yml +++ b/.github/ISSUE_TEMPLATE/typings_inconsistency.yml @@ -1,6 +1,6 @@ name: "Typings Inconsistency" title: "[Typings Inconsistency] " -labels: [inconsistency] +labels: [lib.d.ts bug] assignees: [] description: "Report inconsistencies between TypeScript's DOM typings and browser behavior." body: From 17872485028b06911b64b72eb51380be2c4b14f8 Mon Sep 17 00:00:00 2001 From: Bashamega Date: Mon, 31 Mar 2025 06:29:36 +0200 Subject: [PATCH 13/30] chore: use web API instead --- .github/ISSUE_TEMPLATE/config.yml | 2 +- .github/ISSUE_TEMPLATE/typings_inconsistency.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml index 8c9d527cd..090e67301 100644 --- a/.github/ISSUE_TEMPLATE/config.yml +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -1,6 +1,6 @@ blank_issues_enabled: true issue_templates: - name: 🔍 Typings Inconsistency - description: Report inconsistencies between TypeScript's DOM typings and browser behavior. + description: Report inconsistencies between TypeScript's web API typings and browser behavior. labels: [inconsistency] file: typings_inconsistency.yml diff --git a/.github/ISSUE_TEMPLATE/typings_inconsistency.yml b/.github/ISSUE_TEMPLATE/typings_inconsistency.yml index 85261b289..66e2e314e 100644 --- a/.github/ISSUE_TEMPLATE/typings_inconsistency.yml +++ b/.github/ISSUE_TEMPLATE/typings_inconsistency.yml @@ -2,7 +2,7 @@ name: "Typings Inconsistency" title: "[Typings Inconsistency] " labels: [lib.d.ts bug] assignees: [] -description: "Report inconsistencies between TypeScript's DOM typings and browser behavior." +description: "Report inconsistencies between TypeScript's web API typings and browser behavior." body: - type: markdown attributes: From b19b9df7726c9f4d38ef4e455367f1d54ff98d6f Mon Sep 17 00:00:00 2001 From: Bashamega Date: Mon, 31 Mar 2025 06:32:07 +0200 Subject: [PATCH 14/30] Add playground link --- .github/ISSUE_TEMPLATE/typings_inconsistency.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/typings_inconsistency.yml b/.github/ISSUE_TEMPLATE/typings_inconsistency.yml index 66e2e314e..110364099 100644 --- a/.github/ISSUE_TEMPLATE/typings_inconsistency.yml +++ b/.github/ISSUE_TEMPLATE/typings_inconsistency.yml @@ -28,9 +28,9 @@ body: - type: textarea id: steps attributes: - label: "Steps to Reproduce" - description: "List steps to reproduce the issue" - placeholder: "Step 1, Step 2, Step 3..." + label: "Playground link" + description: "Paste the playground link" + placeholder: "https://www.typescriptlang.org/play/..." validations: required: true - type: checkboxes From 3a72cfa88ff2877cdd3b3cd2edb56f53eaf8856a Mon Sep 17 00:00:00 2001 From: Bashamega Date: Mon, 31 Mar 2025 06:35:45 +0200 Subject: [PATCH 15/30] chore add use_latest_typescript checkbox --- .github/ISSUE_TEMPLATE/typings_inconsistency.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/ISSUE_TEMPLATE/typings_inconsistency.yml b/.github/ISSUE_TEMPLATE/typings_inconsistency.yml index 110364099..699d03858 100644 --- a/.github/ISSUE_TEMPLATE/typings_inconsistency.yml +++ b/.github/ISSUE_TEMPLATE/typings_inconsistency.yml @@ -42,6 +42,15 @@ body: - label: "This API is supported in at least two major browsers." validations: required: true + - type: checkbox + id: use_latest_typescript + attributes: + label: "Use Latest TypeScript Package" + description: "Check this if you are using the latest TypeScript package." + options: + - label: "I am using the latest version of TS" + validations: + required: true - type: textarea id: additional_context attributes: From c1f0d4958d5bfff320dfae348eade7e5bde00181 Mon Sep 17 00:00:00 2001 From: Bashamega Date: Mon, 31 Mar 2025 06:36:55 +0200 Subject: [PATCH 16/30] fix labels --- .github/ISSUE_TEMPLATE/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml index 090e67301..92a9e6ecc 100644 --- a/.github/ISSUE_TEMPLATE/config.yml +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -2,5 +2,5 @@ blank_issues_enabled: true issue_templates: - name: 🔍 Typings Inconsistency description: Report inconsistencies between TypeScript's web API typings and browser behavior. - labels: [inconsistency] + labels: [lib.d.ts bug] file: typings_inconsistency.yml From f2e1b02dfe84b3e87b13dccfe64f62082d01aed4 Mon Sep 17 00:00:00 2001 From: Adam Basha <110662505+Bashamega@users.noreply.github.com> Date: Mon, 31 Mar 2025 08:54:36 +0200 Subject: [PATCH 17/30] Update .github/ISSUE_TEMPLATE/typings_inconsistency.yml Co-authored-by: Holger Jeromin --- .github/ISSUE_TEMPLATE/typings_inconsistency.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/typings_inconsistency.yml b/.github/ISSUE_TEMPLATE/typings_inconsistency.yml index 699d03858..345886a0e 100644 --- a/.github/ISSUE_TEMPLATE/typings_inconsistency.yml +++ b/.github/ISSUE_TEMPLATE/typings_inconsistency.yml @@ -37,9 +37,9 @@ body: id: browser_support attributes: label: "Browser Support" - description: "Ensure that the API is supported in at least two major browsers." + description: "Ensure that the API is supported in at least two major browser engines (not two chromiums)." options: - - label: "This API is supported in at least two major browsers." + - label: "This API is supported in at least two major browser engines (not two chromiums)." validations: required: true - type: checkbox From 9a3b198341f0e81094056c008c897c4e72f6c590 Mon Sep 17 00:00:00 2001 From: Bashamega Date: Tue, 1 Apr 2025 07:59:53 +0200 Subject: [PATCH 18/30] update --- .github/ISSUE_TEMPLATE/config.yml | 4 ++-- ....yml => web_api_type_definition_issue.yml} | 21 +++++++++++++------ 2 files changed, 17 insertions(+), 8 deletions(-) rename .github/ISSUE_TEMPLATE/{typings_inconsistency.yml => web_api_type_definition_issue.yml} (75%) diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml index 92a9e6ecc..bbac19427 100644 --- a/.github/ISSUE_TEMPLATE/config.yml +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -1,6 +1,6 @@ blank_issues_enabled: true issue_templates: - - name: 🔍 Typings Inconsistency + - name: Web API type definition issue description: Report inconsistencies between TypeScript's web API typings and browser behavior. labels: [lib.d.ts bug] - file: typings_inconsistency.yml + file: web_api_type_definition_issue.yml diff --git a/.github/ISSUE_TEMPLATE/typings_inconsistency.yml b/.github/ISSUE_TEMPLATE/web_api_type_definition_issue.yml similarity index 75% rename from .github/ISSUE_TEMPLATE/typings_inconsistency.yml rename to .github/ISSUE_TEMPLATE/web_api_type_definition_issue.yml index 345886a0e..331b93cb4 100644 --- a/.github/ISSUE_TEMPLATE/typings_inconsistency.yml +++ b/.github/ISSUE_TEMPLATE/web_api_type_definition_issue.yml @@ -1,5 +1,5 @@ -name: "Typings Inconsistency" -title: "[Typings Inconsistency] " +name: "Web API type definition issue" +title: "[Web API type definition issue] " labels: [lib.d.ts bug] assignees: [] description: "Report inconsistencies between TypeScript's web API typings and browser behavior." @@ -7,13 +7,13 @@ body: - type: markdown attributes: value: | - ## Typings Inconsistency - Provide details of the inconsistency. + ## Web API type definition issue + Provide details of the issue. - type: input - id: inconsistency_summary + id: issue_summary attributes: label: "Summary" - description: "Brief summary of the inconsistency" + description: "Brief summary of the issue" placeholder: "e.g., Mismatch in event handling..." validations: required: true @@ -51,6 +51,15 @@ body: - label: "I am using the latest version of TS" validations: required: true + - type: checkbox + id: use_latest_typescript_web + attributes: + label: "Use the latest @types/web Package" + description: "Check this if you are using the latest @types/web package." + options: + - label: "I am using the latest version of @types/web" + validations: + required: true - type: textarea id: additional_context attributes: From 3d83efb51723f5e43cfeabc61ce17e4d557da620 Mon Sep 17 00:00:00 2001 From: Adam Basha <110662505+Bashamega@users.noreply.github.com> Date: Tue, 1 Apr 2025 10:07:34 +0200 Subject: [PATCH 19/30] Update .github/ISSUE_TEMPLATE/web_api_type_definition_issue.yml Co-authored-by: Kagami Sascha Rosylight --- .github/ISSUE_TEMPLATE/web_api_type_definition_issue.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/ISSUE_TEMPLATE/web_api_type_definition_issue.yml b/.github/ISSUE_TEMPLATE/web_api_type_definition_issue.yml index 331b93cb4..0e125472c 100644 --- a/.github/ISSUE_TEMPLATE/web_api_type_definition_issue.yml +++ b/.github/ISSUE_TEMPLATE/web_api_type_definition_issue.yml @@ -55,7 +55,7 @@ body: id: use_latest_typescript_web attributes: label: "Use the latest @types/web Package" - description: "Check this if you are using the latest @types/web package." +description: "Check this if you have tried the latest `@types/web` package." options: - label: "I am using the latest version of @types/web" validations: From 8cf2e3769e3d1b436a60ea564e59e5f0220641dc Mon Sep 17 00:00:00 2001 From: Adam Basha <110662505+Bashamega@users.noreply.github.com> Date: Wed, 2 Apr 2025 10:57:17 +0200 Subject: [PATCH 20/30] Replace Use with have --- .github/ISSUE_TEMPLATE/web_api_type_definition_issue.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/ISSUE_TEMPLATE/web_api_type_definition_issue.yml b/.github/ISSUE_TEMPLATE/web_api_type_definition_issue.yml index 0e125472c..07d80d0c8 100644 --- a/.github/ISSUE_TEMPLATE/web_api_type_definition_issue.yml +++ b/.github/ISSUE_TEMPLATE/web_api_type_definition_issue.yml @@ -45,7 +45,7 @@ body: - type: checkbox id: use_latest_typescript attributes: - label: "Use Latest TypeScript Package" + label: "Have Latest TypeScript Package" description: "Check this if you are using the latest TypeScript package." options: - label: "I am using the latest version of TS" From 755a79b3f291a33f2053b7728440fcbfde177061 Mon Sep 17 00:00:00 2001 From: Adam Basha <110662505+Bashamega@users.noreply.github.com> Date: Wed, 2 Apr 2025 10:59:07 +0200 Subject: [PATCH 21/30] Update web_api_type_definition_issue.yml --- .github/ISSUE_TEMPLATE/web_api_type_definition_issue.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/ISSUE_TEMPLATE/web_api_type_definition_issue.yml b/.github/ISSUE_TEMPLATE/web_api_type_definition_issue.yml index 07d80d0c8..19ff19f50 100644 --- a/.github/ISSUE_TEMPLATE/web_api_type_definition_issue.yml +++ b/.github/ISSUE_TEMPLATE/web_api_type_definition_issue.yml @@ -55,7 +55,7 @@ body: id: use_latest_typescript_web attributes: label: "Use the latest @types/web Package" -description: "Check this if you have tried the latest `@types/web` package." + description: "Check this if you have tried the latest `@types/web` package." options: - label: "I am using the latest version of @types/web" validations: From 64c02f896f333ce3c03b7aa91b7f8975a4549a7d Mon Sep 17 00:00:00 2001 From: Adam Basha <110662505+Bashamega@users.noreply.github.com> Date: Wed, 2 Apr 2025 10:59:37 +0200 Subject: [PATCH 22/30] Update web_api_type_definition_issue.yml --- .github/ISSUE_TEMPLATE/web_api_type_definition_issue.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/ISSUE_TEMPLATE/web_api_type_definition_issue.yml b/.github/ISSUE_TEMPLATE/web_api_type_definition_issue.yml index 19ff19f50..07d80d0c8 100644 --- a/.github/ISSUE_TEMPLATE/web_api_type_definition_issue.yml +++ b/.github/ISSUE_TEMPLATE/web_api_type_definition_issue.yml @@ -55,7 +55,7 @@ body: id: use_latest_typescript_web attributes: label: "Use the latest @types/web Package" - description: "Check this if you have tried the latest `@types/web` package." +description: "Check this if you have tried the latest `@types/web` package." options: - label: "I am using the latest version of @types/web" validations: From d306aa48cf98b9142f94710796d9d6b5501e275a Mon Sep 17 00:00:00 2001 From: Adam Basha <110662505+Bashamega@users.noreply.github.com> Date: Wed, 2 Apr 2025 11:02:07 +0200 Subject: [PATCH 23/30] Update web_api_type_definition_issue.yml --- .github/ISSUE_TEMPLATE/web_api_type_definition_issue.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/ISSUE_TEMPLATE/web_api_type_definition_issue.yml b/.github/ISSUE_TEMPLATE/web_api_type_definition_issue.yml index 07d80d0c8..19ff19f50 100644 --- a/.github/ISSUE_TEMPLATE/web_api_type_definition_issue.yml +++ b/.github/ISSUE_TEMPLATE/web_api_type_definition_issue.yml @@ -55,7 +55,7 @@ body: id: use_latest_typescript_web attributes: label: "Use the latest @types/web Package" -description: "Check this if you have tried the latest `@types/web` package." + description: "Check this if you have tried the latest `@types/web` package." options: - label: "I am using the latest version of @types/web" validations: From 5ce2fe6903568e71456a89607a051e10b45936ec Mon Sep 17 00:00:00 2001 From: Adam Basha <110662505+Bashamega@users.noreply.github.com> Date: Wed, 2 Apr 2025 11:03:10 +0200 Subject: [PATCH 24/30] Update web_api_type_definition_issue.yml --- .github/ISSUE_TEMPLATE/web_api_type_definition_issue.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/ISSUE_TEMPLATE/web_api_type_definition_issue.yml b/.github/ISSUE_TEMPLATE/web_api_type_definition_issue.yml index 19ff19f50..b5dc33320 100644 --- a/.github/ISSUE_TEMPLATE/web_api_type_definition_issue.yml +++ b/.github/ISSUE_TEMPLATE/web_api_type_definition_issue.yml @@ -33,7 +33,7 @@ body: placeholder: "https://www.typescriptlang.org/play/..." validations: required: true - - type: checkboxes + - type: checkbox id: browser_support attributes: label: "Browser Support" From 5170573929be5aae16b86b9d6e00cac300709292 Mon Sep 17 00:00:00 2001 From: Adam Basha <110662505+Bashamega@users.noreply.github.com> Date: Wed, 2 Apr 2025 11:04:30 +0200 Subject: [PATCH 25/30] Update web_api_type_definition_issue.yml --- .../ISSUE_TEMPLATE/web_api_type_definition_issue.yml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/web_api_type_definition_issue.yml b/.github/ISSUE_TEMPLATE/web_api_type_definition_issue.yml index b5dc33320..9a69f603e 100644 --- a/.github/ISSUE_TEMPLATE/web_api_type_definition_issue.yml +++ b/.github/ISSUE_TEMPLATE/web_api_type_definition_issue.yml @@ -40,8 +40,7 @@ body: description: "Ensure that the API is supported in at least two major browser engines (not two chromiums)." options: - label: "This API is supported in at least two major browser engines (not two chromiums)." - validations: - required: true + required: true - type: checkbox id: use_latest_typescript attributes: @@ -49,8 +48,7 @@ body: description: "Check this if you are using the latest TypeScript package." options: - label: "I am using the latest version of TS" - validations: - required: true + required: true - type: checkbox id: use_latest_typescript_web attributes: @@ -58,8 +56,8 @@ body: description: "Check this if you have tried the latest `@types/web` package." options: - label: "I am using the latest version of @types/web" - validations: - required: true + required: true + - type: textarea id: additional_context attributes: From 978f5849fb1ed9a6c0d3d2e532f4f812554e82ab Mon Sep 17 00:00:00 2001 From: Adam Basha <110662505+Bashamega@users.noreply.github.com> Date: Wed, 2 Apr 2025 11:05:17 +0200 Subject: [PATCH 26/30] Update web_api_type_definition_issue.yml From 21644e49b7371fba3049c1452313b5d442bc3879 Mon Sep 17 00:00:00 2001 From: Adam Basha <110662505+Bashamega@users.noreply.github.com> Date: Wed, 2 Apr 2025 11:10:50 +0200 Subject: [PATCH 27/30] Update web_api_type_definition_issue.yml --- .../web_api_type_definition_issue.yml | 35 +++++++++---------- 1 file changed, 17 insertions(+), 18 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/web_api_type_definition_issue.yml b/.github/ISSUE_TEMPLATE/web_api_type_definition_issue.yml index 9a69f603e..95b7a91c1 100644 --- a/.github/ISSUE_TEMPLATE/web_api_type_definition_issue.yml +++ b/.github/ISSUE_TEMPLATE/web_api_type_definition_issue.yml @@ -7,7 +7,7 @@ body: - type: markdown attributes: value: | - ## Web API type definition issue + ## Web API Type Definition Issue Provide details of the issue. - type: input id: issue_summary @@ -25,42 +25,41 @@ body: placeholder: "Expected: ...\nActual: ..." validations: required: true - - type: textarea - id: steps + - type: input + id: playground_link attributes: - label: "Playground link" - description: "Paste the playground link" + label: "Playground Link" + description: "Paste the TypeScript playground link" placeholder: "https://www.typescriptlang.org/play/..." validations: required: true - - type: checkbox + - type: checkboxes id: browser_support attributes: label: "Browser Support" - description: "Ensure that the API is supported in at least two major browser engines (not two chromiums)." + description: "Ensure that the API is supported in at least two major browser engines (not two Chromium-based browsers)." options: - - label: "This API is supported in at least two major browser engines (not two chromiums)." - required: true + - label: "This API is supported in at least two major browser engines (not two Chromium-based browsers)." + required: true - type: checkbox id: use_latest_typescript attributes: label: "Have Latest TypeScript Package" - description: "Check this if you are using the latest TypeScript package." + description: "Ensure you are using the latest TypeScript version." options: - - label: "I am using the latest version of TS" - required: true + - label: "I am using the latest version of TypeScript." + required: true - type: checkbox id: use_latest_typescript_web attributes: - label: "Use the latest @types/web Package" - description: "Check this if you have tried the latest `@types/web` package." + label: "Use the Latest @types/web Package" + description: "Ensure you have tried the latest `@types/web` package." options: - - label: "I am using the latest version of @types/web" - required: true - + - label: "I am using the latest version of `@types/web`." + required: true - type: textarea id: additional_context attributes: label: "Additional Context" - description: "Any extra information, logs, or references" + description: "Any extra information, logs, or references." placeholder: "Optional details..." From 86eca896a1b72b9883d339d6aa5541a70def88bd Mon Sep 17 00:00:00 2001 From: Adam Basha <110662505+Bashamega@users.noreply.github.com> Date: Wed, 2 Apr 2025 11:11:31 +0200 Subject: [PATCH 28/30] Update web_api_type_definition_issue.yml --- .github/ISSUE_TEMPLATE/web_api_type_definition_issue.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/web_api_type_definition_issue.yml b/.github/ISSUE_TEMPLATE/web_api_type_definition_issue.yml index 95b7a91c1..bde330629 100644 --- a/.github/ISSUE_TEMPLATE/web_api_type_definition_issue.yml +++ b/.github/ISSUE_TEMPLATE/web_api_type_definition_issue.yml @@ -41,7 +41,7 @@ body: options: - label: "This API is supported in at least two major browser engines (not two Chromium-based browsers)." required: true - - type: checkbox + - type: checkboxes id: use_latest_typescript attributes: label: "Have Latest TypeScript Package" @@ -49,7 +49,7 @@ body: options: - label: "I am using the latest version of TypeScript." required: true - - type: checkbox + - type: checkboxes id: use_latest_typescript_web attributes: label: "Use the Latest @types/web Package" From 230f958ca3ca7db519aecb224e8e54c59fed5a48 Mon Sep 17 00:00:00 2001 From: Adam Basha <110662505+Bashamega@users.noreply.github.com> Date: Thu, 3 Apr 2025 04:48:32 +0200 Subject: [PATCH 29/30] Update .github/ISSUE_TEMPLATE/web_api_type_definition_issue.yml Co-authored-by: Kagami Sascha Rosylight --- .../web_api_type_definition_issue.yml | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/web_api_type_definition_issue.yml b/.github/ISSUE_TEMPLATE/web_api_type_definition_issue.yml index bde330629..83198b5ba 100644 --- a/.github/ISSUE_TEMPLATE/web_api_type_definition_issue.yml +++ b/.github/ISSUE_TEMPLATE/web_api_type_definition_issue.yml @@ -42,20 +42,14 @@ body: - label: "This API is supported in at least two major browser engines (not two Chromium-based browsers)." required: true - type: checkboxes - id: use_latest_typescript + id: tried_latest_releases attributes: - label: "Have Latest TypeScript Package" - description: "Ensure you are using the latest TypeScript version." + label: "Have Tried The Latest Releases" + description: "Make sure your problem is still reproducible on the latest releases." options: - - label: "I am using the latest version of TypeScript." + - label: "This issue applies to the latest release of TypeScript." required: true - - type: checkboxes - id: use_latest_typescript_web - attributes: - label: "Use the Latest @types/web Package" - description: "Ensure you have tried the latest `@types/web` package." - options: - - label: "I am using the latest version of `@types/web`." + - label: "This issue applies to the latest release of `@types/web`." required: true - type: textarea id: additional_context From c2d5d65d9d2c21a7c09020aff3c0b92bac4dc59b Mon Sep 17 00:00:00 2001 From: Adam Basha <110662505+Bashamega@users.noreply.github.com> Date: Tue, 15 Apr 2025 05:20:51 +0200 Subject: [PATCH 30/30] Update web_api_type_definition_issue.yml --- .github/ISSUE_TEMPLATE/web_api_type_definition_issue.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/web_api_type_definition_issue.yml b/.github/ISSUE_TEMPLATE/web_api_type_definition_issue.yml index 83198b5ba..7e73193ab 100644 --- a/.github/ISSUE_TEMPLATE/web_api_type_definition_issue.yml +++ b/.github/ISSUE_TEMPLATE/web_api_type_definition_issue.yml @@ -31,8 +31,6 @@ body: label: "Playground Link" description: "Paste the TypeScript playground link" placeholder: "https://www.typescriptlang.org/play/..." - validations: - required: true - type: checkboxes id: browser_support attributes: