Skip to content

Commit

Permalink
Merge branch 'develop' of github.com:public-ui/kolibri into 6176-toas…
Browse files Browse the repository at this point in the history
…t-dialog

* 'develop' of github.com:public-ui/kolibri: (1915 commits)
  Fix concurrency group syntax in dod-checker workflow
  Remove auto file generator workflow
  remove some prepack scripts
  Update all snapshots$ $ Refs: #7310
  Fix duplicate import of 'h' in shadow.tsx component
  Fix formRef initialization to handle null value in FormErrorList component
  Enhance error list functionality: improve scrolling and focus behavior for error links
  Enhance error list rendering: add smooth scroll and focus behavior for alert component
  Update all snapshots$ $ Refs: #6645
  update kolibri deps and lock
  Update all snapshots$ $ Refs: #7178
  Extend input fields aria-described property to all types of messages, not just errors
  Unify JSDoc property descriptions
  Fix table double layers and hyphens
  Fix Drawer controlled mode: Allow to open with an initial _open property
  Update all snapshots$ $ Refs: #7178
  KolInputRange: Fix width calculation for number input
  Update all snapshots$ $ Refs: #6645
  Fix icon line-height for edge cases
  Increase contrast for card box-shadow
  ...
  • Loading branch information
sdvg committed Feb 3, 2025
2 parents 8fb728e + 4aae6f9 commit 57b268d
Show file tree
Hide file tree
Showing 2,655 changed files with 76,168 additions and 149,986 deletions.
39 changes: 39 additions & 0 deletions .github/DISCUSSION_TEMPLATE/ideas.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
title: '🚀 Feature: '
labels: ['feature']
body:
- type: textarea
attributes:
label: Goals
description: |
Short list of what the feature request aims to address?
value: |
1.
2.
3.
validations:
required: true
- type: textarea
attributes:
label: Non-Goals
description: |
Short list of what the feature request **does not** aim to address?
value: |
1.
2.
3.
validations:
required: false
- type: textarea
attributes:
label: Background
description: |
Discuss prior art, why do you think this feature is needed? Are there current alternatives?
validations:
required: true
- type: textarea
attributes:
label: Proposal
description: |
How should this feature be implemented? Are you interested in contributing?
validations:
required: true
25 changes: 25 additions & 0 deletions .github/DISCUSSION_TEMPLATE/q-a.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
title: '🙏 Help: '
labels: ['help wanted']
body:
- type: textarea
attributes:
label: Summary
description: |
What do you need help with?
validations:
required: true
- type: textarea
attributes:
label: Additional information
description: |
Any code snippets, error messages, or dependency details that may be related? (`Please run `npx @public-ui/kolibri-cli info` and paste the result`)
render: js
validations:
required: false
- type: input
attributes:
label: Example
description: |
A link to a minimal reproduction is helpful for collaborative debugging!
validations:
required: false
171 changes: 171 additions & 0 deletions .github/ISSUE_TEMPLATE/1.bug_report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,171 @@
name: Report a bug
description: All relevant bugs, e.g. faulty components or examples
title: '🐞 Bug: '
labels: ['bug']
body:
- type: markdown
attributes:
value: |
This template is to report KoliBri bugs. Documentation related bug should be reported using [this](https://github.com/public-ui/kolibri/issues/new/choose) issue template instead.
Feature requests should be opened as [discussions](https://github.com/public-ui/kolibri/discussions/new?category=ideas).
Before opening a new issue, please do a [search](https://github.com/public-ui/kolibri/issues) of existing issues and :+1: upvote the existing issue instead. This will result in a quicker resolution.
If you need help with your own project, you can start a discussion in the ["Q&A" section](https://github.com/public-ui/kolibri/discussions/new?category=q-a)
Please fill out the form:
------------------------------------------------------------------------------------------------------
- type: checkboxes
id: verify_release
attributes:
label: Verify current release
options:
- label: I verified that the issue exists in the latest KoliBri v1 or v2 release
required: true
- type: input
id: reproduction_url
attributes:
label: Link to the code that reproduces this issue
description: |
A link to a **public** GitHub repository or a StackBlitz minimal reproduction. Minimal reproductions should be created from our actual released versions (e.g. v1, v2, ...) and should include only changes that contribute to the issue. StackBlitz templates can be found under the followjng url's:
- [KoliBri (v1)](https://stackblitz.com/edit/vitejs-vite-dcg6xo)
- [KoliBri (v2)](https://stackblitz.com/edit/vitejs-vite-kkfhk5)
placeholder: 'https://github.com/user/my-minimal-kolibri-issue-reproduction or https://stackblitz.com/edit/XXXXXX'
validations:
required: false
- type: dropdown
id: affected_themes
attributes:
label: Which theme(s) are affected?
description: |
If you are not sure select "Not sure". If you see the bug in all themes select "All" or select theme by theme were the bug occurs.
multiple: true
options:
- 'Not sure'
- 'All'
- 'Bundesministerium der Finanzen'
- 'Default'
- 'European Comission'
- 'European Union'
- 'Informationstechnikzentrum Bund'
- 'Unstyled'
validations:
required: true
- type: input
id: error_category
attributes:
label: Can you categorise where the error occurs? (If known)
placeholder: Native (Web Component), React, Angular, ...
validations:
required: false
- type: input
id: browser_info
attributes:
label: Which browser or operating system do you used to test KoliBri? (If available)
placeholder: Firefox, Chrome, iOS 12.4, ...
validations:
required: false
- type: dropdown
id: affected_components
attributes:
label: Which component/area(s) are affected? (Select all that apply)
multiple: true
options:
- 'Not sure'
- 'Abbr'
- 'Accordion'
- 'Alert'
- 'Avatar'
- 'Badge'
- 'Breadcrumb'
- 'Button-Link'
- 'Button'
- 'Card'
- 'Combobox'
- 'Details'
- 'Form'
- 'Heading'
- 'Icon'
- 'Image'
- 'Input-Checkbox'
- 'Input-Color'
- 'Input-Date'
- 'Input-Email'
- 'Input-File'
- 'Input-Number'
- 'Input-Password'
- 'Input-Radio'
- 'Input-Range'
- 'Input-Text'
- 'Link-Button'
- 'Link'
- 'Modal'
- 'Nav'
- 'Pagination'
- 'Progress'
- 'Quote'
- 'Select'
- 'Spin'
- 'Split-Button'
- 'Table'
- 'Tabs'
- 'Textarea'
- 'Toast'
- 'Toolbar'
- 'Tree'
- 'Version'
validations:
required: true
- type: textarea
id: reproduction_steps
attributes:
label: To Reproduce
description: |
A step-by-step description of how to reproduce the issue. Screenshots can be provided in the issue body below. If using code blocks, make sure that [syntax highlighting is correct](https://docs.github.com/en/get-started/writing-on-github/working-with-advanced-formatting/creating-and-highlighting-code-blocks#syntax-highlighting) and double check that the rendered preview is not broken.
placeholder: |
1. Click X
2. Y will happen
3. Z throws a bug
validations:
required: true
- type: textarea
id: current_vs_expected_behavior
attributes:
label: Current vs. Expected behavior
description: |
A clear and concise description of what the bug is, and what you expected to happen.
placeholder: 'Following the steps from the previous section, I expected A to happen, but I observed B instead'
validations:
required: true
- type: textarea
id: environment_info
attributes:
label: Provide environment information
description: |
Please run `npx @public-ui/kolibri-cli info` in the root directory of your project and paste the results.
render: bash
placeholder: |
{
"Operating System": {
"platform": "darwin",
"arch": "arm64",
"version": "23.2.0"
},
"Binaries": {
"node": "v20.9.0",
"npm": "10.1.0",
"yarn": "3.2.4",
"pnpm": "9.1.3"
},
"Relevant Packages": {
"@public-ui/core": "N/A",
"@public-ui/react": "^2.1.1",
"@public-ui/...": "N/A",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"typescript": "N/A"
}
}
validations:
required: true
28 changes: 28 additions & 0 deletions .github/ISSUE_TEMPLATE/2.doc_report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Report a documentation issue
description: Create a report for KoliBri documentation
title: '📖 Docs: '
labels: ['doc']
body:
- type: textarea
id: update
attributes:
label: What is the update you wish to see?
description: |
Example: I would like to fix an example using the `<Link>` component. Or, the `<Link>` component docs are missing information.
validations:
required: true
- type: textarea
id: context
attributes:
label: Is there any context that might help us understand?
description: |
A clear description of any added context that might help us understand.
validations:
required: true
- type: input
id: link
attributes:
label: Does the docs page already exist? Please link to it.
description: 'Example: https://public-ui.github.io/docs/components/abbr'
validations:
required: false
7 changes: 7 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
contact_links:
- name: Report a feature request
url: https://github.com/public-ui/kolibri/discussions/new?category=ideas
about: Feature or docs requests should be opened as discussions.
- name: Ask a question
url: https://github.com/public-ui/kolibri/discussions/new?category=q-a
about: Ask questions and discuss with other community members.
21 changes: 21 additions & 0 deletions .github/actions/pnpm-setup/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# References:
# - https://github.com/actions/setup-node/blob/main/docs/advanced-usage.md#caching-packages-data
# - https://github.com/pnpm/action-setup

name: pnpm Setup
description: Install Node and pnpm, install dependencies
runs:
using: "composite"
steps:
- uses: pnpm/action-setup@v4
with:
version: 9
run_install: false

- uses: actions/setup-node@v4
with:
node-version: '20'
cache: 'pnpm'

- run: pnpm install
shell: bash
10 changes: 5 additions & 5 deletions .github/dod.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
dod:
- Meaningful title for the release notes
- Pull request is linked to a problem
- All changes relate to the problem
- A11y tests performed successfully or not relevant
- Manual test performed successfully (by reviewer) or not relevant
- Meaningful pull request title for the release notes
- Pull request is linked to an issue and all changes relate to the issue
- Tests to protect this code implemented (if applicable)
- Manual test performed successfully (if applicable)
- Documentation or migration has been updated (if applicable)
1 change: 1 addition & 0 deletions .github/test.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
test
Loading

0 comments on commit 57b268d

Please sign in to comment.