Commit graph

737 commits

Author SHA1 Message Date
Rodrigo Fernandes
be09a43715 fix home page link 2023-01-06 23:37:55 +00:00
Rodrigo Fernandes
d2e3705575
Merge pull request #470 from rtfpessoa/tweak-css
tweak css
2023-01-06 23:33:24 +00:00
Rodrigo Fernandes
d0ead3a14c tweak css 2023-01-06 23:32:58 +00:00
Rodrigo Fernandes
9247496115
Merge pull request #463 from FurcyPin/fpin/462
fix #462: Info lines shrunk in right panel of side-by-side diff
2023-01-06 23:29:07 +00:00
Rodrigo Fernandes
432901db33
Merge pull request #469 from rtfpessoa/test-actions
reorder
2023-01-06 23:24:18 +00:00
Rodrigo Fernandes
838bdf6095 reorder 2023-01-06 23:24:02 +00:00
Rodrigo Fernandes
7d173d5f4c
Merge pull request #468 from rtfpessoa/test-actions
fix env
2023-01-06 23:01:00 +00:00
Rodrigo Fernandes
897447d7d7 fix env 2023-01-06 23:00:41 +00:00
Rodrigo Fernandes
37caf65775
Merge pull request #467 from rtfpessoa/test-actions
Merge pull request #466 from rtfpessoa/test-actions
2023-01-06 22:45:47 +00:00
Rodrigo Fernandes
be4b1d0624 Merge pull request #466 from rtfpessoa/test-actions
fix s3 upload
2023-01-06 22:44:58 +00:00
Rodrigo Fernandes
1cc02ff4e1
Merge pull request #466 from rtfpessoa/test-actions
fix s3 upload
2023-01-06 22:38:28 +00:00
Rodrigo Fernandes
7e37ce307a fix s3 upload 2023-01-06 22:37:33 +00:00
Rodrigo Fernandes
81b0f67107
Merge pull request #465 from rtfpessoa/test-actions
fix s3 upload
2023-01-06 22:18:15 +00:00
Rodrigo Fernandes
51cd7854f9 fix s3 upload 2023-01-06 22:17:52 +00:00
Rodrigo Fernandes
88b06ef3e3
Merge pull request #464 from rtfpessoa/test-actions
Migrate to GitHub Actions
2023-01-06 21:58:30 +00:00
Rodrigo Fernandes
c89192a37f wip 2023-01-06 21:49:15 +00:00
fpin
df005c3f06 fix #462: Info lines shrunk in right panel of side-by-side diff 2023-01-02 16:17:16 +01:00
Rodrigo Fernandes
7cd6bb9aff
Merge pull request #459 from rtfpessoa/dependabot/npm_and_yarn/decode-uri-component-0.2.2
build(deps): bump decode-uri-component from 0.2.0 to 0.2.2
2023-01-01 22:26:46 +00:00
dependabot[bot]
1167be6add
build(deps): bump decode-uri-component from 0.2.0 to 0.2.2
Bumps [decode-uri-component](https://github.com/SamVerschueren/decode-uri-component) from 0.2.0 to 0.2.2.
- [Release notes](https://github.com/SamVerschueren/decode-uri-component/releases)
- [Commits](https://github.com/SamVerschueren/decode-uri-component/compare/v0.2.0...v0.2.2)

---
updated-dependencies:
- dependency-name: decode-uri-component
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-03 07:28:59 +00:00
Rodrigo Fernandes
7b6ee267af
Merge pull request #458 from ericcornelissen/check-hljs-once
Check if hljs is not null only once
2022-11-04 23:46:45 +00:00
Eric Cornelissen
3a480e4ab0 perf: check hljs is not null only once
Update the `highlightCode` method of `Diff2HtmlUI` to check if the hljs
reference is null only once (at the start). This address the "HACK"
comments by using a locally scoped variable for hljs. This way,
TypeScript is able to deduce that, after the initial null-check, hljs is
in fact not null.
2022-11-02 22:43:23 +01:00
Rodrigo Fernandes
6db4aae9e5
Merge pull request #456 from ericcornelissen/455-sticky-file-headers
Implement support for sticky file headers
2022-11-01 00:14:45 +00:00
Eric Cornelissen
4dae65d5c7 feat: enable sticky file headers by default
Update the stickyFileHeaders default value to `true` so that it is
enabled by default. Also correct the name of this option in the
documentation by adding the missing trailing "s".
2022-10-31 09:47:31 +01:00
Rodrigo Fernandes
35008fba4b
Merge pull request #457 from rtfpessoa/fix-side-by-side-margins-highlight-overrides
fix side by side margins and highlight usage of object instead of map
2022-10-30 20:34:38 +00:00
Rodrigo Fernandes
5ca9d22276 fix side by side margins and highlight usage of object instead of map 2022-10-30 20:31:33 +00:00
Eric Cornelissen
7d4a5dce6f feat: sticky file headers
Add support for sticky file headers by adding a `stickyFileHeaders`
option to the `Diff2HtmlUI`. By default this feature is disabled. Also
document this option in the README.

The feature is implemented through an optional CSS class on top of the
pre-existing `.d2h-file-header` class. The new class is added on all
file headers if the option is set to `true` (or the `stickyFileHeaders`
method is called).

This class, `.d2h-sticky-header`, has the minimum amount of styling to
get the desired effect. The `position` and `top` values make the headers
stick to the top as long as the wrapper is in the view. The `z-index`
value is needed to ensure the header is displayed over all other content
in the wrapper. In particular, from my testing in Firefox (106.0.2), the
line numbers would display over the header if the `z-index` value isn't
set.
2022-10-30 13:05:53 +01:00
Rodrigo Fernandes
59ff2956ab
Merge pull request #453 from rtfpessoa/fix-s3-website-release
fix website release
2022-10-23 18:42:22 +01:00
Rodrigo Fernandes
1a7612c0ff fix website release 2022-10-23 18:40:35 +01:00
Rodrigo Fernandes
86f43ba5ae
Merge pull request #452 from rtfpessoa/bump-deps
bump deps
2022-10-23 18:35:14 +01:00
Rodrigo Fernandes
f9d328e9b8
Merge pull request #451 from rtfpessoa/support-language-override
add support for language override
2022-10-23 18:35:04 +01:00
Rodrigo Fernandes
35e518fe4f bump deps 2022-10-23 18:31:07 +01:00
Rodrigo Fernandes
5373ae180b add support for language override 2022-10-23 18:26:19 +01:00
Rodrigo Fernandes
95e4c40a30
Merge pull request #450 from rtfpessoa/bump-deps
bump dependencies
2022-10-16 01:10:10 +01:00
Rodrigo Fernandes
a09d50a94f bump dependencies 2022-10-16 00:01:01 +01:00
Rodrigo Fernandes
26adbdb220
Merge pull request #447 from phaseOne/patch-1
Fix file collapse UI regression
2022-09-02 22:01:33 +01:00
Evan Bovie
a3a0385991 fix prettier complaint 2022-08-25 19:51:21 +00:00
Evan Bovie
a5e2fab2f1
Fix file collapse UI regression
Increase specificity of .d2h-d-none selector
2022-08-25 12:09:43 -07:00
Rodrigo Fernandes
0ed9e76a35
Merge pull request #444 from rtfpessoa/bump-deps
update dependencies
2022-07-24 18:57:20 +01:00
Rodrigo Fernandes
82a2da0033 update node versions 2022-07-24 18:49:57 +01:00
Rodrigo Fernandes
b164b511d8
Merge pull request #441 from m-masaki72/feature/set-parent-class-to-flex
Set display:flex to align inline-block elements
2022-07-24 18:34:43 +01:00
Rodrigo Fernandes
31a418601b force semver-regex update 2022-07-24 18:27:00 +01:00
Rodrigo Fernandes
93a53cdb4e force tercer update 2022-07-24 18:18:38 +01:00
Rodrigo Fernandes
1c59463034 update dependencies 2022-07-24 18:16:51 +01:00
森 雅希
41037b20f3 Set display:flex to align inline-block elements 2022-07-13 19:16:07 +09:00
Rodrigo Fernandes
e5c813949f
Merge pull request #432 from rtfpessoa/bump-deps
bump dependencies
2022-04-15 21:22:17 +01:00
Rodrigo Fernandes
4b9114afe5 bump node versions 2022-04-15 21:19:20 +01:00
Rodrigo Fernandes
7e3c867d74 bump dependencies 2022-04-15 21:05:09 +01:00
Rodrigo Fernandes
57ff821635
Merge pull request #431 from rtfpessoa/dependabot/npm_and_yarn/minimist-1.2.6
build(deps): bump minimist from 1.2.5 to 1.2.6
2022-04-15 20:27:05 +01:00
Rodrigo Fernandes
50806ba4e7
Merge pull request #429 from rtfpessoa/dependabot/npm_and_yarn/node-forge-1.3.0
build(deps): bump node-forge from 1.2.1 to 1.3.0
2022-04-15 20:26:52 +01:00
dependabot[bot]
1275853d62
build(deps): bump minimist from 1.2.5 to 1.2.6
Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases)
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6)

---
updated-dependencies:
- dependency-name: minimist
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-10 09:38:43 +00:00