Commit Graph

32 Commits

Author SHA1 Message Date
Konstantin Schaper
4d203ff36f codify extension points docs (#1947)
This pull request converts the current incomplete textual documentation of the available frontend extension points to in-code definitions that act both as documentation and as type helpers for improving overall code quality. All extension points available in the SCM-Manager core are now available, but no plugin was updated and only those parts of the core codebase had the new types added that did not require runtime changes. The only exception to this is the breadcrumbs, which was a simple change that is fully backwards-compatible.
2022-03-29 15:04:14 +02:00
Eduard Heimbuch
289175331f Fix es lint errors and warnings and enforce es lint as build breaker. (#1878)
Co-authored-by: Konstantin Schaper <konstantin.schaper@cloudogu.com>
2021-12-09 09:12:02 +01:00
René Pfeuffer
e1a2d27256 Implement file lock for git (#1838)
Adds a "file lock" command that can be used to mark files as locked by a specific user. This command is implemented for git using a store to keep the locks.

Additionally, the Git LFS locking API is implemented.

To display locks, the scm-manager/scm-file-lock-plugin can be used.

Co-authored-by: Eduard Heimbuch <eduard.heimbuch@cloudogu.com>
2021-11-01 16:54:58 +01:00
Sebastian Sdorra
f5d9855a24 Add extension points for source tree (#1816)
This change will add an extension point which allows to wrap the source tree. This is required in order to use a context provider e.g. to capture a selected file. Another extension point allows to add a row between the row of a file.
In order to implement the extension points ui-extensions has now a wrapper property and passes the children of an extension point to implementing extension.
2021-09-30 16:41:04 +02:00
Sebastian Sdorra
4ec01ff4d1 Fix endless loading spinner for sources of empty repositories (#1565) 2021-03-03 11:00:26 +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
1e410a71a7 Changes behavior for relative (only hover and context) and absolute links (internal vs external) 2020-10-05 15:30:30 +02:00
Florian Scholdei
9f0ff33f46 Fix handling of slashes in branches in 'offset loading'-case 2020-09-21 12:05:07 +02: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
René Pfeuffer
f9122ebb36 Fix import 2020-03-12 11:18:43 +01:00
René Pfeuffer
0927e3e421 Fix error handling 2020-03-09 16:53:17 +01:00
René Pfeuffer
fa889529a2 Only count files in frontend 2020-03-09 09:48:14 +01:00
Rene Pfeuffer
a05c371910 Render truncated info 2020-02-21 11:06:21 +01:00
Rene Pfeuffer
722e38788b Fix update 2020-02-21 09:45:43 +01:00
Rene Pfeuffer
264f6efd04 Fix loading detection 2020-02-21 07:37:55 +01:00
Rene Pfeuffer
c4a801a7be WIP 2020-02-20 14:36:13 +01:00
René Pfeuffer
4bc3d16aa9 WIP 2020-02-19 18:37:09 +01:00
René Pfeuffer
fe1591171d Rename 'proceedFrom' to 'offset' 2020-02-19 09:23:23 +01:00
Rene Pfeuffer
6b3f36e7ea WIP 2020-02-18 17:56:22 +01:00
Eduard Heimbuch
0d546755a9 optimize all imports in ui-webapp and reformat with prettier 2020-01-08 15:57:13 +01:00
Eduard Heimbuch
a43ffacf03 fix a ton of typescript errors 2020-01-08 13:40:07 +01:00
Rene Pfeuffer
cf9d1edb70 Make partial file attributes explicit. 2019-12-18 11:48:17 +01:00
Rene Pfeuffer
0d6dcbd6bd Merge with default 2019-12-17 14:14:34 +01:00
Rene Pfeuffer
f257a8eeb8 Fix formatting 2019-12-17 12:42:05 +01:00
Rene Pfeuffer
c72bcb04c1 Cancel update call is component will be unmounted 2019-12-17 12:14:43 +01:00
René Pfeuffer
4ef97816e0 Trigger update of sources from component
The old trigger in the dispatcher function led to
updates even when the component was no longer mounted
(aka displayed).
2019-12-17 10:25:53 +01:00
Florian Scholdei
5ac88162ce Hide file description also on tablet sizes, force file size to be one line 2019-12-11 23:15:52 +01:00
Sebastian Sdorra
f5fb4fb11a fix sonarqube warning about js array sort 2019-10-30 14:52:46 +01:00
Florian Scholdei
db075974db Migrate react-i18next translate components 2019-10-23 15:47:08 +02:00
Sebastian Sdorra
4bb8e6153b apply eslint and prettier rules 2019-10-21 10:57:56 +02:00
Sebastian Sdorra
490418d06e apply prettier, removed flow related config and added tsconfig 2019-10-20 18:02:52 +02:00
Sebastian Sdorra
6e7a08a3bb use reflow to migrate from flow to typescript 2019-10-19 16:38:07 +02:00