Commit Graph

59 Commits

Author SHA1 Message Date
Florian Scholdei
ce56ec02d8 Add fullscreen option to diff view 2020-10-15 00:23:15 +02:00
Sebastian Sdorra
95dde51bba Move escapeWhitespace to diffs and add small test 2020-09-02 07:40:52 +02:00
Konstantin Schaper
8f3c0dce1e initial implementation 2020-08-21 18:27:48 +02:00
Eduard Heimbuch
e9edd5ad8f fix formatting with prettier 2020-08-12 12:53:59 +02:00
Konstantin Schaper
c9ccaed61d fix source buttons not displaying for file renaming 2020-08-11 10:09:28 +02:00
Konstantin Schaper
c69ab4ea65 refactor to use file control factory 2020-08-10 20:48:08 +02:00
Konstantin Schaper
87f3d78148 adjust displayed links depending on type of change 2020-08-10 11:50:56 +02:00
Florian Scholdei
cef36d2763 Add missing prop 2020-07-28 12:53:47 +02:00
Florian Scholdei
d462addbf1 Check if baseUrl is missing, update storyshots 2020-07-28 12:36:21 +02:00
Florian Scholdei
e8d140173a Replace relative path with absolute 2020-07-28 12:03:41 +02:00
Florian Scholdei
f62e8d076d Add JumpToFileButton, pass changesetId for creating link 2020-07-23 16:55:20 +02:00
Florian Scholdei
127a335b8f Add link to file in diff-view 2020-07-21 19:29:30 +02:00
René Pfeuffer
e6deecca17 Add divider for not parsed hunks 2020-06-10 14:00:45 +02:00
René Pfeuffer
86282e570f Fix layout and pointer hand for expand link 2020-06-10 14:00:45 +02:00
René Pfeuffer
56a6792826 Fix angle 2020-06-10 14:00:45 +02:00
René Pfeuffer
e28107aded Remove redundant translations 2020-06-10 14:00:45 +02:00
René Pfeuffer
cb37e7b069 Add german translation 2020-06-10 14:00:45 +02:00
René Pfeuffer
f6916fc7e1 Use font awesome angles 2020-06-10 14:00:45 +02:00
René Pfeuffer
35c78b7ad9 Handle errors and show loading state 2020-06-10 14:00:45 +02:00
René Pfeuffer
2ca15316fd Prepare error handling for expansion 2020-06-10 14:00:45 +02:00
René Pfeuffer
850df6a641 Use promise instead of callback 2020-06-10 14:00:45 +02:00
René Pfeuffer
5b35328e42 Allow hunk specific class names 2020-06-10 11:37:22 +02:00
René Pfeuffer
586d9ac0d3 Remove log 2020-06-10 11:37:22 +02:00
René Pfeuffer
4b54597e26 Fix expanding diffs without 'normal' line at the end 2020-06-10 11:37:21 +02:00
René Pfeuffer
751a2bfa9b Implement option to load rest of files completely 2020-06-10 11:37:21 +02:00
René Pfeuffer
b86c025b37 Remove expand marker at bottom when fully expanded 2020-06-10 11:37:21 +02:00
René Pfeuffer
8c1d463e09 Give two options for diff expansion (some or all lines) 2020-06-10 11:37:21 +02:00
René Pfeuffer
ebfc267b93 Patch hunks with new lines 2020-06-10 11:37:21 +02:00
René Pfeuffer
2efd21d466 Handle added and deleted files correctly 2020-06-10 11:37:21 +02:00
René Pfeuffer
abca9e9746 Show number of lines that can be expanded 2020-06-10 11:37:21 +02:00
René Pfeuffer
99b7b92fbe Introduce expandable diffs 2020-06-10 11:37:21 +02:00
Eduard Heimbuch
fd94746a98 reformat components with prettier 2020-03-31 17:11:16 +02:00
Sebastian Sdorra
13633fb57e un collapse menu on each interaction with it 2020-03-31 11:00: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
Eduard Heimbuch
d4a3d52f04 fix collapsed navLinks for plugins after collapse menu with diff side-by-side button 2020-03-10 16:48:41 +01:00
Eduard Heimbuch
e110033e3b fix review findings 2020-03-02 14:13:51 +01:00
Eduard Heimbuch
d15ef12c1c refactoring 2020-02-28 15:36:25 +01:00
Eduard Heimbuch
4df33fcc73 fix styling 2020-02-28 14:58:56 +01:00
Eduard Heimbuch
2d038327d0 fix re-render bug for changesets 2020-02-28 13:15:27 +01:00
Rene Pfeuffer
0a2253753f Fix collapse all button 2020-02-13 15:08:17 +01:00
Sebastian Sdorra
73de95efc7 Use tooltip instead of title and added aria label to DiffButton 2020-02-11 08:35:55 +01:00
Sebastian Sdorra
78e31f690a Use icon only button for diff file controls 2020-02-10 15:33:32 +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
fd15c68ca0 allow syntax highlighting in diffs 2020-01-22 12:08:28 +01:00
Rene Pfeuffer
ac3821ad6d Hide 'side by side' button when there is no diff 2020-01-16 13:05:44 +01:00
Rene Pfeuffer
dd3949b817 Hide toggle when there are no hunks to display 2020-01-10 13:54:04 +01:00
Rene Pfeuffer
71b9567437 Fix reduce error with empty diff 2020-01-08 16:35:46 +01:00
Rene Pfeuffer
8bdd4cf319 Make conflict marking optional 2020-01-08 13:45:18 +01:00