Mohamed Akram
ac9e2ce706
Remove redundant HTML classes
2021-05-29 02:08:47 +04:00
Pierric Cistac
a4e619efa4
feature: new diffMaxLineLength
...
Mark a file diff as too big if diff line length > threshold
2021-03-11 18:10:14 -05:00
Pierric Cistac
a65a3b9562
update tests
2021-03-01 16:05:12 -05:00
Pierric Cistac
5915ecdaa1
feature: display message instead of diff if isTooBig is true
...
A default `Diff too big to be displayed` message is rendered for any file diff where `isTooBig` is `true`.
A new `diffTooBigMessage` option in render config allows to fully customize the message and receives the file index in the diff as an argument. It can be used to render a link to the raw file diff for example.
2021-02-25 14:08:18 -05:00
Pierric Cistac
ea9c1fee48
feature: new diffMaxChanges in parser config
...
If `diffMaxChanges` is set in parser config, and its value is exceeded for a given file diff, then parsing for this file is stopped, and `isTooBig` is set to `true` in the `DiffFile`
2021-02-25 14:02:43 -05:00
Rafael Cortês
316803df77
feature: Hide viewed files
2021-01-23 15:07:14 +00:00
Rodrigo Fernandes
a61c7cfd43
fix: Enforce escape for lines that are not highlighted
2020-07-26 13:56:26 +01:00
campersau
406be9f02a
escape diff headers for html
2020-06-27 20:11:28 +02:00
Rodrigo Fernandes
05c774139a
fix: Skip selection of structural lines in side diff
2020-02-09 19:06:44 +00:00
Rodrigo Fernandes
7be6ef0f4d
fix: Allow selection of empty lines
2020-02-09 17:07:22 +00:00
Rodrigo Fernandes
8b5111f8de
clean: Improve diff2html-ui APIs for standalone usage
2020-01-08 22:40:46 +00:00
Rodrigo Fernandes
dc9c866041
clean: Improve build configurations
2020-01-01 19:51:36 +00:00
Rodrigo Fernandes
c3c5f60c0d
test: Use Jest snapshots
2019-12-22 19:52:51 +00:00
Rodrigo Fernandes
8f1208eb01
refactor: Unify line-by-line and side-by-side
2019-12-22 18:35:05 +00:00
Rodrigo Fernandes
5c35de28eb
refactor: Separate matching in side-by-side algorithm
2019-12-22 18:04:52 +00:00
Rodrigo Fernandes
d8e0a99070
refactor: Separate matching in line-by-line algorithm
2019-12-22 18:01:01 +00:00
Rodrigo Fernandes
0f08c85938
refactor: Unify escaping
2019-12-22 18:00:57 +00:00
Rodrigo Fernandes
f8f5c10c57
refactor: Generators 1
2019-12-22 18:00:55 +00:00
Rodrigo Fernandes
ef1ccb093e
refactor: Use lambda functions for map instead of anonymous functions
2019-12-22 18:00:53 +00:00
Rodrigo Fernandes
7b1727dc74
refactor: Refactor build to use webpack
2019-12-22 18:00:52 +00:00
Rodrigo Fernandes
4200bd7a3b
refactor: Move types and use enums
2019-12-22 18:00:50 +00:00
Rodrigo Fernandes
f72ee2ea46
wip: tweaks to website
2019-12-22 18:00:48 +00:00
Rodrigo Fernandes
4f607633dd
wip: Code and Tests working
2019-12-22 18:00:45 +00:00
Rodrigo Fernandes
a8b9b2b49a
refactor: Initial migration to typescript
2019-12-22 17:58:43 +00:00