-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into admin-submenu-permission
- Loading branch information
Showing
1,719 changed files
with
73,308 additions
and
20,853 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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,3 @@ | ||
PRIVATE_SITE_CONFIGS='{{ site://configs/private/local }}' | ||
PUBLIC_SITE_CONFIGS='{{ site://configs/public/local }}' | ||
NEXT_PUBLIC_SITE_CONFIGS=$PUBLIC_SITE_CONFIGS |
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,6 +1,118 @@ | ||
<!-- | ||
PLEASE MAKE SURE TO KEEP THE PR SIZE AT A MINIMUM! | ||
Smaller PRs are easier to review and tend to get merged faster. | ||
Unrelated changes, refactorings, fixes etc. should be made in separate PRs. | ||
---> | ||
|
||
## Description | ||
|
||
<!-- | ||
- [ ] Add changeset (if necessary) | ||
The description should describe the change you're making. | ||
It will be used as the commit message for the squashed commit once the PR gets merged. | ||
Therefore, make sure to keep the description up-to-date as the PR changes. | ||
PLEASE DESCRIBE WHY YOU'RE MAKING THE CHANGE, NOT WHAT YOU'RE CHANGING. | ||
Reviewers see what you're changing when reviewing the code. | ||
However, they might not understand your motives as to why you're making the change. | ||
Your description should include: | ||
- The problem you're facing | ||
- Your solution to the problem | ||
- An example usage of your change | ||
---> | ||
|
||
<!-- | ||
Everything below this is intended to help ease reviewing this PR. | ||
Remove all unrelated sections. | ||
--> | ||
|
||
## Example | ||
|
||
<!-- | ||
Make sure to provide an example of your change if your change includes a new API. | ||
This can be either: | ||
- The implementation in Demo | ||
- A dev story in Storybook | ||
- A unit test | ||
---> | ||
|
||
- [ ] I have verified if my change requires an example | ||
|
||
## Screenshots/screencasts | ||
|
||
<!-- | ||
When making a visual change, please provide either screenshots or screencasts. | ||
Hint: For before/after views, you can use a table: | ||
| Before | After | | ||
| -------- | ------- | | ||
| Link | Link | | ||
--> | ||
|
||
## Changeset | ||
|
||
<!-- | ||
When making a notable change, make sure to add a changeset. | ||
See [CONTRIBUTING.md](https://github.com/vivid-planet/comet/blob/HEAD/CONTRIBUTING.md) for more information. | ||
TL;DR | ||
Add a changeset when: | ||
- changing the package's public API (`src/index.ts`) | ||
- fixing a bug | ||
- making a visual change | ||
Changeset writing guidelines: | ||
- Use active voice: "Add new thing" vs. "A new thing is added" | ||
- First line should be the title: "Add new alert component" | ||
- Provide additional information in the description | ||
- Use backticks to highlight code: Add new `Alert` component | ||
- Use bold formatting for "headlines" in the description: **Example** | ||
---> | ||
|
||
- [ ] I have verified if my change requires a changeset | ||
|
||
## Related tasks and documents | ||
|
||
<!-- | ||
Link to related tasks and documents, for instance, https://vivid-planet.atlassian.net/browse/COM-XXX. | ||
MAKE SURE THAT EVERYTHING REQUIRED TO UNDERSTAND YOUR CHANGE IS IN THE PR DESCRIPTION. | ||
Reviewers shouldn't need to review tasks, JIRA conversations etc. to understand what you're doing. | ||
--> | ||
|
||
## Open TODOs/questions | ||
|
||
<!-- | ||
- [ ] Need to validate that this actually works | ||
- [ ] Merge parent PR | ||
--> | ||
|
||
## Further information | ||
|
||
<!-- | ||
Further information that helps reviewing the PR, for instance: | ||
- Alternative solutions you have considered | ||
- Dependent PRs | ||
- Links to relevant documentation, blog posts etc. | ||
--> |
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 |
---|---|---|
|
@@ -11,33 +11,24 @@ jobs: | |
steps: | ||
- run: echo "${{ github.actor }}" | ||
|
||
- uses: actions/checkout@v3 | ||
- uses: actions/checkout@v4 | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
- run: | | ||
git config user.name github-actions | ||
git config user.email [email protected] | ||
- name: "Library: Clone translations" | ||
uses: actions/checkout@v3 | ||
uses: actions/checkout@v4 | ||
with: | ||
repository: vivid-planet/comet-lang | ||
token: ${{ secrets.VIVID_PLANET_BOT_TOKEN }} | ||
path: "demo/admin/lang/comet-lang" | ||
|
||
- name: "Demo: Clone translations" | ||
uses: actions/checkout@v3 | ||
with: | ||
repository: vivid-planet/comet-demo-lang | ||
token: ${{ secrets.VIVID_PLANET_BOT_TOKEN }} | ||
path: "demo/admin/lang/comet-demo-lang" | ||
|
||
- uses: pnpm/action-setup@v2 | ||
with: | ||
version: 8 | ||
- uses: pnpm/action-setup@v4 | ||
|
||
- name: Use Node.js 18.x | ||
uses: actions/setup-node@v3 | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: 18 | ||
registry-url: "https://registry.npmjs.org" | ||
|
@@ -50,18 +41,43 @@ jobs: | |
pnpm run intl:extract | ||
cp -r lang/* demo/admin/lang/comet-lang/ | ||
- name: "Library: Update translateable strings" | ||
- name: "Library: Update translatable strings" | ||
uses: EndBug/add-and-commit@v9 | ||
with: | ||
cwd: "./demo/admin/lang/comet-lang" | ||
|
||
- name: "Demo: Extract i18n strings" | ||
- name: "Demo Admin: Clone translations" | ||
uses: actions/checkout@v4 | ||
with: | ||
repository: vivid-planet/comet-demo-lang | ||
token: ${{ secrets.VIVID_PLANET_BOT_TOKEN }} | ||
path: "demo/admin/lang/comet-demo-lang" | ||
|
||
- name: "Demo Admin: Extract i18n strings" | ||
run: | | ||
cd demo/admin | ||
pnpm run intl:extract | ||
cp -r lang-extracted/* lang/comet-demo-lang | ||
cp -r lang-extracted/* lang/comet-demo-lang/admin | ||
- name: "Demo: Update translateable strings" | ||
- name: "Demo Admin: Update translatable strings" | ||
uses: EndBug/add-and-commit@v9 | ||
with: | ||
cwd: "./demo/admin/lang/comet-demo-lang" | ||
|
||
- name: "Demo Site: Clone translations" | ||
uses: actions/checkout@v4 | ||
with: | ||
repository: vivid-planet/comet-demo-lang | ||
token: ${{ secrets.VIVID_PLANET_BOT_TOKEN }} | ||
path: "demo/site/lang/comet-demo-lang" | ||
|
||
- name: "Demo Site: Extract i18n strings" | ||
run: | | ||
cd demo/site | ||
pnpm run intl:extract | ||
cp -r lang-extracted/* lang/comet-demo-lang/site | ||
- name: "Demo Site: Update translatable strings" | ||
uses: EndBug/add-and-commit@v9 | ||
with: | ||
cwd: "./demo/site/lang/comet-demo-lang" |
Oops, something went wrong.