Tilman Vatteroth
e93607c96e
Move toolbar functionality from redux to codemirror dispatch ( #2083 )
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-06-07 23:10:49 +00:00
Tilman Vatteroth
4d63a5ce2a
Add ESLint plugin for Jest ( #2098 )
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-06-05 12:20:31 +02:00
Tilman Vatteroth
f328681c0f
Fix language detection in code mirror code blocks
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-05-22 21:33:13 +02:00
Tilman Vatteroth
ddea0edbf8
Fix mock restoring in abc frame test
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-05-22 21:33:13 +02:00
Tilman Vatteroth
9b69914b60
Extract code highlighting from async call
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-05-07 18:42:22 +02:00
Tilman Vatteroth
32c6bbb8e3
Test multiple markdown extensions ( #1886 )
...
This commit adds multiple unit jest tests for components and removes e2e tests.
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
Signed-off-by: Philip Molares <philip.molares@udo.edu>
Co-authored-by: Philip Molares <philip.molares@udo.edu>
2022-04-27 09:59:01 +02:00
Erik Michelson
26f90505ff
Adapt react-client to use the real backend API ( #1545 )
...
Co-authored-by: Philip Molares <philip.molares@udo.edu>
Co-authored-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-04-15 23:03:15 +02:00
Tilman Vatteroth
0c873b0f97
Replace "use-resize-observer" with "@react-hook/resize-observer"
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-04-14 23:50:00 +02:00
Tilman Vatteroth
931302cbec
Fix react 18 changes
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-04-10 20:36:21 +02:00
Tilman Vatteroth
3a74ce9267
Replace splitter e2e test with unit test
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-04-10 01:42:26 +02:00
Tilman Vatteroth
750a4233d3
Replace substr with slice
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-04-03 00:45:05 +02:00
Tilman Vatteroth
f2958a77fe
Add markdown-extension-collection.ts
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-04-02 21:45:31 +02:00
Tilman Vatteroth
ed6ab1b1fe
Refactor abcframe
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-04-02 21:45:31 +02:00
Tilman Vatteroth
76cae637e6
Create intermediate class for code block markdown extension
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-04-02 21:45:31 +02:00
Tilman Vatteroth
9b118ac203
Refactor HighlightedCode
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-04-02 21:45:31 +02:00
Tilman Vatteroth
e565a548ee
Replace vars
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-04-02 21:45:31 +02:00
Tilman Vatteroth
7e1f774867
Post toc after rendering and not during it
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-04-02 21:39:35 +02:00
Tilman Vatteroth
8b4e9191e5
Fix smooth scroll and other bugs ( #1861 )
...
This PR fixes:
- The wrong clean up of window post message communicators
- The smooth scroll bug in chrome (Fixes Anchor navigation in render view not working #1770 )
- Scroll by using touch devices in renderer
- Lazy loading of the editor (code mirror doesn't need to be lazy loaded any more)
2022-02-14 16:37:34 +00:00
Tilman Vatteroth
57cb6f5b15
Add markdown renderer for motd ( #1840 )
...
* Add markdown renderer for motd
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-02-10 08:27:09 +00:00
Tilman Vatteroth
b30cc5b390
Move toolbar functions into redux reducer ( #1763 )
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-01-26 17:14:28 +01:00
renovate[bot]
f1386b17d4
Update definitely typed ( #1789 )
...
* Update definitely typed
Signed-off-by: Renovate Bot <bot@renovateapp.com>
* Fix type changes
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-01-22 09:57:50 +00:00
Tilman Vatteroth
1fb32584ab
Fix use-on-ref-change.ts
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-01-21 22:42:26 +01:00
Tilman Vatteroth
a1fab0bb73
Remove unnecessary effect dependency
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-01-21 22:42:26 +01:00
Tilman Vatteroth
97e00ec10b
Add plantuml not configured tag to tag name whiteliste
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-01-17 19:17:37 +01:00
Tilman Vatteroth
ed76d5307b
Remove redundant first headline extraction hook
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-01-14 13:27:43 +01:00
Tilman Vatteroth
92e86c3564
Remove redundant toc ref
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-01-14 13:27:43 +01:00
Tilman Vatteroth
4de82b774b
Import emojis from scss and work around emoji bug on macos
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2021-12-30 23:14:12 +01:00
Tilman Vatteroth
af660f78fc
Remove Asciinema ( #1730 )
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2021-12-30 14:01:21 +00:00
Renovate Bot
77a60c6c48
Switch the base framework from Create React App to Next.JS
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2021-12-30 14:43:25 +01:00
Tilman Vatteroth
6594e1bb86
Move markdown split into redux ( #1681 )
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2021-12-14 10:16:25 +01:00
Tilman Vatteroth
d4251519e2
Add image placeholder and upload indicating frame ( #1666 )
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
Co-authored-by: Philip Molares <philip.molares@udo.edu>
2021-12-11 15:34:33 +01:00
Tilman Vatteroth
9874d54404
Refactor table size picker ( #1662 )
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2021-12-02 23:55:16 +01:00
Tilman Vatteroth
b68a55aa94
Move frontmatter types ( #1664 )
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2021-12-02 22:41:07 +00:00
Tilman Vatteroth
8a23aa1401
Iframe capsule ( #1663 )
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2021-12-02 23:35:31 +01:00
Tilman Vatteroth
e0a0c86846
Deduplicate CommonModal Props ( #1649 )
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2021-11-26 21:51:12 +01:00
Erik Michelson
d725b65140
Cypress-IDs and prettier for tests ( #1634 )
...
* Add cy.getById method and run prettier
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2021-11-19 18:04:04 +01:00
Tilman Vatteroth
8a8bacc0aa
Introduce Markdown extensions ( #1614 )
...
* Introduce markdown extensions
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2021-11-15 17:04:49 +01:00
Tilman Vatteroth
e9defd60dc
Restructure click shield ( #1611 )
...
* Rename one-click-embedding to click shield
* Removes the static fallback image from the vimeo frame. The set URL is broken.
* Adds the ability to define background colors for the click shield background
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2021-11-14 18:44:55 +01:00
Philip Molares
79a0ea9602
feat: add a target description to OneClickEmbedding
...
Signed-off-by: Philip Molares <philip.molares@udo.edu>
Co-authored-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2021-11-06 11:54:40 +01:00
Tilman Vatteroth
84ee1d9cd9
Add dom purify ( #1609 )
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2021-11-02 08:15:33 +01:00
Tilman Vatteroth
c7c7c9ac74
Change scss import of reveal to css
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2021-10-29 23:03:01 +02:00
Tilman Vatteroth
ec77e672f6
Refactor replacers and line id mapping
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2021-10-25 00:13:40 +02:00
Tilman Vatteroth
a398660c18
Add cypress id attribute only in test mode ( #1566 )
...
* Add function for test attribute
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
* Adjust components
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
* Fix naming of attribute
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
* Rename method
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
* Rename method, interface, attribute and use interface
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
* Lint and format fix
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2021-10-17 21:20:23 +02:00
renovate[bot]
2abe40ef1d
Update dependency eslint-plugin-import to v2.25.2 ( #1555 )
...
* Update dependency eslint-plugin-import to v2.25.2
Signed-off-by: Renovate Bot <bot@renovateapp.com>
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
* Make type imports more explicit
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
* Enforce use of type imports
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2021-10-17 18:45:58 +02:00
Tilman Vatteroth
e84ed1398f
Fix reveal ( #1563 )
...
Fix race condition in slide show
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2021-10-16 21:45:22 +02:00
Tilman Vatteroth
c017df0a3c
Fix linting errors
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2021-10-16 12:10:10 +02:00
Tilman Vatteroth
f35d05d712
Remove workaround rule in reveal by vendoring a bootstrap file
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2021-10-15 22:10:12 +02:00
Tilman Vatteroth
36e445e631
Add slide mode with reveal.js
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2021-10-15 21:27:06 +02:00
Tilman Vatteroth
87d6285da5
Fix security related problems ( #1522 )
...
* Remove unnecessary capture group from regex
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
* Rename component to make name more expressive
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
* Remove redundant expression
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
* Filter vbscript links
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
* Remove superfluous parameter
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
* Check if handler is set
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
* Fix doc
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2021-10-01 22:51:57 +02:00
Tilman Vatteroth
0e512531a0
Improve Logging ( #1519 )
...
Improve Logging
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2021-09-28 22:06:35 +02:00