Commit Graph

93 Commits

Author SHA1 Message Date
Konstantin Schaper
311528fd45 Add permalink button to markdown headings (#1564)
* add permalink button to markdown headings
2021-03-03 09:52: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
Florian Scholdei
57c9484d41 Enrich styleguide with new features, rules and changes
The styleguide for usage of visual elements has not been updated for a long time. In the course of this story it should be adapted to the current standards and rules. In addition, heavy violations were rectified directly.
2021-01-28 12:46:42 +01:00
Florian Scholdei
c579de108f Option to create a permanent link to a source file
Adds a new button next to the breadcrumbs in the source view that allows users to create a permanent link to the active path (file or folder).
2021-01-07 10:15:50 +01:00
Konstantin Schaper
fed16f296a support permalinks to lines in source code view (#1472)
This features adjusts the syntax checker to render a little link icon next to a hovered line. When clicked,
a permanent link to this line is created and copied to the user's clipboard. When visiting the link,
the focused row is highlighted.

Co-authored-by: Eduard Heimbuch <eduard.heimbuch@cloudogu.com>
2020-12-14 09:15:18 +01:00
Florian Scholdei
e141e33aa3 Clarify prop usage by renaming in more self-evident name 2020-10-21 12:23:58 +02:00
Florian Scholdei
6024d8c3e1 Unify title usage within an area 2020-10-21 10:47:05 +02:00
Florian Scholdei
27d4b0a755 Fix review findings 2020-10-20 10:18:44 +02:00
Florian Scholdei
c366203d1f New Fullscreen component 2020-10-14 22:48:10 +02:00
Florian Scholdei
a2f1c88bfd Add explanatory text in logic part, rename some variables 2020-10-07 20:33:09 +02:00
Florian Scholdei
6baf759df9 Move FileLink.test.ts 2020-10-06 10:27:50 +02:00
Florian Scholdei
68a6d09c14 Clarify meaning of icons by adding title in sources view 2020-10-05 15:57:41 +02: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
4874966305 Change icon for subRepository 2020-10-05 15:27:24 +02:00
Florian Scholdei
362a5447d1 Add external link for git submodule with absolute urls 2020-10-01 15:52:07 +02:00
Florian Scholdei
9f0ff33f46 Fix handling of slashes in branches in 'offset loading'-case 2020-09-21 12:05:07 +02:00
Sebastian Sdorra
716c7c5083 Fix detection of markdown files for files having content does not start with '#' 2020-08-27 08:11:23 +02:00
René Pfeuffer
3e0638f852 Fix imports 2020-07-01 18:02:32 +02:00
Eduard Heimbuch
37bad5fd95 fix race condition in annotate view 2020-06-17 11:44:21 +02:00
Sebastian Sdorra
9353972da2 fixed wrong type import 2020-06-17 10:47:28 +02:00
René Pfeuffer
92d7b7703a Add "annotations" button to sources view 2020-06-12 17:27:32 +02:00
Sebastian Sdorra
ffd04eb55b added basePath to markdown components in order to allow navigation between md files 2020-05-19 15:52:11 +02:00
Eduard Heimbuch
6c6d6c1272 reformat components with prettier 2020-03-31 17:15:09 +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
5a3bb52b72 Fix update of sources
An Update of sources must not set the hunk count.
2020-03-10 09:28:03 +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
c0e0ed3d17 Fix tests 2020-02-25 17:34:41 +01:00
Rene Pfeuffer
a8694eb668 Fix offset for svn repositories 2020-02-21 11:50:04 +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
b8fb08a500 decode branch/revision in content detailsView 2020-01-17 08:12:37 +01:00
Eduard Heimbuch
4d1e5f0e50 fix markdown toggle button z index 2020-01-16 11:42:01 +01:00
Eduard Heimbuch
db1d89792e refactor markdownviewer // fix padding 2020-01-16 10:00:44 +01:00
Eduard Heimbuch
b5e78f46be add title translation 2020-01-15 21:11:47 +01:00
Eduard Heimbuch
75a94e2509 import markdown icon // fix toggle button size and position 2020-01-15 20:55:09 +01:00
Eduard Heimbuch
584f65c349 render markdown files in sourcesView 2020-01-15 20:29:18 +01:00
Sebastian Sdorra
74ad7ad50d fix switching from svn source with selected revision to commits view 2020-01-15 14:43:07 +01:00
Sebastian Sdorra
c85e37c665 fixed small review findings 2020-01-15 10:49:01 +01:00
Eduard Heimbuch
bafa25f025 reload historyView on branch switch // cleanup Sources 2020-01-15 10:04:30 +01:00
Eduard Heimbuch
5c654b433b replace current history entry on redirect to default branch instead of pushing a new history entry 2020-01-15 08:55:15 +01:00
Eduard Heimbuch
bee0b68f37 cleanup fetch content in sourcesView 2020-01-15 08:25:59 +01:00
Eduard Heimbuch
3f518c501a fix fetch content multiple times for same file 2020-01-15 08:01:12 +01:00
Eduard Heimbuch
0888006a74 refactor code section 2020-01-14 18:07:57 +01:00