Commit Graph

3079 Commits

Author SHA1 Message Date
Sebastian Sdorra
385c054832 Update scm-ui/ui-webapp/public/locales/de/repos.json
Co-authored-by: René Pfeuffer <rene.pfeuffer@cloudogu.com>
2020-06-11 08:02:57 +02:00
René Pfeuffer
4bbc06f30c Fix type check error 2020-06-10 14:00:45 +02:00
René Pfeuffer
0a03d4c136 Fix import 2020-06-10 14:00:45 +02:00
René Pfeuffer
fc72cb8d5f Add story for expandable diffs 2020-06-10 14:00:45 +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
76ee9467df Fix formatting 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
Sebastian Sdorra
ce2212d41f removed unused import 2020-06-10 13:49:08 +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
a672716299 update storyshots 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
9fd0d8e080 simplify rendering of labels 2020-06-10 11:16:01 +02:00
Sebastian Sdorra
304a477354 merge with develop 2020-06-10 11:13:21 +02:00
Sebastian Sdorra
94515aad6b added snapshots for changeset stories 2020-06-10 11:11:55 +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
452b379a28 improve contributor list in changeset detail view 2020-06-10 09:28:40 +02:00
Sebastian Sdorra
3c40608d4c use text-overflow ellipsis for list of contributors 2020-06-10 08:12:44 +02:00
Sebastian Sdorra
23b0ea27df added component for comma separated lists 2020-06-10 08:11:48 +02:00
Sebastian Sdorra
a2453885b9 added avatar support to contributor table 2020-06-09 16:40:06 +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
a7585b4fc0 Move trailers to own component
We have to use a dedicated component because we have to use the
translations from 'plugins', so that other plugins can contribute their
own trailer types with their own descriptions.
2020-06-08 14:32:06 +02:00
Sebastian Sdorra
435a2ceea6 avoid caching of detected browser language 2020-06-08 11:41:51 +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