Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main' into fix/869-application-s…
Browse files Browse the repository at this point in the history
…witcher

# Conflicts:
#	packages/react-test-app/src/preview-examples/vertical-tabs-with-avatar.tsx
  • Loading branch information
matthiashader committed Mar 18, 2024
2 parents 2bcbb73 + 0cb1d7b commit 4d4c2f1
Show file tree
Hide file tree
Showing 238 changed files with 29,421 additions and 25,147 deletions.
8 changes: 8 additions & 0 deletions .changeset/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Changesets

Hello and welcome! This folder has been automatically generated by `@changesets/cli`, a build tool that works
with multi-package repos, or single-package repos to help you version and publish your code. You can
find the full documentation for it [in our repository](https://github.com/changesets/changesets)

We have a quick list of common questions to get you started engaging with this project in
[our documentation](https://github.com/changesets/changesets/blob/main/docs/common-questions.md)
28 changes: 28 additions & 0 deletions .changeset/config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"$schema": "https://unpkg.com/@changesets/[email protected]/schema.json",
"changelog": [
"@changesets/changelog-github",
{ "repo": "siemens/ix" }
],
"commit": false,
"linked": [],
"fixed": [
[
"@siemens/ix",
"@siemens/ix-angular",
"@siemens/ix-react",
"@siemens/ix-vue"
]
],
"access": "restricted",
"baseBranch": "main",
"updateInternalDependencies": "patch",
"ignore": [
"angular-test-app",
"react-test-app",
"vue-test-app",
"html-test-app",
"figma-plugin",
"documentation"
]
}
12 changes: 7 additions & 5 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ body:
label: Prerequisites
description: Make sure to not violate these rules
options:
- label: I have not leaked any internal company information.
- label: I have read the [Contributing Guidelines](https://github.com/siemens/ix/blob/main/CONTRIBUTING.md).
required: true
- label: I have not posted internal links or code snippets.
- label: I have not leaked any internal/restricted information like screenshots, videos, code snippets, links etc.
required: true

- type: textarea
Expand All @@ -29,7 +29,7 @@ body:
- type: dropdown
id: framework
attributes:
label: What type of frontend frameware are you seeing the problem on?
label: What type of frontend framework are you seeing the problem on?
multiple: true
options:
- Angular
Expand All @@ -44,15 +44,17 @@ body:
attributes:
label: Which version of iX do you use?
description: The exact version of Siemens iX you use.
placeholder: v1.x.x
placeholder: v2.x.x
validations:
required: true

- type: textarea
id: logs
attributes:
label: Code to produce this issue.
description: Please copy and paste any relevant code to re-produce this issue (__preferred__ stackblitz/codesandbox/... link or a github repository).
description: |
Please provide accessible code (no private repositories) to reproduce the problem (__preferred__ github repository, stackblitz or codesandbox).
Issues without code to reproduce can not be analyzed by the team.
render: shell
validations:
required: true
6 changes: 3 additions & 3 deletions .github/ISSUE_TEMPLATE/docs_bug_report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,16 @@ body:
- type: markdown
attributes:
value: |
Thanks for taking the time to fill out this bug report!
Thank you for taking the time to fill out this bug report!
- type: checkboxes
attributes:
label: Prerequisites
description: Make sure to not violate these rules
options:
- label: I have not leaked any internal company information.
- label: I have read the [Contributing Guidelines](https://github.com/siemens/ix/blob/main/CONTRIBUTING.md).
required: true
- label: I have not posted internal links or code snippets.
- label: I have not leaked any internal/restricted information like screenshots, videos, code snippets, links etc.
required: true

- type: textarea
Expand Down
6 changes: 3 additions & 3 deletions .github/ISSUE_TEMPLATE/feature_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,16 @@ body:
- type: markdown
attributes:
value: |
We appreciate your feedback on how to improve this project. Please be sure to include as much information and any neccessary resources!
We appreciate your feedback on how to improve this project.
- type: checkboxes
attributes:
label: Prerequisites
description: Make sure to not violate these rules
options:
- label: I have not leaked any internal company information.
- label: I have read the [Contributing Guidelines](https://github.com/siemens/ix/blob/main/CONTRIBUTING.md).
required: true
- label: I have not posted internal links or code snippets.
- label: I have not leaked any internal/restricted information like screenshots, videos, code snippets, links etc.
required: true

- type: textarea
Expand Down
68 changes: 16 additions & 52 deletions .github/PULL_REQUEST_TEMPLATE
Original file line number Diff line number Diff line change
@@ -1,69 +1,33 @@
<!--
Thanks for submitting a pull request!
First off, thanks for taking the time to contribute! ❤️
We appreciate you spending the time to work on these changes. Please provide enough information so that others can review your pull request. The three fields below are mandatory.

Before submitting a pull request, please make sure the following is done:

1. Fork [the repository](https://github.com/siemens/ix) and create your branch from `main`.
2. Run `yarn` in the repository root.
3. If you've fixed a bug or added code that should be tested, add tests!
4. Ensure the test suite passes (`yarn test` and `yarn visual-regression` (docker needed)).
5. Format your code with [prettier](https://github.com/prettier/prettier).
6. Make sure your code lints.

-->

## Pull request checklist

Please check if your PR fulfills the following requirements:

- [ ] Tests for the changes have been added (for bug fixes / features)
- [ ] Docs have been reviewed and added / updated if needed (for bug fixes / features)
- [ ] Build (`yarn build`) was run locally and any changes were pushed
- [ ] Unit tests (`yarn test`) were run locally and passed
- [ ] Visual Regression Tests (`yarn visual-regression`) were run locally and passed
- [ ] Linting (`npm lint`) was run locally and passed

## Pull request type

<!-- Please do not submit updates to dependencies unless it fixes an issue. -->

<!-- Please try to limit your pull request to one type, submit multiple pull requests if needed. -->

Please check the type of change your PR introduces:

- [ ] Bug fix
- [ ] Feature
- [ ] Refactoring (no functional changes, no API changes)
- [ ] Build related changes
- [ ] Documentation content changes
- [ ] Other (please describe):

## What is the current behavior?
## 💡 What is the current behavior?

<!-- Please describe the current behavior that you are modifying, or link to a relevant issue. -->

GitHub Issue Number: N/A
GitHub Issue Number: #<ISSUE NUMBER>

## What is the new behavior?
## 🆕 What is the new behavior?

<!-- Please describe the behavior or changes that are being added by this PR. -->

-
-
-

## Does this introduce a breaking change?

- [ ] Yes
- [ ] No

<!-- If this introduces a breaking change, please describe the impact and migration path for existing applications below. -->
## 🏁 Checklist

## Testing
A pull request can only be merged if all of these conditions are met (where applicable):

<!-- Please describe the steps you took to test the changes in this PR. These steps can be programmatic (e.g. unit tests) and/or manual. -->
- [ ] 🦮 Accessibility (a11y) features were implemented
- [ ] 🗺️ Internationalization (i18n) - no hard coded strings
- [ ] 📲 Responsiveness - components handle viewport changes and content overflow gracefully
- [ ] 📄 Documentation was reviewed/updated (`yarn docs`)
- [ ] 🧪 Unit tests were added/updated and pass (`yarn test`)
- [ ] 📸 Visual regression tests were added/updated and pass (`yarn visual-regression`)
- [ ] 🧐 Static code analysis passes (`yarn lint`)
- [ ] 🏗️ Successful compilation (`yarn build`, changes pushed)

## Other information
## 👨‍💻 Help & support

<!-- Any other information that is important to this PR such as screenshots of how the component looks before and after the change. -->
<!-- If you need help with anything related to your PR please let us know in this section -->
15 changes: 0 additions & 15 deletions .github/workflows/actions/build-cache/action.yml

This file was deleted.

43 changes: 0 additions & 43 deletions .github/workflows/actions/build/action.yml

This file was deleted.

34 changes: 0 additions & 34 deletions .github/workflows/actions/install/action.yml

This file was deleted.

23 changes: 0 additions & 23 deletions .github/workflows/actions/lint/action.yml

This file was deleted.

53 changes: 53 additions & 0 deletions .github/workflows/actions/push-remote/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
name: 'Push Remote'
description: 'Push Remote'
inputs:
internal-name:
default: 'core'

branch-name: # id of input
default: 'ix'

commit_id:
description: 'commit id'

token:
description: 'github pat'

runs:
using: 'composite'
steps:
- name: Prepare ${{ inputs.branch-name }} repo
uses: actions/checkout@v3
with:
path: 'nightly_store_${{ inputs.branch-name }}'
ref: ${{ inputs.branch-name }}
repository: 'danielleroux/ix-nightlies'
token: ${{ inputs.token }}
fetch-depth: 0
persist-credentials: true

- name: Copy build files
shell: bash
run: |
ROOT_PATH=$(pwd)
cd ./packages/${{ inputs.internal-name }}
TAR_FILE=$(pnpm pack)
tar -xf $TAR_FILE -C $ROOT_PATH/nightly_store_${{ inputs.branch-name }}
- name: Push to remote
shell: bash
working-directory: nightly_store_${{ inputs.branch-name }}
run: |
git ls-files -z | xargs -0 rm -rf || true
git ls-tree --name-only -d -r -z HEAD | sort -rz | xargs -0 rmdir || true
mv ./package/* .
rm -rf package
git config --global user.name "ix builder [bot]"
git config --global user.email "<>"
git add -A
if [[ $(git status --porcelain) == '' ]]; then
echo "No changes. Push to remote skipped!"
else
git commit -m "Nightly build $(date +"%Y-%m-%d %T") - ${{ inputs.commit_id }}"
git push
fi
Loading

0 comments on commit 4d4c2f1

Please sign in to comment.