Skip to content

Commit

Permalink
chore: add issue forms fp-64 (#84)
Browse files Browse the repository at this point in the history
* chore: add bug report issue form fp-64

* chore: add feature request issue form fp-64
  • Loading branch information
what1s1ove authored Dec 8, 2023
1 parent 2e7b794 commit dbd9dc2
Show file tree
Hide file tree
Showing 4 changed files with 50 additions and 1 deletion.
26 changes: 26 additions & 0 deletions .github/ISSUE_TEMPLATE/bug-report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Report a bug
description: Issue for reporting a bug
title: 'Bug: '
labels:
- bug
body:
- type: markdown
attributes:
value: |
Thank you for helping to improve our project! Please fill in the following information:
- type: textarea
attributes:
label: The part of the code where the error occurred
description: Copy the part of the code where the error occurred
placeholder: |
```html
<form>
<input type="text" />
</form>
```
- type: textarea
attributes:
label: Description of the bug
description: Please provide a detailed description of the bug
21 changes: 21 additions & 0 deletions .github/ISSUE_TEMPLATE/feature-request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Request a feature
description: Issue for requesting a feature
title: 'Feature: '
labels:
- feature
body:
- type: markdown
attributes:
value: |
Thank you for taking the time to share your ideas
- type: textarea
attributes:
label: Brief description
description: Provide a brief description in your own words about what the rule will check
placeholder: Support for a new HTML element...

- type: textarea
attributes:
label: Freeform description field
description: Add anything else you wanted to share here
2 changes: 2 additions & 0 deletions .ls-lint.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
ls:
.dir: regex:([.a-z]*)([-.][a-z]+)*
.ts: regex:([.a-z]*)([-.][a-z]+)*
.github/ISSUE_TEMPLATE:
.dir: SCREAMING_SNAKE_CASE

ignore:
- node_modules
Expand Down
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ npm install form-payload
- [Advanced (TypeScript + Validation)](https://stackblitz.com/edit/form-payload-advanced?file=index.ts,get-form-payload.ts)
- [Framework (React + TypeScript)](https://stackblitz.com/edit/form-payload-framework?file=src%2FApp.tsx)

PS. _The library works perfectly with any framework. Just use a valid [HTMLFormElement](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFormElement). The same applies to validations and any other libraries. Just create your own wrappers on top of the functions exported by form-payload library._
PS. _The library works perfectly with any framework. Just use a valid [HTMLFormElement](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFormElement). The same applies to validations and any other libraries. Just create your own wrappers on top of the functions exported by **form-payload** library._

## Usage

Expand Down

0 comments on commit dbd9dc2

Please sign in to comment.