Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deployment #4075

Merged
merged 81 commits into from
Sep 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
81 commits
Select commit Hold shift + click to select a range
8e52b4b
Merge pull request #4074 from serlo/production
elbotho Sep 5, 2024
c1a8478
feat(editor): Expose all plugins for integrations
Sep 9, 2024
6a27bb3
refactor(editor): Change constant to PascalCase
Sep 9, 2024
c3488b4
refactor(editor): Typo in comment
Sep 9, 2024
e12060a
refactor(editor-web-component): Export index.tsx to allow us to incre…
Sep 9, 2024
78a9669
refactor(editor): Change imports in all-plugins
Sep 9, 2024
8060b3d
refactor(editor): Change array to record
Sep 9, 2024
3ae68c6
Merge branch 'feat/expose-plugins-in-editor' into chore/release-edito…
Sep 9, 2024
56b21d0
fix(editor): Add correct initial state for text area plugin, wrap it …
Sep 9, 2024
58491d6
feat(image-gallery): static lightbox (mobile)
hejtful Sep 10, 2024
5e7026d
fix(editor): instanceData type casting fix
hejtful Sep 10, 2024
5e807e5
refactor(editor): Refactor to a factory function and try to slim down…
Sep 10, 2024
3b51824
refactor(editor): Try to reduce down bundle size of Serlo frontend by…
Sep 10, 2024
d58d462
Merge branch 'chore/release-editor-web-component-v0.6.0' into feat/ex…
Sep 10, 2024
4352fa6
docs(editor): Add documentation
Sep 10, 2024
099937c
refactor(editor): Change ordering of AllPlugins and wrap in rows plug…
Sep 10, 2024
f5564d2
fix(editor-web-component): Remove yalc
Sep 10, 2024
bb87f62
Merge pull request #4080 from serlo/feat/PE-58-image-gallery-lightbox…
hejtful Sep 10, 2024
a849d02
New translations index.ts (German)
kulla Sep 10, 2024
3817514
New translations index.ts (French)
kulla Sep 10, 2024
a2d8dac
New translations index.ts (Spanish)
kulla Sep 10, 2024
7422b57
New translations index.ts (Tamil)
kulla Sep 10, 2024
dda51fe
New translations index.ts (Hindi)
kulla Sep 10, 2024
e11f3f9
fix(editor): Add id to add-row-button to hide easily
Sep 10, 2024
002b274
refactor(editor): Change to data attribute
Sep 10, 2024
4e34e34
Update source file index.ts
kulla Sep 10, 2024
7239243
Update packages/editor/src/plugins/rows/components/add-row-button-flo…
CodingDive Sep 10, 2024
998f4b3
fix(eslint): On a comment
Sep 10, 2024
b1092ce
docs(editor): Add example how to hide the "add-row" button
Sep 10, 2024
fda1695
Merge pull request #4077 from serlo/feat/expose-plugins-in-editor
CodingDive Sep 10, 2024
a8516ec
chore(editor-web-component): Commit dependencies, release version 0.6.0
Sep 10, 2024
a6144da
Merge pull request #4083 from serlo/chore/publish-editor-web-componen…
CodingDive Sep 10, 2024
68c99c1
fix(editor-web-component): Change publishing yml to new Github action…
Sep 11, 2024
184b7c8
Merge pull request #4084 from serlo/fix/publishing-ci-editor-web-comp…
CodingDive Sep 11, 2024
86c8017
refactor(ci): Change to new syntax to remove warning
Sep 11, 2024
7b15b8a
fix: Distinguish between internal and external editor plugins
kulla Sep 11, 2024
8199411
refactor: EditorPluginType => EditorElement
kulla Sep 11, 2024
c060731
refactor: restructure all-plugins.tsx
kulla Sep 11, 2024
825d160
refactor: Rename enums + functions
kulla Sep 11, 2024
86b0a96
Merge pull request #4085 from serlo/ci/change-to-new-github-output-sy…
kulla Sep 11, 2024
9c1791a
New translations index.ts (German)
kulla Sep 11, 2024
6880c8c
New translations index.ts (German)
kulla Sep 11, 2024
b5ffac3
refactor: Better name for what we export
kulla Sep 11, 2024
ba4e1d3
Merge pull request #4082 from serlo/staging-translated
hejtful Sep 11, 2024
1c6b072
feat(educational-elements): Add stricter EducationalElements
kulla Sep 11, 2024
8465416
editor(web-component): Export also enum EducationalElement
kulla Sep 11, 2024
71680da
refactor: Rename "EducationalElements" => "educationalElements"
kulla Sep 11, 2024
f4d0cfc
refactor: all-plugins.tsx => educational-elements.tsx
kulla Sep 11, 2024
0f15721
feat(educational-elements): Add single-choice / multiple-choice
kulla Sep 11, 2024
e3614a1
feat: Distinguish single and multiple choice exercise
kulla Sep 11, 2024
d051e42
feat: Add getEditorState
kulla Sep 11, 2024
642fab9
fix(educational-elements): Fix inital state of drag & drop
kulla Sep 11, 2024
c831106
feat(editor-page): quick german version
elbotho Sep 11, 2024
f6bcc2c
update button text
elbotho Sep 11, 2024
78f62a4
chore(editor): Add jest
kulla Sep 11, 2024
14bb6c8
chore(editor): Set testEnvironment to "jsdom"
kulla Sep 11, 2024
419ad79
fix(editor): Documents not having a state can be migrated
kulla Sep 11, 2024
08d7000
fix(editor): Remove unecessary rows root in initial states
kulla Sep 11, 2024
b41c826
chore: Add "yarn editor:test"
kulla Sep 11, 2024
ee5c341
chore(github): Add worklfow for "yarn editor:test"
kulla Sep 11, 2024
de88df6
chore(deps): bump dset from 3.1.3 to 3.1.4
dependabot[bot] Sep 11, 2024
64752d6
Merge pull request #4090 from serlo/dependabot/npm_and_yarn/dset-3.1.4
elbotho Sep 12, 2024
5da9bd4
refactor(editor): Reintroduce __EDITOR_VERSION__ to reduce bundle size
kulla Sep 12, 2024
5ef3a35
Revert "refactor(editor): Reintroduce __EDITOR_VERSION__ to reduce bu…
kulla Sep 12, 2024
3dcd1a5
fix(editor): Build of web component by exposing enum
Sep 12, 2024
55a5905
add video again
elbotho Sep 12, 2024
221b22a
typo
elbotho Sep 12, 2024
bcc889d
Merge pull request #4088 from serlo/feat-de-editor-page
elbotho Sep 12, 2024
4ec3a23
codegen
elbotho Sep 12, 2024
70d2159
Merge pull request #4092 from serlo/codegen-pages
elbotho Sep 12, 2024
651294a
Merge pull request #4089 from serlo/z53ND-kulla-2024-09-11-20-02
kulla Sep 12, 2024
2e90ffa
chore(deps): bump path-to-regexp from 6.2.1 to 6.3.0
dependabot[bot] Sep 12, 2024
ac8c690
refactor(editor)!: Rename plugins
kulla Sep 12, 2024
6825767
doc: Update doc
kulla Sep 12, 2024
c1d2292
yarn format
kulla Sep 12, 2024
6e945bf
Merge pull request #4093 from serlo/dependabot/npm_and_yarn/path-to-r…
kulla Sep 12, 2024
b9ce931
chore(editor): Release v0.14.0
Sep 12, 2024
bd4fc37
Merge pull request #4087 from serlo/ZytiS-kulla-2024-09-11-11-24
CodingDive Sep 12, 2024
34aaaab
chore(editor-web-component): Update docs and publish v0.7.0
Sep 12, 2024
816ac1c
Merge branch 'staging' into chore/release-editor-web-component-v0.7.0
Sep 12, 2024
319d7cd
Merge pull request #4094 from serlo/chore/release-editor-web-componen…
CodingDive Sep 12, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/editor-web-component.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ jobs:
run: |
CURRENT_VERSION=$(node -p "require('./packages/editor-web-component/package.json').version")
if npm view @serlo/editor-web-component@$CURRENT_VERSION > /dev/null 2>&1; then
echo "::set-output name=already_published::true"
echo "already_published=true" >> $GITHUB_OUTPUT
else
echo "::set-output name=already_published::false"
echo "already_published=false" >> $GITHUB_OUTPUT
fi

- name: Publish to npm
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/editor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ jobs:
run: |
CURRENT_VERSION=$(node -p "require('./packages/editor/package.json').version")
if npm view @serlo/editor@$CURRENT_VERSION > /dev/null 2>&1; then
echo "::set-output name=already_published::true"
echo "already_published=true" >> $GITHUB_OUTPUT
else
echo "::set-output name=already_published::false"
echo "already_published=false" >> $GITHUB_OUTPUT
fi

- name: Publish to npm
Expand Down
10 changes: 10 additions & 0 deletions .github/workflows/web_checks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,3 +43,13 @@ jobs:
node-version: 20
- run: yarn
- run: yarn test

editor-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
- run: yarn
- run: yarn editor:test
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
288 changes: 0 additions & 288 deletions apps/web/graphql.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -5755,109 +5755,6 @@
"enumValues": null,
"possibleTypes": null
},
{
"kind": "INPUT_OBJECT",
"name": "CreatePageInput",
"description": null,
"fields": null,
"inputFields": [
{
"name": "content",
"description": null,
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "String",
"ofType": null
}
},
"defaultValue": null,
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "discussionsEnabled",
"description": null,
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "Boolean",
"ofType": null
}
},
"defaultValue": null,
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "forumId",
"description": null,
"type": {
"kind": "SCALAR",
"name": "Int",
"ofType": null
},
"defaultValue": null,
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "instance",
"description": null,
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "ENUM",
"name": "Instance",
"ofType": null
}
},
"defaultValue": null,
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "licenseId",
"description": null,
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "Int",
"ofType": null
}
},
"defaultValue": null,
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "title",
"description": null,
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "String",
"ofType": null
}
},
"defaultValue": null,
"isDeprecated": false,
"deprecationReason": null
}
],
"interfaces": null,
"enumValues": null,
"possibleTypes": null
},
{
"kind": "OBJECT",
"name": "CreateTaxonomyLinkNotificationEvent",
Expand Down Expand Up @@ -9427,22 +9324,6 @@
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "page",
"description": null,
"args": [],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "OBJECT",
"name": "PageMutation",
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "subscription",
"description": null,
Expand Down Expand Up @@ -10295,65 +10176,6 @@
"enumValues": null,
"possibleTypes": null
},
{
"kind": "INPUT_OBJECT",
"name": "PageAddRevisionInput",
"description": null,
"fields": null,
"inputFields": [
{
"name": "content",
"description": null,
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "String",
"ofType": null
}
},
"defaultValue": null,
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "pageId",
"description": null,
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "Int",
"ofType": null
}
},
"defaultValue": null,
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "title",
"description": null,
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "String",
"ofType": null
}
},
"defaultValue": null,
"isDeprecated": false,
"deprecationReason": null
}
],
"interfaces": null,
"enumValues": null,
"possibleTypes": null
},
{
"kind": "OBJECT",
"name": "PageInfo",
Expand Down Expand Up @@ -10393,116 +10215,6 @@
"enumValues": null,
"possibleTypes": null
},
{
"kind": "OBJECT",
"name": "PageMutation",
"description": null,
"fields": [
{
"name": "addRevision",
"description": null,
"args": [
{
"name": "input",
"description": null,
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "INPUT_OBJECT",
"name": "PageAddRevisionInput",
"ofType": null
}
},
"defaultValue": null,
"isDeprecated": false,
"deprecationReason": null
}
],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "OBJECT",
"name": "DefaultResponse",
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "checkoutRevision",
"description": null,
"args": [
{
"name": "input",
"description": null,
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "INPUT_OBJECT",
"name": "CheckoutRevisionInput",
"ofType": null
}
},
"defaultValue": null,
"isDeprecated": false,
"deprecationReason": null
}
],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "OBJECT",
"name": "DefaultResponse",
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "create",
"description": null,
"args": [
{
"name": "input",
"description": null,
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "INPUT_OBJECT",
"name": "CreatePageInput",
"ofType": null
}
},
"defaultValue": null,
"isDeprecated": false,
"deprecationReason": null
}
],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "OBJECT",
"name": "DefaultResponse",
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
}
],
"inputFields": null,
"interfaces": [],
"enumValues": null,
"possibleTypes": null
},
{
"kind": "OBJECT",
"name": "PageQuery",
Expand Down
Loading
Loading