Commit Graph

19 Commits

Author SHA1 Message Date
Konstantin Schaper
e66553705f Create api for markdown ast plugins (#1578)
Currently we only have the option to adjust rendering of the markdown output, but no option to change the generated ast tree before rendering takes place (i.e. to adjust the structure like when replacing text with links). This PR adds a new api to create ast plugins that can be integrated with the markdown view component. This is intended to be backwards-compatible and work independently from the underlying implementation.

Co-authored-by: Sebastian Sdorra <sebastian.sdorra@cloudogu.com>
2021-03-11 10:28:18 +01:00
Konstantin Schaper
3a8d031ed5 Introduce stale while revalidate pattern (#1555)
This Improves the frontend performance with stale while
revalidate pattern.

There are noticeable performance problems in the frontend that
needed addressing. While implementing the stale-while-revalidate
pattern to display cached responses while re-fetching up-to-date
data in the background, in the same vein we used the opportunity
to remove legacy code involving redux as much as possible,
cleaned up many components and converted them to functional
react components.

Co-authored-by: Sebastian Sdorra <sebastian.sdorra@cloudogu.com>
Co-authored-by: Eduard Heimbuch <eduard.heimbuch@cloudogu.com>
2021-02-24 08:17:40 +01:00
Sebastian Sdorra
5f30cf8f30 Fix css conflicts on diff syntaxhighlighting by using a css module 2020-10-23 13:52:10 +02:00
Konstantin Schaper
b4c5f49858 Bugfix/link not found (#1296)
Redirect to login page if anonymous tries to access a page without permission

Co-authored-by: Eduard Heimbuch <eduard.heimbuch@cloudogu.com>
Co-authored-by: Sebastian Sdorra <sebastian.sdorra@cloudogu.com>
2020-08-27 13:20:43 +02:00
Sebastian Sdorra
23f4c3cba9 move router decorator into stories
This makes it possible to define other routes that "/" inside each story.
2020-03-30 15:01:51 +02:00
Sebastian Sdorra
b377cf141e remove debug output 2020-03-24 09:34:42 +01:00
Sebastian Sdorra
620e47c82b use fetch backend only for storybook and not for storyshots 2020-03-24 09:32:04 +01:00
Sebastian Sdorra
f6a5e269ac translate i18n keys in storybook 2020-03-24 08:56:29 +01:00
Florian Scholdei
f1b34eb502 Changeover to MIT license (#1066)
* prepare license-maven-plugin for license migration
* added license mapping for tsx files and added some more excludes
* Changeover to MIT license
* Fix build problems
* Delete old remaining licenses
* Add more exclude path for license checker
* Rename included netbeans license, add exclude .m2/repository/
* Specify .m2 exclude because not only repository/, also wrapper/ must match
* Add .cache/ exclude for license check
* Modify formatting of license in java classes to comply with convention and IDE
* Add IntelliJ documentation for license configuration
* Update CHANGELOG.md
* Exclude tmp/workspace/ dir for license check
* Edit README.md

Co-authored-by: Sebastian Sdorra <sebastian.sdorra@cloudogu.com>
2020-03-23 15:35:58 +01:00
Sebastian Sdorra
2dec396dff use worker plugin for storybook webworker integration 2020-01-27 14:05:36 +01:00
Sebastian Sdorra
fd15c68ca0 allow syntax highlighting in diffs 2020-01-22 12:08:28 +01:00
Sebastian Sdorra
8410aa68c6 added storybook stories for diff 2019-12-19 09:51:44 +01:00
Sebastian Sdorra
8b69e0b88d fixed storyshots 2019-10-24 13:17:33 +02:00
Sebastian Sdorra
f49e17a3a7 migrate ui-components from flow to typescript 2019-10-20 16:59:02 +02:00
Sebastian Sdorra
6e7a08a3bb use reflow to migrate from flow to typescript 2019-10-19 16:38:07 +02:00
Sebastian Sdorra
7507963b85 fix ui-extension import problems in stories 2019-10-17 13:57:44 +02:00
Sebastian Sdorra
cbc896d47e added some stories to the storybook 2019-10-17 12:07:20 +02:00
Florian Scholdei
a91295de14 Change paths to new ui-styles directory 2019-10-10 10:46:09 +02:00
Sebastian Sdorra
f78fb968ad added storybook to ui-components 2019-10-09 16:52:18 +02:00