Commit Graph

14 Commits

Author SHA1 Message Date
Sebastian Sdorra
e5ebb78146 Fixed missing update if content of diff changes (#1714)
* Fixed missing update if content of diff changes

* Add property to disable automatic refetch in diffs

Co-authored-by: René Pfeuffer <rene.pfeuffer@cloudogu.com>
2021-06-30 16:36:26 +02:00
René Pfeuffer
84c8e02bf1 Feature Partial Diff (#1581)
With this pull request, diffs for Git are loaded in chunks. This means, that for diffs with a lot of files only a part of them are loaded. In the UI a button will be displayed to load more. In the REST API, the number of files can be specified. This only works for diffs, that are delivered as "parsed" diffs. Currently, this is only available for Git.

Co-authored-by: Sebastian Sdorra <sebastian.sdorra@cloudogu.com>
2021-03-12 13:52:17 +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
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
Rene Pfeuffer
bcba3e28cd Move redundant prop to type 2020-02-07 15:10:54 +01:00
Rene Pfeuffer
d3d33d5d65 Change case of file name 2020-02-07 14:57:36 +01:00
Rene Pfeuffer
22943eac9a Add option to use a function for default collapse state 2020-02-07 14:27:21 +01:00
Sebastian Sdorra
fe8e4db10b added diff endpoint which returns a parsed diff as json 2020-01-22 15:49:50 +01:00
Sebastian Sdorra
cc26ffcaa8 upgrade react-diff-view to v2.4.1 2020-01-06 15:59:16 +01:00
Eduard Heimbuch
dc6d9cc5eb return revision on merge 2019-12-18 11:03:07 +01:00
Eduard Heimbuch
5de7d5df94 show notification if diff is empty 2019-11-20 13:40:40 +01:00
Sebastian Sdorra
f7b7e0321e added shared tsconfig package 2019-10-21 14:10:48 +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