-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge release/2.2.0 into main branch (#1014)
* Update issue templates (#995) * Create -ui-design-system--pr.md (#996) * uses yalc for linking the DS to RS (#1000) * Bump @adobe/css-tools from 4.2.0 to 4.3.1 (#989) * upgrade storybook to 7.4.1 (#1005) * add TypeScript (#992) * Fixes up TS config (#993) * upgrade dependencies for semver (#1010) * adds necessary final step for unlinking rs (#1011)
- Loading branch information
1 parent
a40b590
commit f037e33
Showing
26 changed files
with
11,772 additions
and
34,137 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
--- | ||
name: "'ui-design-system' issue" | ||
about: Submit an issue for 'ui-design-system' | ||
title: "[UIDS]" | ||
labels: '' | ||
assignees: '' | ||
|
||
--- | ||
|
||
--- | ||
name: 'ui-design-system' issue | ||
projects: "user-interviews/15" | ||
about: An issue template for 'ui-design-system' | ||
title: "[UIDS]" | ||
assignees: '' | ||
|
||
--- | ||
|
||
## Description | ||
|
||
[Description of the problem / solution, screenshots, explanation of approach, links to docs, etc.] | ||
|
||
## User Stories | ||
|
||
- As a [persona], I want [feature/task] so that [benefit/reason]. | ||
|
||
## Acceptance Criteria | ||
|
||
- [Criteria 1] | ||
- [Criteria 2] | ||
- [Criteria 3] | ||
|
||
## Screenshots (if applicable) | ||
|
||
[Add screenshots, if relevant, to provide visual context.] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
closes #[issue] | ||
|
||
### Context | ||
Description of the problem / solution, screenshots, explanation of approach, links to docs, etc. | ||
|
||
Figma prototypes: | ||
|
||
[Chromatic link](https://github.com/user-interviews/ui-design-system#chromatic-visual-testing--live-feedback): | ||
|
||
### Reviewer Expectations | ||
Primary Reviewer: | ||
|
||
Secondary Reviewer(s): | ||
|
||
CC: | ||
|
||
|
||
### Checklist | ||
|
||
<details open> | ||
<summary>Please review and check off the following items before moving the pull request from <strong>draft</strong> to <strong>ready for review</strong>:</summary> | ||
|
||
~~Strike through~~ any items that are not applicable to this pull request. | ||
|
||
- [ ] **Perform self review**: Perform a self-review of your pull request and point out concerns and/or questions to reviewers in the summary above or as GitHub comments. | ||
- [ ] **Documentation**: Create or update Storybook documentation in the `.mdx` files for any componenents related to the PR. See [Storybook MDX docs](https://storybook.js.org/docs/react/writing-docs/mdx) | ||
- [ ] **Tests**: Ensure that all tests are passing and that new tests have been added to cover any new functionality. | ||
|
||
**Frontend** | ||
- [ ] **Accessibility**: Check that the application meets accessibility standards, such as proper semantic HTML, keyboard navigation, and screen reader compatibility. See [Accessibility Notion document](https://www.notion.so/user-interviews/Accessibility-3b755f2931ad43a79d40b215f09c8995) for more details. | ||
- [ ] **Cross-browser compatibility**: Test the application in multiple browsers to ensure consistent behavior and appearance across different platforms. | ||
- [ ] **Mobile responsiveness**: Confirm that the application looks and functions well on various screen sizes and devices, adjusting layout and functionality as needed. | ||
</details> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,13 @@ | ||
#!/bin/bash | ||
|
||
yarn link | ||
cd node_modules/react | ||
yarn link | ||
cd ../../node_modules/react-dom | ||
yarn link | ||
source ./.env | ||
|
||
if [ -z ${RAILS_SERVER_PATH+x} ]; then | ||
printf "Set RAILS_SERVER_PATH in your .env to link the DS to the RS\n" | ||
exit 1 | ||
fi | ||
|
||
yarn build | ||
yalc publish | ||
cd $RAILS_SERVER_PATH | ||
yalc link @user-interviews/ui-design-system |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,13 @@ | ||
#!/bin/bash | ||
|
||
unlink() | ||
{ | ||
local package_name="${2:-$1}" | ||
source ./.env | ||
|
||
output=$(eval "yarn unlink $1") | ||
if [ -z ${RAILS_SERVER_PATH+x} ]; then | ||
printf "Set RAILS_SERVER_PATH in your .env to link the DS to the RS\n" | ||
exit 1 | ||
fi | ||
|
||
echo "$output" | ||
echo "== $package_name unlinked ==" | ||
} | ||
|
||
unlink '' 'DS package' | ||
unlink 'react' | ||
unlink 'react-dom' | ||
|
||
yarn install --force | ||
cd $RAILS_SERVER_PATH | ||
yalc remove @user-interviews/ui-design-system | ||
yalc installations clean @user-interviews/ui-design-system | ||
yarn --check-files |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.