Commit graph

478 commits

Author SHA1 Message Date
Tilman Vatteroth
bd58bca39c Add new loading animation
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-05-06 21:42:06 +02:00
Erik Michelson
85eff24be1
New note creation (#1998)
* Add new note page

Signed-off-by: Erik Michelson <github@erik.michelson.eu>

* Make new note button clickable

Signed-off-by: Erik Michelson <github@erik.michelson.eu>

* Add CHANGELOG note

Signed-off-by: Erik Michelson <github@erik.michelson.eu>

* Refactor error messages

Signed-off-by: Erik Michelson <github@erik.michelson.eu>

* Use features note in mock

Signed-off-by: Erik Michelson <github@erik.michelson.eu>

* Common Error page should always use i18n

Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2022-05-02 17:39:18 +02:00
Tilman Vatteroth
ea42b9092e Create store using redux-toolkit
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-05-02 08:49:38 +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
bf1881eb54 Move copy button test from e2e to unit test
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-04-10 01:42:26 +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
30620a60e6 Refactor copy overlay
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-03-27 23:05:49 +02:00
renovate[bot]
e9df9b6672
Update linters (#1897)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-03-05 20:40:00 +01:00
renovate[bot]
6b84cf6b59
Update dependency reveal.js to v4.3.0 [SECURITY] (#1887)
* Update dependency reveal.js to v4.3.0 [SECURITY]

Signed-off-by: Renovate Bot <bot@renovateapp.com>

* Extend types

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-03-05 17:31:03 +00: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
Philip Molares
5f228b1bf2
refactor: Deduplicate delete modal (#1734) 2022-02-14 00:44:17 +01:00
Tilman Vatteroth
6a6f6105b9
Upgrade to CodeMirror 6 (#1787)
Upgrade to CodeMirror 6

Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-02-13 11:14:01 +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
Philip Molares
566b3009b6
feat: sort tags alphabetically (#1818)
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2022-01-30 22:10:30 +01: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
9500887ee6 Add condition to modal
This way we prevent unwanted data loading, invisible updates
and visual artifacts when the modal isn't visible.

Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-01-07 08:14:08 +01:00
Philip Molares
9fe47b7db0
fix: add translation for app logo title (#1733)
* fix: add translation for app logo title

fixes #1724

Signed-off-by: Philip Molares <philip.molares@udo.edu>
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-01-02 22:43:23 +01:00
Tilman Vatteroth
194183a7eb
Add browser meta tags for favicon and title (#1746)
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-01-02 19:35:39 +01:00
Tilman Vatteroth
98040cbdaa
Fix autocompletion (#1736)
* Add visibility check for codemirror autocompletion

Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>

* Move autocompletion trigger to extended-codemirror

Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2021-12-31 14:00:33 +01:00
Tilman Vatteroth
20d9a15cff
Add etag header to last modified check of motd (#1739)
* Add etag header to last modified check of motd

Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2021-12-31 09:30:12 +01:00
Tilman Vatteroth
ca49eb957d
Added NEXT_PUBLIC_IGNORE_IFRAME_ORIGIN_CONFIG (#1738)
* Added NEXT_PUBLIC_IGNORE_IFRAME_ORIGIN_CONFIG

Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2021-12-30 23:05:02 +00: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
Philip Molares
1a9a5e815a
fix: use text direction auto
fixes #1725

Signed-off-by: Philip Molares <philip.molares@udo.edu>
2021-12-30 21:53:09 +01:00
Philip Molares
4089f0c6ed
fix: use actual noteTitle in DeleteNoteSidebarEntry (#1729)
fixes #1728

Signed-off-by: Philip Molares <philip.molares@udo.edu>
Co-Authored-by: Philip Molares <philip.molares@udo.edu>
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2021-12-30 18:40:52 +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
03725f5512
Update to cypress 9 and fix firefox upload crash (#1653)
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-11 21:17:23 +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
Erik Michelson
eab189c3c6
Refactor login components and adjust login API routes (#1678)
* Refactor login components and adjust API routes

Signed-off-by: Erik Michelson <github@erik.michelson.eu>

* Adjust API /me response and redux state

Signed-off-by: Erik Michelson <github@erik.michelson.eu>

* Fix moved function

Signed-off-by: Erik Michelson <github@erik.michelson.eu>

* Update cypress tests

Signed-off-by: Erik Michelson <github@erik.michelson.eu>

* Adjust mock response

Signed-off-by: Erik Michelson <github@erik.michelson.eu>

* Integrate new common fields and hook into profile page

Signed-off-by: Erik Michelson <github@erik.michelson.eu>

* Remove openid

Signed-off-by: Erik Michelson <github@erik.michelson.eu>

* Fix config mock

Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>

Co-authored-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2021-12-11 01:32:38 +01:00
Tilman Vatteroth
a1a0ede574 Remove console.log
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2021-12-05 13:40:08 +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