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

feat: add file upload functionality to TextField component #42

Merged
merged 192 commits into from
Aug 8, 2024
Merged

Conversation

kleberbaum
Copy link
Member

@kleberbaum kleberbaum commented Aug 8, 2024

Checklist:

  • Have you added an explanation of what your changes do and why you'd like them to be included?
  • Have you updated or added documentation for the change?
  • Have you tested your changes with successful results?

Type of Changes:

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Documentation (non-breaking change which adds documentation)
  • Breaking change (fix or feature that would cause existing functionality to change)

Other information:

Upload sample.pdf from local file system:

image

Gets inserted as sample.pdf inside the text:

image

schettn and others added 30 commits November 26, 2021 16:12
Remove data-name attribute from svg due to "invalid prop" warning.
# [@snek-at/jaen-pages-v2.1.1](https://github.com/snek-at/jaen/compare/@snek-at/jaen-pages-v2.1.0...@snek-at/jaen-pages-v2.1.1) (2021-11-28)

### Bug Fixes

* **tsconfig:** update references ([932df90](932df90))
* **ui:** seperate props form rest api ([e77f04e](e77f04e))
# [@snek-at/jaen-shared-ui-v2.0.1](https://github.com/snek-at/jaen/compare/@snek-at/jaen-shared-ui-v2.0.0...@snek-at/jaen-shared-ui-v2.0.1) (2021-11-28)

### Bug Fixes

* **ui:** forward JaenToggleButton ref ([443ab53](443ab53))
* **ui:** remove data-name from svg ([fda2070](fda2070))
* **ui:** seperate props form rest api ([e77f04e](e77f04e))
# [@snek-at/jaen-v2.0.1](https://github.com/snek-at/jaen/compare/@snek-at/jaen-v2.0.0...@snek-at/jaen-v2.0.1) (2021-11-28)

### Bug Fixes

* **tsconfig:** update references ([932df90](932df90))
BREAKING CHANGE:

The jaen-pages and jaen-shared-ui package are now included in jaen.
Also jaen is no longer installable as `@snek-at/jaen` but `@jaenjs/jaen`.
Update README.md to new package structure and remove german readme due to
syncing overhead.
Includes: Multiple pages, BlockContainer, TextField, IndexField.
# [my-gatsby-site-v2.0.0](jaenjs/jaen@my-gatsby-site-v1.1.0...my-gatsby-site-v2.0.0) (2021-11-29)

### Bug Fixes

* **jaen/ui:** fix svg loading issues ([d2de469](jaenjs/jaen@d2de469))

### Code Refactoring

* **packages:** combine all packages in one ([d0b268b](jaenjs/jaen@d0b268b))

### Features

* add example page with some jaen fields ([f7598a6](jaenjs/jaen@f7598a6))

### BREAKING CHANGES

* **packages:** The jaen-pages and jaen-shared-ui package are now included in jaen.
Also jaen is no longer installable as `@snek-at/jaen` but `@jaenjs/jaen`.
# my-gatsby-site-v1.0.0 (2021-11-30)

### Bug Fixes

* **.babelrc:** add preset-react ([36a0f2c](jaenjs/jaen@36a0f2c))
* **blockcontainer:** add workaround to bypass field registration inside a block container ([2e55edf](jaenjs/jaen@2e55edf))
* **blockcontainer:** disable SFBWrapper when not editing ([a171b96](jaenjs/jaen@a171b96))
* **chakra:** reset css ([2d1d195](jaenjs/jaen@2d1d195))
* **choicefield:** enable popover only on editing ([4ee9231](jaenjs/jaen@4ee9231))
* **fields:** remove WA, add block registration and fix missing block data ([fb4c2df](jaenjs/jaen@fb4c2df))
* **gatsby-node:** add missing slug on fixed pages that are not the index ([81eb4c5](jaenjs/jaen@81eb4c5))
* **gatsby-node:** fix variable not defined error ([0013d08](jaenjs/jaen@0013d08))
* **imagefield:** blinking on hover when using position absolut fixed ([d45c6f9](jaenjs/jaen@d45c6f9))
* **indexfield:** fix page context ([74d6383](jaenjs/jaen@74d6383))
* **jaen-pages cli:** fix cli typescript error ([780c4af](jaenjs/jaen@780c4af))
* **jaen/ui:** fix svg loading issues ([d2de469](jaenjs/jaen@d2de469))
* **package.json:** align monorepo package versions ([69661f7](jaenjs/jaen@69661f7))
* **package.json:** align versions ([cfd6201](jaenjs/jaen@cfd6201))
* **package.json:** align versions ([e28c4c9](jaenjs/jaen@e28c4c9))
* **package.json:** align versions ([5f0e61a](jaenjs/jaen@5f0e61a))
* **package.json:** align versions ([0bedf29](jaenjs/jaen@0bedf29))
* **package.json:** align versions ([a7b59a3](jaenjs/jaen@a7b59a3))
* **package.json:** fix versions ([16c706c](jaenjs/jaen@16c706c))
* **publish:** publishing works also without page changes now ([a091153](jaenjs/jaen@a091153))
* **seo:** fix page image url ([5e55706](jaenjs/jaen@5e55706))
* **theme:** update jaen themes ([3d7921f](jaenjs/jaen@3d7921f))
* add high zIndex to MainUI toggle button ([c180d92](jaenjs/jaen@c180d92))
* add portal and zindex to mainui ([12f6aed](jaenjs/jaen@12f6aed))
* disable page updating on page change ([cbd2656](jaenjs/jaen@cbd2656))
* enable image creation for none jaen pages ([5a4d4d4](jaenjs/jaen@5a4d4d4))
* enable transpiling ([037856a](jaenjs/jaen@037856a))
* fix versions ([fb37799](jaenjs/jaen@fb37799))
* improve file creating and jaen plugin register ([6a32003](jaenjs/jaen@6a32003))
* resolve paths for publish pages ([4fea93f](jaenjs/jaen@4fea93f))
* **package.json:** align versions ([07a4c3a](jaenjs/jaen@07a4c3a))
* **package.json:** align versions ([35e74c1](jaenjs/jaen@35e74c1))
* **package.json:** align versions ([ca6fc14](jaenjs/jaen@ca6fc14))
* **package.json:** update snekfinder version ([a764f35](jaenjs/jaen@a764f35))
* **package.json:** update versions ([8ce78ef](jaenjs/jaen@8ce78ef))
* page creaction and esm ([ab3bbda](jaenjs/jaen@ab3bbda))
* remove transpiling ([9ec9b59](jaenjs/jaen@9ec9b59))
* **package.json:** update version ([fe2aa5a](jaenjs/jaen@fe2aa5a))

### Code Refactoring

* **packages:** combine all packages in one ([d0b268b](jaenjs/jaen@d0b268b))

### Features

* add example page with some jaen fields ([f7598a6](jaenjs/jaen@f7598a6))
* **blockcontainer:** enable wrap for container ([504dd50](jaenjs/jaen@504dd50))
* **chakraui:** enfore chakraui through jaen ([bd539de](jaenjs/jaen@bd539de))
* **choicefield:** add disable option for popover ([91a36ac](jaenjs/jaen@91a36ac))
* **jaen-pages:** switch from ipfs to osg ([3e9df13](jaenjs/jaen@3e9df13))
* **mainui:** add option to initially hide ui ([0d4a063](jaenjs/jaen@0d4a063))
* **mainui:** provide hideUI status through core provider ([2288635](jaenjs/jaen@2288635))
* **release:** update to v2.0.0 ([3093c33](jaenjs/jaen@3093c33))
* **seo:** add react helmet gatsby plugin to ssr meta tags ([5490aa7](jaenjs/jaen@5490aa7))
* **seo:** add SEO to TemplateProvider ([38fc053](jaenjs/jaen@38fc053))
* **snekfinder:** sync files on publish ([b67a68c](jaenjs/jaen@b67a68c))
* add ChoiceField ([115417b](jaenjs/jaen@115417b))
* add gatsby publishing ([83d2704](jaenjs/jaen@83d2704))
* add jaen-pages cli ([b2a9724](jaenjs/jaen@b2a9724))
* add jaen-pages migration workflow ([008918c](jaenjs/jaen@008918c))
* add jaenPageContext ([2bf4da1](jaenjs/jaen@2bf4da1))
* enable childpages for static pages ([c8f442e](jaenjs/jaen@c8f442e))
* introduce BlockContainer (StreamField replacement) ([e89c100](jaenjs/jaen@e89c100))
* jaenImage uses GatsbyImage now ([a28b99e](jaenjs/jaen@a28b99e))
* remove initialValue form StreamField ([1c60e15](jaenjs/jaen@1c60e15))
* send publish request on button press ([75d5cfc](jaenjs/jaen@75d5cfc))
* streamField not includes build data ([b12ff24](jaenjs/jaen@b12ff24))

### Performance Improvements

* **ckeditor:** load bundle only if editing is true (prevents from loading it to SSR) ([acabb30](jaenjs/jaen@acabb30))
* **ckeditor:** only render if `defaultData.shouldOverrideRand` changes ([61361dc](jaenjs/jaen@61361dc))
* use dynamic imports to reduce the bundle size ([712dfe3](jaenjs/jaen@712dfe3))

### BREAKING CHANGES

* **packages:** The jaen-pages and jaen-shared-ui package are now included in jaen.
Also jaen is no longer installable as `@snek-at/jaen` but `@jaenjs/jaen`.
* **release:** Update to v2.0.0
# my-gatsby-site-v1.0.0 (2021-11-30)

### Bug Fixes

* **.babelrc:** add preset-react ([36a0f2c](jaenjs/jaen@36a0f2c))
* **blockcontainer:** add workaround to bypass field registration inside a block container ([2e55edf](jaenjs/jaen@2e55edf))
* **blockcontainer:** disable SFBWrapper when not editing ([a171b96](jaenjs/jaen@a171b96))
* **chakra:** reset css ([2d1d195](jaenjs/jaen@2d1d195))
* **choicefield:** enable popover only on editing ([4ee9231](jaenjs/jaen@4ee9231))
* **fields:** remove WA, add block registration and fix missing block data ([fb4c2df](jaenjs/jaen@fb4c2df))
* **gatsby-node:** add missing slug on fixed pages that are not the index ([81eb4c5](jaenjs/jaen@81eb4c5))
* **gatsby-node:** fix variable not defined error ([0013d08](jaenjs/jaen@0013d08))
* **imagefield:** blinking on hover when using position absolut fixed ([d45c6f9](jaenjs/jaen@d45c6f9))
* **indexfield:** fix page context ([74d6383](jaenjs/jaen@74d6383))
* **jaen-pages cli:** fix cli typescript error ([780c4af](jaenjs/jaen@780c4af))
* **jaen/ui:** fix svg loading issues ([d2de469](jaenjs/jaen@d2de469))
* **package.json:** align monorepo package versions ([69661f7](jaenjs/jaen@69661f7))
* **package.json:** align versions ([cfd6201](jaenjs/jaen@cfd6201))
* **package.json:** align versions ([e28c4c9](jaenjs/jaen@e28c4c9))
* **package.json:** align versions ([5f0e61a](jaenjs/jaen@5f0e61a))
* **package.json:** align versions ([0bedf29](jaenjs/jaen@0bedf29))
* **package.json:** align versions ([a7b59a3](jaenjs/jaen@a7b59a3))
* **package.json:** fix versions ([16c706c](jaenjs/jaen@16c706c))
* **publish:** publishing works also without page changes now ([a091153](jaenjs/jaen@a091153))
* **seo:** fix page image url ([5e55706](jaenjs/jaen@5e55706))
* **theme:** update jaen themes ([3d7921f](jaenjs/jaen@3d7921f))
* add high zIndex to MainUI toggle button ([c180d92](jaenjs/jaen@c180d92))
* add portal and zindex to mainui ([12f6aed](jaenjs/jaen@12f6aed))
* disable page updating on page change ([cbd2656](jaenjs/jaen@cbd2656))
* enable image creation for none jaen pages ([5a4d4d4](jaenjs/jaen@5a4d4d4))
* enable transpiling ([037856a](jaenjs/jaen@037856a))
* fix versions ([fb37799](jaenjs/jaen@fb37799))
* improve file creating and jaen plugin register ([6a32003](jaenjs/jaen@6a32003))
* resolve paths for publish pages ([4fea93f](jaenjs/jaen@4fea93f))
* **package.json:** align versions ([07a4c3a](jaenjs/jaen@07a4c3a))
* **package.json:** align versions ([35e74c1](jaenjs/jaen@35e74c1))
* **package.json:** align versions ([ca6fc14](jaenjs/jaen@ca6fc14))
* **package.json:** update snekfinder version ([a764f35](jaenjs/jaen@a764f35))
* **package.json:** update versions ([8ce78ef](jaenjs/jaen@8ce78ef))
* page creaction and esm ([ab3bbda](jaenjs/jaen@ab3bbda))
* remove transpiling ([9ec9b59](jaenjs/jaen@9ec9b59))
* **package.json:** update version ([fe2aa5a](jaenjs/jaen@fe2aa5a))

### Code Refactoring

* **packages:** combine all packages in one ([d0b268b](jaenjs/jaen@d0b268b))

### Features

* add example page with some jaen fields ([f7598a6](jaenjs/jaen@f7598a6))
* **blockcontainer:** enable wrap for container ([504dd50](jaenjs/jaen@504dd50))
* **chakraui:** enfore chakraui through jaen ([bd539de](jaenjs/jaen@bd539de))
* **choicefield:** add disable option for popover ([91a36ac](jaenjs/jaen@91a36ac))
* **jaen-pages:** switch from ipfs to osg ([3e9df13](jaenjs/jaen@3e9df13))
* **mainui:** add option to initially hide ui ([0d4a063](jaenjs/jaen@0d4a063))
* **mainui:** provide hideUI status through core provider ([2288635](jaenjs/jaen@2288635))
* **release:** update to v2.0.0 ([3093c33](jaenjs/jaen@3093c33))
* **seo:** add react helmet gatsby plugin to ssr meta tags ([5490aa7](jaenjs/jaen@5490aa7))
* **seo:** add SEO to TemplateProvider ([38fc053](jaenjs/jaen@38fc053))
* **snekfinder:** sync files on publish ([b67a68c](jaenjs/jaen@b67a68c))
* add ChoiceField ([115417b](jaenjs/jaen@115417b))
* add gatsby publishing ([83d2704](jaenjs/jaen@83d2704))
* add jaen-pages cli ([b2a9724](jaenjs/jaen@b2a9724))
* add jaen-pages migration workflow ([008918c](jaenjs/jaen@008918c))
* add jaenPageContext ([2bf4da1](jaenjs/jaen@2bf4da1))
* enable childpages for static pages ([c8f442e](jaenjs/jaen@c8f442e))
* introduce BlockContainer (StreamField replacement) ([e89c100](jaenjs/jaen@e89c100))
* jaenImage uses GatsbyImage now ([a28b99e](jaenjs/jaen@a28b99e))
* remove initialValue form StreamField ([1c60e15](jaenjs/jaen@1c60e15))
* send publish request on button press ([75d5cfc](jaenjs/jaen@75d5cfc))
* streamField not includes build data ([b12ff24](jaenjs/jaen@b12ff24))

### Performance Improvements

* **ckeditor:** load bundle only if editing is true (prevents from loading it to SSR) ([acabb30](jaenjs/jaen@acabb30))
* **ckeditor:** only render if `defaultData.shouldOverrideRand` changes ([61361dc](jaenjs/jaen@61361dc))
* use dynamic imports to reduce the bundle size ([712dfe3](jaenjs/jaen@712dfe3))

### BREAKING CHANGES

* **packages:** The jaen-pages and jaen-shared-ui package are now included in jaen.
Also jaen is no longer installable as `@snek-at/jaen` but `@jaenjs/jaen`.
* **release:** Update to v2.0.0
# [@jaenjs/jaen-v2.0.0](https://github.com/jaenjs/jaen/compare/@jaenjs/jaen-v1.0.0...@jaenjs/jaen-v2.0.0) (2021-11-30)

### Bug Fixes

* **.babelrc:** add preset-react ([36a0f2c](jaenjs/jaen@36a0f2c))
* **blockcontainer:** add full width to placeholder skeleton ([580dc5b](jaenjs/jaen@580dc5b))
* **build:** build gatsby plugins with babel ([951ae23](jaenjs/jaen@951ae23))
* **chakra:** reset css ([2d1d195](jaenjs/jaen@2d1d195))
* **colormode:** switching the colormode works when using jaen-shared-ui (WA!) ([409d094](jaenjs/jaen@409d094))
* **drawer:** reduce minW of 6xl size ([a43fa63](jaenjs/jaen@a43fa63))
* **jaen/cli:** add upload function that works for nodejs ([d63694e](jaenjs/jaen@d63694e))
* **jaen/ui:** fix svg loading issues ([d2de469](jaenjs/jaen@d2de469))
* **license:** fix incorrect license spdx id ([21db14d](jaenjs/jaen@21db14d))
* **mainui:** make toggle responsive and add unsupported device alert ([78c46f7](jaenjs/jaen@78c46f7))
* **package.json:** add dist to files ([243b531](jaenjs/jaen@243b531))
* **package.json:** align monorepo package versions ([69661f7](jaenjs/jaen@69661f7))
* **package.json:** align versions ([cfd6201](jaenjs/jaen@cfd6201))
* **package.json:** align versions ([e28c4c9](jaenjs/jaen@e28c4c9))
* **package.json:** align versions ([5f0e61a](jaenjs/jaen@5f0e61a))
* **package.json:** align versions ([0bedf29](jaenjs/jaen@0bedf29))
* **package.json:** align versions ([a7b59a3](jaenjs/jaen@a7b59a3))
* **package.json:** align versions ([07a4c3a](jaenjs/jaen@07a4c3a))
* **theme:** update jaen themes ([3d7921f](jaenjs/jaen@3d7921f))
* **tsconfig:** update references ([932df90](jaenjs/jaen@932df90))
* add missing import and remove if ([856333e](jaenjs/jaen@856333e))
* add portal and zindex to mainui ([12f6aed](jaenjs/jaen@12f6aed))
* enable transpiling ([037856a](jaenjs/jaen@037856a))
* remove babel transpiling ([e443f18](jaenjs/jaen@e443f18))
* remove build alerts ([b1153fe](jaenjs/jaen@b1153fe))
* update err type ([685bc9e](jaenjs/jaen@685bc9e))
* **package.json:** align versions ([3ae446a](jaenjs/jaen@3ae446a))
* **package.json:** align versions ([35e74c1](jaenjs/jaen@35e74c1))
* page creaction and esm ([ab3bbda](jaenjs/jaen@ab3bbda))
* remove transpiling ([9ec9b59](jaenjs/jaen@9ec9b59))
* **package.json:** fix jaen-shared-ui version ([c340a35](jaenjs/jaen@c340a35))
* **package.json:** fix versions ([16c706c](jaenjs/jaen@16c706c))
* **package.json:** remove files ([fdc78ca](jaenjs/jaen@fdc78ca))
* **package.json:** update version ([bfd63ae](jaenjs/jaen@bfd63ae))

### Code Refactoring

* **packages:** combine all packages in one ([d0b268b](jaenjs/jaen@d0b268b))

### Features

* **auth:** add guest mode ([3431548](jaenjs/jaen@3431548))
* **chakraui:** enfore chakraui through jaen ([bd539de](jaenjs/jaen@bd539de))
* **mainui:** add option to initially hide ui ([0d4a063](jaenjs/jaen@0d4a063))
* **mainui:** provide hideUI status through core provider ([2288635](jaenjs/jaen@2288635))
* **release:** update to v2.0.0 ([3093c33](jaenjs/jaen@3093c33))
* **seo:** add SEO to TemplateProvider ([38fc053](jaenjs/jaen@38fc053))
* **snekfinder:** sync files on publish ([b67a68c](jaenjs/jaen@b67a68c))
* **theme:** add jaenTheme and userTheme including new drawersize (6xl) ([f96ac1f](jaenjs/jaen@f96ac1f))
* add jaenPageContext ([2bf4da1](jaenjs/jaen@2bf4da1))
* add login ([1c2cbc5](jaenjs/jaen@1c2cbc5))
* compile plugins as es6 ([5473ed0](jaenjs/jaen@5473ed0))
* jaenImage uses GatsbyImage now ([a28b99e](jaenjs/jaen@a28b99e))
* move exit button from header to footer ([d9d82a2](jaenjs/jaen@d9d82a2))
* send publish request on button press ([75d5cfc](jaenjs/jaen@75d5cfc))

### Performance Improvements

* use dynamic imports to reduce the bundle size ([712dfe3](jaenjs/jaen@712dfe3))

### BREAKING CHANGES

* **packages:** The jaen-pages and jaen-shared-ui package are now included in jaen.
Also jaen is no longer installable as `@snek-at/jaen` but `@jaenjs/jaen`.
* **release:** Update to v2.0.0
This change updates the rendering behaviour of the SnekFinder.
Before the loading state of the SnekFinder was always true, unless
a initBackendLink was set. Due to this, the rendering of the SnekFinder
failed for all applications that did not set the initBackendLink through
`jaen-pages.json` or cache.

Now the loading state is set to false regardless of the initBackendLink.
Without the initBackendLink,
```js
localStorage.removeItem('snek-finder-osg-backend-root')
```
is called to remove the cached snekFinder data.
This change enables rerender of the IndexField through using the `usePage`
hook instead of `useResolvedPage`. The former subscribes to the redux
store in contrast to `useResolvePage`.

In addition, the `usePage` hook has been refactored to reduce duplicate
code.
This changes includes the pageId in the base page of a node.
Therby the pageId can now be accessed within the page object.

This makes it possible for the `IndexField` to include fields within the
page children.

Example:

```js
 <fields.IndexField
    onRender={page => (
    <>
        {page.children.map(e => (
            <fields.TextField fieldName="test"
                              initValue="test"
                              pageId={e.page.id}
            />
        ))}
    </>
    )}
/>
```
This change introduces the possibility to create a page through the
`IndexField`. This is useful for creating pages quickly and easily from
the index without having to open the `MainUI` and create a page within
the `PageExplorer`.

This concept features two new ways to create a page:
1. Use the `addPage` method of the `IndexField`.
2. Use the `defaultPopover` of the `IndexField`, that renders a so called
`renderer`.

Renderer:
Functions that accept `IndexRenderArgs` are called `renderers`. Those are
used to provide prebuild callback functions for the props `onRender` and
`onRenderPopver`.
The concept of renderes will also apply for other fields in the future.
@kleberbaum kleberbaum added the enhancement New feature or request label Aug 8, 2024
@kleberbaum kleberbaum added this to the v3.0.0 milestone Aug 8, 2024
@kleberbaum kleberbaum self-assigned this Aug 8, 2024
@kleberbaum kleberbaum merged commit e385c83 into main Aug 8, 2024
1 of 2 checks passed
kleberbaum added a commit that referenced this pull request Aug 8, 2024
kleberbaum added a commit that referenced this pull request Aug 8, 2024
* fix(ui): forward JaenToggleButton ref

* fix(ui): remove data-name from svg

Remove data-name attribute from svg due to "invalid prop" warning.

* fix(ui): seperate props form rest api

* fix(tsconfig): update references

* chore(package.json): allow minor, patch updates for jaen-shared-ui

* chore(release): 2.1.1 [skip ci]

# [@snek-at/jaen-pages-v2.1.1](https://github.com/snek-at/jaen/compare/@snek-at/jaen-pages-v2.1.0...@snek-at/jaen-pages-v2.1.1) (2021-11-28)

### Bug Fixes

* **tsconfig:** update references ([932df90](932df90))
* **ui:** seperate props form rest api ([e77f04e](e77f04e))

* chore(release): 2.0.1 [skip ci]

# [@snek-at/jaen-shared-ui-v2.0.1](https://github.com/snek-at/jaen/compare/@snek-at/jaen-shared-ui-v2.0.0...@snek-at/jaen-shared-ui-v2.0.1) (2021-11-28)

### Bug Fixes

* **ui:** forward JaenToggleButton ref ([443ab53](443ab53))
* **ui:** remove data-name from svg ([fda2070](fda2070))
* **ui:** seperate props form rest api ([e77f04e](e77f04e))

* chore(release): 2.0.1 [skip ci]

# [@snek-at/jaen-v2.0.1](https://github.com/snek-at/jaen/compare/@snek-at/jaen-v2.0.0...@snek-at/jaen-v2.0.1) (2021-11-28)

### Bug Fixes

* **tsconfig:** update references ([932df90](932df90))

* refactor(packages): combine all packages in one

BREAKING CHANGE:

The jaen-pages and jaen-shared-ui package are now included in jaen.
Also jaen is no longer installable as `@snek-at/jaen` but `@jaenjs/jaen`.

* fix(jaen/cli): add upload function that works for nodejs

* fix(jaen/ui): fix svg loading issues

* docs(readme): change to new structure

Update README.md to new package structure and remove german readme due to
syncing overhead.

* fix(blockcontainer): add full width to placeholder skeleton

* chore: update yarn.lock

* feat: add example page with some jaen fields

Includes: Multiple pages, BlockContainer, TextField, IndexField.

* chore(release): 2.0.0 [skip ci]

# [my-gatsby-site-v2.0.0](jaenjs/jaen@my-gatsby-site-v1.1.0...my-gatsby-site-v2.0.0) (2021-11-29)

### Bug Fixes

* **jaen/ui:** fix svg loading issues ([d2de469](jaenjs/jaen@d2de469))

### Code Refactoring

* **packages:** combine all packages in one ([d0b268b](jaenjs/jaen@d0b268b))

### Features

* add example page with some jaen fields ([f7598a6](jaenjs/jaen@f7598a6))

### BREAKING CHANGES

* **packages:** The jaen-pages and jaen-shared-ui package are now included in jaen.
Also jaen is no longer installable as `@snek-at/jaen` but `@jaenjs/jaen`.

* chore(package.json): update urls

* chore(tsconfig.json): add composite compiler option

* chore(release): 1.0.0 [skip ci]

# my-gatsby-site-v1.0.0 (2021-11-30)

### Bug Fixes

* **.babelrc:** add preset-react ([36a0f2c](jaenjs/jaen@36a0f2c))
* **blockcontainer:** add workaround to bypass field registration inside a block container ([2e55edf](jaenjs/jaen@2e55edf))
* **blockcontainer:** disable SFBWrapper when not editing ([a171b96](jaenjs/jaen@a171b96))
* **chakra:** reset css ([2d1d195](jaenjs/jaen@2d1d195))
* **choicefield:** enable popover only on editing ([4ee9231](jaenjs/jaen@4ee9231))
* **fields:** remove WA, add block registration and fix missing block data ([fb4c2df](jaenjs/jaen@fb4c2df))
* **gatsby-node:** add missing slug on fixed pages that are not the index ([81eb4c5](jaenjs/jaen@81eb4c5))
* **gatsby-node:** fix variable not defined error ([0013d08](jaenjs/jaen@0013d08))
* **imagefield:** blinking on hover when using position absolut fixed ([d45c6f9](jaenjs/jaen@d45c6f9))
* **indexfield:** fix page context ([74d6383](jaenjs/jaen@74d6383))
* **jaen-pages cli:** fix cli typescript error ([780c4af](jaenjs/jaen@780c4af))
* **jaen/ui:** fix svg loading issues ([d2de469](jaenjs/jaen@d2de469))
* **package.json:** align monorepo package versions ([69661f7](jaenjs/jaen@69661f7))
* **package.json:** align versions ([cfd6201](jaenjs/jaen@cfd6201))
* **package.json:** align versions ([e28c4c9](jaenjs/jaen@e28c4c9))
* **package.json:** align versions ([5f0e61a](jaenjs/jaen@5f0e61a))
* **package.json:** align versions ([0bedf29](jaenjs/jaen@0bedf29))
* **package.json:** align versions ([a7b59a3](jaenjs/jaen@a7b59a3))
* **package.json:** fix versions ([16c706c](jaenjs/jaen@16c706c))
* **publish:** publishing works also without page changes now ([a091153](jaenjs/jaen@a091153))
* **seo:** fix page image url ([5e55706](jaenjs/jaen@5e55706))
* **theme:** update jaen themes ([3d7921f](jaenjs/jaen@3d7921f))
* add high zIndex to MainUI toggle button ([c180d92](jaenjs/jaen@c180d92))
* add portal and zindex to mainui ([12f6aed](jaenjs/jaen@12f6aed))
* disable page updating on page change ([cbd2656](jaenjs/jaen@cbd2656))
* enable image creation for none jaen pages ([5a4d4d4](jaenjs/jaen@5a4d4d4))
* enable transpiling ([037856a](jaenjs/jaen@037856a))
* fix versions ([fb37799](jaenjs/jaen@fb37799))
* improve file creating and jaen plugin register ([6a32003](jaenjs/jaen@6a32003))
* resolve paths for publish pages ([4fea93f](jaenjs/jaen@4fea93f))
* **package.json:** align versions ([07a4c3a](jaenjs/jaen@07a4c3a))
* **package.json:** align versions ([35e74c1](jaenjs/jaen@35e74c1))
* **package.json:** align versions ([ca6fc14](jaenjs/jaen@ca6fc14))
* **package.json:** update snekfinder version ([a764f35](jaenjs/jaen@a764f35))
* **package.json:** update versions ([8ce78ef](jaenjs/jaen@8ce78ef))
* page creaction and esm ([ab3bbda](jaenjs/jaen@ab3bbda))
* remove transpiling ([9ec9b59](jaenjs/jaen@9ec9b59))
* **package.json:** update version ([fe2aa5a](jaenjs/jaen@fe2aa5a))

### Code Refactoring

* **packages:** combine all packages in one ([d0b268b](jaenjs/jaen@d0b268b))

### Features

* add example page with some jaen fields ([f7598a6](jaenjs/jaen@f7598a6))
* **blockcontainer:** enable wrap for container ([504dd50](jaenjs/jaen@504dd50))
* **chakraui:** enfore chakraui through jaen ([bd539de](jaenjs/jaen@bd539de))
* **choicefield:** add disable option for popover ([91a36ac](jaenjs/jaen@91a36ac))
* **jaen-pages:** switch from ipfs to osg ([3e9df13](jaenjs/jaen@3e9df13))
* **mainui:** add option to initially hide ui ([0d4a063](jaenjs/jaen@0d4a063))
* **mainui:** provide hideUI status through core provider ([2288635](jaenjs/jaen@2288635))
* **release:** update to v2.0.0 ([3093c33](jaenjs/jaen@3093c33))
* **seo:** add react helmet gatsby plugin to ssr meta tags ([5490aa7](jaenjs/jaen@5490aa7))
* **seo:** add SEO to TemplateProvider ([38fc053](jaenjs/jaen@38fc053))
* **snekfinder:** sync files on publish ([b67a68c](jaenjs/jaen@b67a68c))
* add ChoiceField ([115417b](jaenjs/jaen@115417b))
* add gatsby publishing ([83d2704](jaenjs/jaen@83d2704))
* add jaen-pages cli ([b2a9724](jaenjs/jaen@b2a9724))
* add jaen-pages migration workflow ([008918c](jaenjs/jaen@008918c))
* add jaenPageContext ([2bf4da1](jaenjs/jaen@2bf4da1))
* enable childpages for static pages ([c8f442e](jaenjs/jaen@c8f442e))
* introduce BlockContainer (StreamField replacement) ([e89c100](jaenjs/jaen@e89c100))
* jaenImage uses GatsbyImage now ([a28b99e](jaenjs/jaen@a28b99e))
* remove initialValue form StreamField ([1c60e15](jaenjs/jaen@1c60e15))
* send publish request on button press ([75d5cfc](jaenjs/jaen@75d5cfc))
* streamField not includes build data ([b12ff24](jaenjs/jaen@b12ff24))

### Performance Improvements

* **ckeditor:** load bundle only if editing is true (prevents from loading it to SSR) ([acabb30](jaenjs/jaen@acabb30))
* **ckeditor:** only render if `defaultData.shouldOverrideRand` changes ([61361dc](jaenjs/jaen@61361dc))
* use dynamic imports to reduce the bundle size ([712dfe3](jaenjs/jaen@712dfe3))

### BREAKING CHANGES

* **packages:** The jaen-pages and jaen-shared-ui package are now included in jaen.
Also jaen is no longer installable as `@snek-at/jaen` but `@jaenjs/jaen`.
* **release:** Update to v2.0.0

* chore(package.json): add publishConfig and set access to public

* chore(release): 1.0.0 [skip ci]

# my-gatsby-site-v1.0.0 (2021-11-30)

### Bug Fixes

* **.babelrc:** add preset-react ([36a0f2c](jaenjs/jaen@36a0f2c))
* **blockcontainer:** add workaround to bypass field registration inside a block container ([2e55edf](jaenjs/jaen@2e55edf))
* **blockcontainer:** disable SFBWrapper when not editing ([a171b96](jaenjs/jaen@a171b96))
* **chakra:** reset css ([2d1d195](jaenjs/jaen@2d1d195))
* **choicefield:** enable popover only on editing ([4ee9231](jaenjs/jaen@4ee9231))
* **fields:** remove WA, add block registration and fix missing block data ([fb4c2df](jaenjs/jaen@fb4c2df))
* **gatsby-node:** add missing slug on fixed pages that are not the index ([81eb4c5](jaenjs/jaen@81eb4c5))
* **gatsby-node:** fix variable not defined error ([0013d08](jaenjs/jaen@0013d08))
* **imagefield:** blinking on hover when using position absolut fixed ([d45c6f9](jaenjs/jaen@d45c6f9))
* **indexfield:** fix page context ([74d6383](jaenjs/jaen@74d6383))
* **jaen-pages cli:** fix cli typescript error ([780c4af](jaenjs/jaen@780c4af))
* **jaen/ui:** fix svg loading issues ([d2de469](jaenjs/jaen@d2de469))
* **package.json:** align monorepo package versions ([69661f7](jaenjs/jaen@69661f7))
* **package.json:** align versions ([cfd6201](jaenjs/jaen@cfd6201))
* **package.json:** align versions ([e28c4c9](jaenjs/jaen@e28c4c9))
* **package.json:** align versions ([5f0e61a](jaenjs/jaen@5f0e61a))
* **package.json:** align versions ([0bedf29](jaenjs/jaen@0bedf29))
* **package.json:** align versions ([a7b59a3](jaenjs/jaen@a7b59a3))
* **package.json:** fix versions ([16c706c](jaenjs/jaen@16c706c))
* **publish:** publishing works also without page changes now ([a091153](jaenjs/jaen@a091153))
* **seo:** fix page image url ([5e55706](jaenjs/jaen@5e55706))
* **theme:** update jaen themes ([3d7921f](jaenjs/jaen@3d7921f))
* add high zIndex to MainUI toggle button ([c180d92](jaenjs/jaen@c180d92))
* add portal and zindex to mainui ([12f6aed](jaenjs/jaen@12f6aed))
* disable page updating on page change ([cbd2656](jaenjs/jaen@cbd2656))
* enable image creation for none jaen pages ([5a4d4d4](jaenjs/jaen@5a4d4d4))
* enable transpiling ([037856a](jaenjs/jaen@037856a))
* fix versions ([fb37799](jaenjs/jaen@fb37799))
* improve file creating and jaen plugin register ([6a32003](jaenjs/jaen@6a32003))
* resolve paths for publish pages ([4fea93f](jaenjs/jaen@4fea93f))
* **package.json:** align versions ([07a4c3a](jaenjs/jaen@07a4c3a))
* **package.json:** align versions ([35e74c1](jaenjs/jaen@35e74c1))
* **package.json:** align versions ([ca6fc14](jaenjs/jaen@ca6fc14))
* **package.json:** update snekfinder version ([a764f35](jaenjs/jaen@a764f35))
* **package.json:** update versions ([8ce78ef](jaenjs/jaen@8ce78ef))
* page creaction and esm ([ab3bbda](jaenjs/jaen@ab3bbda))
* remove transpiling ([9ec9b59](jaenjs/jaen@9ec9b59))
* **package.json:** update version ([fe2aa5a](jaenjs/jaen@fe2aa5a))

### Code Refactoring

* **packages:** combine all packages in one ([d0b268b](jaenjs/jaen@d0b268b))

### Features

* add example page with some jaen fields ([f7598a6](jaenjs/jaen@f7598a6))
* **blockcontainer:** enable wrap for container ([504dd50](jaenjs/jaen@504dd50))
* **chakraui:** enfore chakraui through jaen ([bd539de](jaenjs/jaen@bd539de))
* **choicefield:** add disable option for popover ([91a36ac](jaenjs/jaen@91a36ac))
* **jaen-pages:** switch from ipfs to osg ([3e9df13](jaenjs/jaen@3e9df13))
* **mainui:** add option to initially hide ui ([0d4a063](jaenjs/jaen@0d4a063))
* **mainui:** provide hideUI status through core provider ([2288635](jaenjs/jaen@2288635))
* **release:** update to v2.0.0 ([3093c33](jaenjs/jaen@3093c33))
* **seo:** add react helmet gatsby plugin to ssr meta tags ([5490aa7](jaenjs/jaen@5490aa7))
* **seo:** add SEO to TemplateProvider ([38fc053](jaenjs/jaen@38fc053))
* **snekfinder:** sync files on publish ([b67a68c](jaenjs/jaen@b67a68c))
* add ChoiceField ([115417b](jaenjs/jaen@115417b))
* add gatsby publishing ([83d2704](jaenjs/jaen@83d2704))
* add jaen-pages cli ([b2a9724](jaenjs/jaen@b2a9724))
* add jaen-pages migration workflow ([008918c](jaenjs/jaen@008918c))
* add jaenPageContext ([2bf4da1](jaenjs/jaen@2bf4da1))
* enable childpages for static pages ([c8f442e](jaenjs/jaen@c8f442e))
* introduce BlockContainer (StreamField replacement) ([e89c100](jaenjs/jaen@e89c100))
* jaenImage uses GatsbyImage now ([a28b99e](jaenjs/jaen@a28b99e))
* remove initialValue form StreamField ([1c60e15](jaenjs/jaen@1c60e15))
* send publish request on button press ([75d5cfc](jaenjs/jaen@75d5cfc))
* streamField not includes build data ([b12ff24](jaenjs/jaen@b12ff24))

### Performance Improvements

* **ckeditor:** load bundle only if editing is true (prevents from loading it to SSR) ([acabb30](jaenjs/jaen@acabb30))
* **ckeditor:** only render if `defaultData.shouldOverrideRand` changes ([61361dc](jaenjs/jaen@61361dc))
* use dynamic imports to reduce the bundle size ([712dfe3](jaenjs/jaen@712dfe3))

### BREAKING CHANGES

* **packages:** The jaen-pages and jaen-shared-ui package are now included in jaen.
Also jaen is no longer installable as `@snek-at/jaen` but `@jaenjs/jaen`.
* **release:** Update to v2.0.0

* chore(release): 2.0.0 [skip ci]

# [@jaenjs/jaen-v2.0.0](https://github.com/jaenjs/jaen/compare/@jaenjs/jaen-v1.0.0...@jaenjs/jaen-v2.0.0) (2021-11-30)

### Bug Fixes

* **.babelrc:** add preset-react ([36a0f2c](jaenjs/jaen@36a0f2c))
* **blockcontainer:** add full width to placeholder skeleton ([580dc5b](jaenjs/jaen@580dc5b))
* **build:** build gatsby plugins with babel ([951ae23](jaenjs/jaen@951ae23))
* **chakra:** reset css ([2d1d195](jaenjs/jaen@2d1d195))
* **colormode:** switching the colormode works when using jaen-shared-ui (WA!) ([409d094](jaenjs/jaen@409d094))
* **drawer:** reduce minW of 6xl size ([a43fa63](jaenjs/jaen@a43fa63))
* **jaen/cli:** add upload function that works for nodejs ([d63694e](jaenjs/jaen@d63694e))
* **jaen/ui:** fix svg loading issues ([d2de469](jaenjs/jaen@d2de469))
* **license:** fix incorrect license spdx id ([21db14d](jaenjs/jaen@21db14d))
* **mainui:** make toggle responsive and add unsupported device alert ([78c46f7](jaenjs/jaen@78c46f7))
* **package.json:** add dist to files ([243b531](jaenjs/jaen@243b531))
* **package.json:** align monorepo package versions ([69661f7](jaenjs/jaen@69661f7))
* **package.json:** align versions ([cfd6201](jaenjs/jaen@cfd6201))
* **package.json:** align versions ([e28c4c9](jaenjs/jaen@e28c4c9))
* **package.json:** align versions ([5f0e61a](jaenjs/jaen@5f0e61a))
* **package.json:** align versions ([0bedf29](jaenjs/jaen@0bedf29))
* **package.json:** align versions ([a7b59a3](jaenjs/jaen@a7b59a3))
* **package.json:** align versions ([07a4c3a](jaenjs/jaen@07a4c3a))
* **theme:** update jaen themes ([3d7921f](jaenjs/jaen@3d7921f))
* **tsconfig:** update references ([932df90](jaenjs/jaen@932df90))
* add missing import and remove if ([856333e](jaenjs/jaen@856333e))
* add portal and zindex to mainui ([12f6aed](jaenjs/jaen@12f6aed))
* enable transpiling ([037856a](jaenjs/jaen@037856a))
* remove babel transpiling ([e443f18](jaenjs/jaen@e443f18))
* remove build alerts ([b1153fe](jaenjs/jaen@b1153fe))
* update err type ([685bc9e](jaenjs/jaen@685bc9e))
* **package.json:** align versions ([3ae446a](jaenjs/jaen@3ae446a))
* **package.json:** align versions ([35e74c1](jaenjs/jaen@35e74c1))
* page creaction and esm ([ab3bbda](jaenjs/jaen@ab3bbda))
* remove transpiling ([9ec9b59](jaenjs/jaen@9ec9b59))
* **package.json:** fix jaen-shared-ui version ([c340a35](jaenjs/jaen@c340a35))
* **package.json:** fix versions ([16c706c](jaenjs/jaen@16c706c))
* **package.json:** remove files ([fdc78ca](jaenjs/jaen@fdc78ca))
* **package.json:** update version ([bfd63ae](jaenjs/jaen@bfd63ae))

### Code Refactoring

* **packages:** combine all packages in one ([d0b268b](jaenjs/jaen@d0b268b))

### Features

* **auth:** add guest mode ([3431548](jaenjs/jaen@3431548))
* **chakraui:** enfore chakraui through jaen ([bd539de](jaenjs/jaen@bd539de))
* **mainui:** add option to initially hide ui ([0d4a063](jaenjs/jaen@0d4a063))
* **mainui:** provide hideUI status through core provider ([2288635](jaenjs/jaen@2288635))
* **release:** update to v2.0.0 ([3093c33](jaenjs/jaen@3093c33))
* **seo:** add SEO to TemplateProvider ([38fc053](jaenjs/jaen@38fc053))
* **snekfinder:** sync files on publish ([b67a68c](jaenjs/jaen@b67a68c))
* **theme:** add jaenTheme and userTheme including new drawersize (6xl) ([f96ac1f](jaenjs/jaen@f96ac1f))
* add jaenPageContext ([2bf4da1](jaenjs/jaen@2bf4da1))
* add login ([1c2cbc5](jaenjs/jaen@1c2cbc5))
* compile plugins as es6 ([5473ed0](jaenjs/jaen@5473ed0))
* jaenImage uses GatsbyImage now ([a28b99e](jaenjs/jaen@a28b99e))
* move exit button from header to footer ([d9d82a2](jaenjs/jaen@d9d82a2))
* send publish request on button press ([75d5cfc](jaenjs/jaen@75d5cfc))

### Performance Improvements

* use dynamic imports to reduce the bundle size ([712dfe3](jaenjs/jaen@712dfe3))

### BREAKING CHANGES

* **packages:** The jaen-pages and jaen-shared-ui package are now included in jaen.
Also jaen is no longer installable as `@snek-at/jaen` but `@jaenjs/jaen`.
* **release:** Update to v2.0.0

* fix(files): render snekFinder even without initBackendLink

This change updates the rendering behaviour of the SnekFinder.
Before the loading state of the SnekFinder was always true, unless
a initBackendLink was set. Due to this, the rendering of the SnekFinder
failed for all applications that did not set the initBackendLink through
`jaen-pages.json` or cache.

Now the loading state is set to false regardless of the initBackendLink.
Without the initBackendLink,
```js
localStorage.removeItem('snek-finder-osg-backend-root')
```
is called to remove the cached snekFinder data.

* fix(indexfield): rerender when page data changes (e.g. new childs)

This change enables rerender of the IndexField through using the `usePage`
hook instead of `useResolvedPage`. The former subscribes to the redux
store in contrast to `useResolvePage`.

In addition, the `usePage` hook has been refactored to reduce duplicate
code.

* feat(basepage): add `id` to BasePageType

This changes includes the pageId in the base page of a node.
Therby the pageId can now be accessed within the page object.

This makes it possible for the `IndexField` to include fields within the
page children.

Example:

```js
 <fields.IndexField
    onRender={page => (
    <>
        {page.children.map(e => (
            <fields.TextField fieldName="test"
                              initValue="test"
                              pageId={e.page.id}
            />
        ))}
    </>
    )}
/>
```

* fix(indexfield): addition to 24b5276

* style(imports): remove unused imports

* chore(package.json): reorder dependencies

* feat(indexfield): add page creation with renderers

This change introduces the possibility to create a page through the
`IndexField`. This is useful for creating pages quickly and easily from
the index without having to open the `MainUI` and create a page within
the `PageExplorer`.

This concept features two new ways to create a page:
1. Use the `addPage` method of the `IndexField`.
2. Use the `defaultPopover` of the `IndexField`, that renders a so called
`renderer`.

Renderer:
Functions that accept `IndexRenderArgs` are called `renderers`. Those are
used to provide prebuild callback functions for the props `onRender` and
`onRenderPopver`.
The concept of renderes will also apply for other fields in the future.

* chore(yarn.lock): update lockfile

* fix(pageexplorer): fix ContextMenu pos in PageTree

Due to a bug in the PageExplorer, the context menu is not displayed in
the correct position in some circumstances. This is a fix for that.

Reproduce the bug:
1. open a page (not in the PageExplorer)
2. scroll down
3. open MainUI and PageExplorer
4. right-click on the page
5. see no context menu :-(

* feat(pageexplorer): update last publish date

Format the `lastPublish` timestamp to a human readable format.
Also, if the `lastPublish` timestamp is not available,
then `unpublished` is used.

* chore(release): 1.1.0 [skip ci]

# [my-gatsby-site-v1.1.0](jaenjs/jaen@my-gatsby-site-v1.0.0...my-gatsby-site-v1.1.0) (2021-12-03)

### Features

* **basepage:** add `id` to BasePageType ([4741544](jaenjs/jaen@4741544))
* **indexfield:** add page creation with renderers ([329c3b0](jaenjs/jaen@329c3b0))

* chore(release): 2.1.0 [skip ci]

# [@jaenjs/jaen-v2.1.0](https://github.com/jaenjs/jaen/compare/@jaenjs/jaen-v2.0.0...@jaenjs/jaen-v2.1.0) (2021-12-03)

### Bug Fixes

* **files:** render snekFinder even without initBackendLink ([6517d31](jaenjs/jaen@6517d31))
* **indexfield:** addition to 24b5276 ([3781ac0](jaenjs/jaen@3781ac0))
* **indexfield:** rerender when page data changes (e.g. new childs) ([24b5276](jaenjs/jaen@24b5276))
* **pageexplorer:** fix ContextMenu pos in PageTree ([3c4a638](jaenjs/jaen@3c4a638))

### Features

* **basepage:** add `id` to BasePageType ([4741544](jaenjs/jaen@4741544))
* **indexfield:** add page creation with renderers ([329c3b0](jaenjs/jaen@329c3b0))
* **pageexplorer:** update last publish date ([27feb97](jaenjs/jaen@27feb97))

* fix: update links to new organisation

Changes the old `snek-at/jaen` links to `jaenjs/jaen`

* chore(release): 2.1.1 [skip ci]

# [@jaenjs/jaen-v2.1.1](https://github.com/jaenjs/jaen/compare/@jaenjs/jaen-v2.1.0...@jaenjs/jaen-v2.1.1) (2021-12-04)

### Bug Fixes

* update links to new organisation ([c3cb936](jaenjs/jaen@c3cb936))

* save

* docs

* save

* save

* sectionfield

* storybook stuff etc

* section delete

* connectField: add fieldType to datastructure

* add page creator

* dashboard and pagecreator

* update forms

* improve container structure

* improve dashboard

* basic dynamic paging

* refactor pages slice

* make fields work with dynamic pages

* add deep equal selector

* dynamic paging

* update dpaths

* changes

* handle relative paths

* update project structure

* move structure

* publish and alert dialog

* enable publish button

* set default tab

* save

* update storybook

* editing mode

* save

* add updatemodal for imagefield

* basic imaefield

* add snekfinder

* add jaenFiles to gatsby gql

* update jaenimage and add story

* update imports

* finder changes

* add cool stuff

* register toolbar buttons and more

* add site context and fix routing

* add basic templating via source file

* fix: buggy react-icons version

* asd

* not ready: template loading

* reworking templating

* rework templating

* fix routing

* fix templating and add root templates

* remove alert

* persist redux

* remove console logs

* move theme, update chakraui provider, update ssr

* fix editor state bug

* remove 'othername' backup

* update paths and fix image field ssr

* update path remove console log

* add editbuttongroup to field stories

* add reference to tsconfig

* update fragments

* remove JaenPage / exclusion form static data

* updae jaenprovder to accept only one prop

* add basic indexfield

* add jaenPageId to indexfield

* add choicefield

* add excludeFromIndex

* fix wrong sidebar selection

* add isEditing to sectionfield

* add styling and as props to sectionfield

* add chakra theme to storybook

* fix sectionfield popover error

* save

* sectionfield: add option to add diffrent sections

* sectionfield: make popover controlled

* change color

* update pages

* add notification service

* remove tsconfig

* update notify plugin

* update cookiemodal

* add name to notify connector

* add textfield to notificaitons

* update notifications

* add publishing cli

* try add cli

* fix publishing.. partially

* save

* fix publising

* fix publishign

* save

* add sourcing for jaen pages

* migration update mergign

* add jaen-data

* fix ids

* fix

* fix page tree

* add path to static pages

* add notification tab

* wrapp tabs

* update pages null seleciton

* update ui

* add admin login and jaen toggle button

* add admin login page

* add login ui and apis

* add publish api

* add settings

* add internal jaen-data

* move example project

* save

* feat: add notification popup

* fix: jaen update only for jaen:admin

* chore: update hast-util-sanitize dependency to version 5.0.1

* feat(jaen-fields-mdx): Add support for TabsTemplate component

The code changes introduce support for a new `TabsTemplate` component in the `jaen-fields-mdx` package. This allows users to customize the appearance and behavior of the tabs in the editor.

* chore: remove console logs

* fix: useJaenPageIndex handle deleted child pages

Added handling of deleted child pages in useJaenPageIndex function.

* chore: bump jaen-fields-mdx version to 1.0.0-rc.20

* feat(jaen): add link and unlink functionality to TextField component

* feat: update usePage hook to support media injection

This also fixes a issue where child pages do not include dynamic data.

* feat: add default author to blog posts if not provided

This commit adds a default author to blog posts if the author is not provided. The default author is set to the user's nickname, name, or email from the authentication profile. This ensures that all blog posts have an author associated with them.

* chore: update gatsby-plugin-jaen and jaen package versions

This commit updates the versions of gatsby-plugin-jaen and jaen packages to 1.0.0-rc.103 and 1.0.0-rc.88 respectively.

* fix(jaen-frame): key issue in NavigationGroups

* chore: remove unused imports

* fix(jaen-frame): sort navigation group items correctly

* refactor: set AuthenticationProvider as first provider

* fix: update TextField component to allow additional HTML tags and attributes

This commit updates the TextField component in the jaen package to allow additional HTML tags and attributes when sanitizing rich text.
After this change the default configuration is no longer overwritten but extended.

* fix(jaen/usePage): add missing null check for mediaPage

This commit updates the usePage hook in the jaen package to include media nodes in the page object. This ensures that the media nodes associated with a page are properly retrieved and filtered.

* chore: update jaen package version to 1.0.0-rc.90

* chore: update gatsby-plugin-jaen version

* fix(jaen): add default props to usePage hook

* feat: add createdBy to JaenPage

* remove atsnek prefix form packages and imports

* chore: update versions

* chore(gatsby-jaen-resource): make package private

* chore: prepare for publish

* ci: update release.yml

* fix: build index for dist

* feat: add file upload functionality to TextField component

* refactor: optimize TuneSelectorButton rendering in TextField component

* save

* update to latest jaen

* Revert "feat: add lens compatibility with jaen and ZITADEL"

* feat: add lens compatibility with jaen and ZITADEL

* fix: module export

* fix: adjust media choose button size

* feat: add media selection functionality to MediaPreview component

* ci: add beta branch to release workflow

* fix: make media choose button in MediaPreview component variant solid

* fix: update parentPage's childPages duplicate issue on page update

---------

Co-authored-by: Nico Schett <[email protected]>
Co-authored-by: semantic-release-bot <[email protected]>
Co-authored-by: Nico Schett <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants