Skip to content

@nordeck/matrix-neoboard-widget@2.0.0

Latest
Compare
Choose a tag to compare
@nordeck-os-publish-pipeline nordeck-os-publish-pipeline released this 06 Dec 17:08
· 14 commits to main since this release
1f78a30

Highlights

NeoBoard Widget v2.0.0 is a major version update due to some significant tooling changes. Still, it has several new user-facing features. We picked these highlights for you:

  • Custom font sizes for text shapes
  • Support for inserting or importing a PDF
  • Monitoring the user's online state
  • Updated tooling and build process
  • Support for IPv4-only deployments
  • Optimisations and bug fixes

Custom font sizes for text shapes

The font size in text shapes can now be set to a specific size. We offer a list of recommended values but you can always use the auto sizing, which adjusts the font size to the dimensions of the shape.

image

Support for inserting or importing a PDF

We extended the "Import" and "Insert here..." feature to also support PDF files, alongside the native .nwb format. Doing this will render each PDF page as an image in a new slide.

Bildschirmaufnahme_20241206_172347.webm

Monitoring the user's online state

We added a snackbar to the board that provides troubleshooting information when there are issues saving your data.

The widget monitors your network connection status to determine if you’re online, making it clear that content changes to the board or updates from collaborators cannot sync while you’re offline.

It also looks out for rate-limiting scenarios and provide context-aware information when it is possible.

image-offline

Updated tooling and build process

In this release, we migrated away from Facebook's Create React App (CRA) framework in favour of the new and actively maintained Vite framework. We also swapped out our testing framework from jest to the Vite-native Vitest.

This is modernizing the build process and improving security, but requiring updates to build scripts, configurations, and imports due to the switch to ECMAScript modules (ESM).

Support for IPv4-only deployments

It is now possible to deploy the widget container on hosts without IPv6 support through a configuration option. This can be toggled easily through our Helm charts.

Beyond that, the container image also gained the ability to also add your own files with custom config that will be added to the nginx server block config, should you need that.

Read more about both in our documentation.

Optimisations and bug fixes

As usual, we try to improve existing features and fix bugs whenever we can. Check out the changelog below for a more detailed report of what has changed.

Major Changes

  • d1aa5b7: Migrate neoboard to vitejs + vitest

    We replaced react-scripts with vitejs and jest with vitest. This change should not affect the functionality of the widget,
    but it allows us to update dependencies and modernize the build process. It also improves the ability to react to security issues in the future.

    However there are changes to the tooling. This will only affect you if you are building the widget yourself and do not use the provided build script.
    This means that you will need to update your build script to use vitejs instead of react-scripts. Additionally, if you had custom changes to the configurations you will have to update them to the vitejs equivalent.

    Finally, the package is now an ECMAScript module (ESM). This means that you might have to update your imports if you consumed the package directly.

Minor Changes

  • c068495: The font size can now be set absolutely. Automatic font sizes are still available.
  • 4153d8d: Enhanced the Developer Tools by moving them into a more user-friendly and accessible dialog, improving usability.
  • fd631c6: Transparent is now the last colour in the picker, so that the order of colours is the same for shapes and other elements.
  • 95dc0a4: Adds PDF import as images in slides
  • 5535a20: Hide about menu item if the widget is embedded
  • 58b4768: New widget-server base image that supports IPv4-only deployments
  • 60c3602: The grid size changed from 40 to 20 px
  • 14f9a15: NeoBoard now monitors the browser's online state and displays a notification if offline

Patch Changes

  • cff43fe: Improve german language
  • 6e6fbe7: NeoBoard now more reliably uses the TURN server provided by the Matrix server configuration.
  • 0456eed: Bump matrix-widget-toolkit/mui to 2.1.0
  • b62299c: An error was fixed, that caused arrow heads sometimes not appear on the first slide
  • 79ea35f: Add Border to the color picker icon
  • a4e9a8b: Change rounded corner rectangle element position in the toolbar.
  • Updated dependencies [cff43fe]
  • Updated dependencies [c068495]
  • Updated dependencies [6e6fbe7]
  • Updated dependencies [0456eed]
  • Updated dependencies [b62299c]
  • Updated dependencies [db08392]
  • Updated dependencies [4153d8d]
  • Updated dependencies [fd631c6]
  • Updated dependencies [9eed0b8]
  • Updated dependencies [d1aa5b7]
  • Updated dependencies [95dc0a4]
  • Updated dependencies [35d0fee]
  • Updated dependencies [a4e9a8b]
  • Updated dependencies [60c3602]
  • Updated dependencies [14f9a15]
    • @nordeck/matrix-neoboard-react-sdk@1.0.0