Skip to content

Commit

Permalink
Merge branch 'main' into next
Browse files Browse the repository at this point in the history
  • Loading branch information
edmundhung committed Aug 6, 2023
2 parents 6b2e25d + e3c01d6 commit 2997ebc
Show file tree
Hide file tree
Showing 3 changed files with 78 additions and 1 deletion.
66 changes: 66 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
name: '🐛 Bug report'
description: Create a report to help us improve
body:
- type: markdown
attributes:
value: |
Thank you for reporting an issue :pray:.
If you have a question about how to achieve something, please post a question inside of the [Discussions](https://github.com/edmundhung/conform/discussions).
Before submitting a new bug/issue, please also check if there is a solution or question posted already.
The more information you fill in, the better the community can help you.
- type: textarea
id: description
attributes:
label: Describe the bug and the expected behavior
description: Provide a clear and concise description of the challenge you are running into and what you expected to happen.
validations:
required: true
- type: input
id: version
attributes:
label: Conform version
placeholder: v1.0.0
validations:
required: true
- type: textarea
id: steps
attributes:
label: Steps to Reproduce the Bug or Issue
description: |
Describe the steps we have to take to reproduce the behavior.
If possible, please provide a repostiory or a link to a sandbox.
placeholder: |
1. With this snippet '...'
2. Click on '....'
3. Scroll down to '....'
4. See error
validations:
required: true
- type: dropdown
id: browsers
attributes:
label: What browsers are you seeing the problem on?
multiple: true
options:
- Chrome
- Firefox
- Microsoft Edge
- Safari
- Others
- type: textarea
id: screenshots_or_videos
attributes:
label: Screenshots or Videos
description: |
If applicable, add screenshots or a video to help explain your problem.
For more information on the supported file image/file types and the file size limits, please refer
to the following link: https://docs.github.com/en/github/writing-on-github/working-with-advanced-formatting/attaching-files
placeholder: |
You can drag your video or image files inside of this editor ↓
- type: textarea
id: additional
attributes:
label: Additional context
description: Add any other context about the problem here.
11 changes: 11 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
blank_issues_enabled: false
contact_links:
- name: 🤔 Feature Requests & Questions
url: https://github.com/edmundhung/conform/discussions
about: You can ask questions and share your ideas here.
- name: 💿 Remix support
url: https://rmx.as/discord
about: Join the Remix discord channel if you need help integrating with Remix / React Router.
- name: 🌟 EpicStack support
url: https://kcd.im/discord
about: Join the KCD Discord channel if you need help with the EpicStack setup.
2 changes: 1 addition & 1 deletion docs/complex-structures.md
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ function Example() {
);
}

function TodoFieldset(props: { config: FieldConfig<Todo> }) {
function TodoFieldset({ config }: { config: FieldConfig<Todo> }) {
const ref = useRef<HTMLFieldsetElement>(null);
// Both useFieldset / useFieldList accept form or fieldset ref
const { title, notes } = useFieldset(ref, config);
Expand Down

0 comments on commit 2997ebc

Please sign in to comment.