Commit Graph

306 Commits

Author SHA1 Message Date
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
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
b0abbbd5a6 avoid code duplication 2020-05-20 12:05:45 +02:00
Sebastian Sdorra
12355f2754 fixed review findings 2020-05-20 11:18:58 +02:00
Sebastian Sdorra
d316cf51c8 update storyshots to reflect changes 2020-05-20 08:41:21 +02:00
Sebastian Sdorra
9f97442d4f normalize paths with ".." and "." in markdown content 2020-05-20 08:39:06 +02:00
Sebastian Sdorra
d1f10ec5a7 rebuild MarkdownLinkRenderer and added real world use cases 2020-05-19 15:51:33 +02:00
Sebastian Sdorra
50e4316886 improve MarkdownLinkRenderer
- render target _blank link for all external http links
- render simple a link for all links with protocol or anchor links
- render local html push link for all internal links
2020-05-19 12:59:02 +02:00
Sebastian Sdorra
a470831bf8 separate ExternalLink from ExternalNavLink 2020-05-19 12:55:41 +02:00
Florian Scholdei
5a11ca7185 Update storyshots 2020-05-15 10:46:42 +02:00
Florian Scholdei
13a8cb4c8f Reorder unit tests 2020-05-15 09:55:51 +02:00
Florian Scholdei
a148d29770 Correct mixing concepts, Link instead of a for internal links, adjust regex 2020-05-15 09:54:20 +02:00
Florian Scholdei
327bde9515 Correct misplacing of path context 2020-05-15 00:40:56 +02:00
Florian Scholdei
9131b5eb2f Add another fragment test case which caused jenkins error 2020-05-14 23:35:14 +02:00
Florian Scholdei
62a87e6234 Resolve markdown links correctly 2020-05-14 12:23:27 +02:00
Eduard Heimbuch
abcbc6beac add some missing stories for ui-components 2020-05-06 15:58:00 +02:00
Florian Scholdei
fd2150628b Update storyshots 2020-04-23 00:18:23 +02:00
Florian Scholdei
15347e23f6 Secondary menu no longer scrolls beyond a certain screen size in order to be able to display all elements 2020-04-23 00:16:56 +02:00
Florian Scholdei
3ab3eb43bd Remove onClick option from Icon.tsx 2020-04-20 00:44:52 +02:00
Florian Scholdei
0a7c847c56 Revise newer storybook stories 2020-04-16 20:57:41 +02:00
Florian Scholdei
7a8b1c0c06 Add iconStyle + onClick option and story shot for icon component 2020-04-16 12:34:28 +02:00
Eduard Heimbuch
9cdec81ec0 make right content in cardcolumn hoverable 2020-04-09 09:33:40 +02:00
Florian Scholdei
825f5fcdb4 Update behavior when optional props are not passed, Consistency towards two CardColumns established 2020-04-08 15:20:35 +02:00