Commit Graph

196 Commits

Author SHA1 Message Date
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
237bdaf89c Extract common code 2020-06-10 11:37:22 +02:00
René Pfeuffer
d909ff4ae4 Add marker for expansion hunks 2020-06-10 11:37:22 +02:00
René Pfeuffer
fde26cd8b7 Create new hunks instead of expanding the existing ones
This is necessary to distinguish between "real" diff lines and those
created due to expansion.
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
f48ee91776 Fix types 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
e7f03378a4 Fix line number calculation for patch 2020-06-10 11:37:21 +02:00
René Pfeuffer
5bf624d087 Simplify test data 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
Sebastian Sdorra
acc3306450 rename trailer to contributor 2020-06-10 11:08:11 +02:00
Sebastian Sdorra
53fc01b0ba move Person type to ui-types 2020-06-10 10:02:49 +02:00
Sebastian Sdorra
324c23e509 create separate component for ContributorAvatar 2020-06-10 09:35:34 +02:00
Sebastian Sdorra
23b0ea27df added component for comma separated lists 2020-06-10 08:11:48 +02:00
Sebastian Sdorra
24c39faedd improve avatar spacing 2020-06-09 16:38:20 +02:00
Sebastian Sdorra
27db6c5b4a hide contributor table behind toggle 2020-06-09 16:13:05 +02:00
Sebastian Sdorra
4890d5528f show author always as text 2020-06-09 14:47:47 +02:00
Sebastian Sdorra
9174b89e8f added avatar support 2020-06-09 14:11:15 +02:00
Sebastian Sdorra
d61a60e1cd improve display of committer and co-authors in changeset overview 2020-06-09 11:41:03 +02:00
René Pfeuffer
4d072675ad Compute trailers in changeset pre processing
Doing so, the trailers are available for other plugins inspecting
changesets, not only for the frontend.
2020-06-08 08:57:54 +02:00
Eduard Heimbuch
ec57aa88fa add co-authors if available to changeset view
refactor ChangesetAuthor.tsx

get interfaces right / fix unit test / cleanup

fix table layout

use Set constructor injection to bind the implementation for the new changesetTrailers API

cleanup / update CHANGELOG.md

cleanup

fix formatting
2020-06-08 08:57:53 +02:00
Andrzej Polit
a712c89f6a Added co-author to changeset 2020-06-08 08:57:53 +02:00
Eduard Heimbuch
abcbc6beac add some missing stories for ui-components 2020-05-06 15:58:00 +02:00
Florian Scholdei
7d4135d0ec Ensure same monospace font throughout whole scmm 2020-04-03 11:11:59 +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
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
0c7aebb1ef fixed storyshot test which renders a DateFromNow without baseDate 2020-03-27 12:17:20 +01:00
Sebastian Sdorra
2438e980a7 improve RepositoryEntry story 2020-03-26 10:16:26 +01:00
Eduard Heimbuch
3a2aa7a55c add stories for RepositoryEntry 2020-03-25 14:10:22 +01:00
Eduard Heimbuch
16c89f4b9f Merge branch 'develop' of github.com:scm-manager/scm-manager into feature/favourite_repository 2020-03-25 10:28:58 +01:00
Eduard Heimbuch
6fb762b52f move repository components from ui-webapp to ui-components // add font-awesome regular icons 2020-03-25 10:27:38 +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
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