Commit graph

200 commits

Author SHA1 Message Date
Renovate Bot
0f6ea38140 Update dependency copy-webpack-plugin to v6.1.1 2020-09-19 12:25:29 +02:00
Renovate Bot
70eddded41 Update dependency ts-loader to v8.0.4 2020-09-19 12:12:03 +02:00
Renovate Bot
061193afd1 Update dependency typescript to v4.0.3 2020-09-19 12:11:33 +02:00
Renovate Bot
8ff35058c8 Update dependency moment to v2.28.0 2020-09-19 12:10:02 +02:00
Renovate Bot
b92e0f6f5f Update dependency markdown-it to v11.0.1 2020-09-19 12:09:30 +02:00
Renovate Bot
c944f33c4d Update dependency i18next-http-backend to v1.0.20 2020-09-19 12:08:36 +02:00
Renovate Bot
bb141e58a1 Update dependency cypress to v5.2.0 2020-09-19 12:08:02 +02:00
Renovate Bot
7625ebda3d Update dependency @types/jest to v26.0.14 2020-09-19 12:06:42 +02:00
Renovate Bot
ea8ebfd06e Update JS test packages 2020-09-19 12:05:49 +02:00
Renovate Bot
276e1886fb Pin dependencies 2020-09-19 12:05:10 +02:00
renovate[bot]
d57f6577a5
Update dependency markdown-it-deflist to v2.1.0 (#561)
* Update dependency markdown-it-deflist to v2.1.0

* Include end line number into key

Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>

* Update src/components/markdown-renderer/utils/html-react-transformer.tsx

Co-authored-by: Erik Michelson <github@erik.michelson.eu>
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
2020-09-15 21:23:06 +02:00
Philip Molares
5972932d33
Feature/d3 graphviz (#564)
added graphviz diagrams via d3-graphviz
added craco and webpack-copy-plugin to copy wasm files

Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>

Co-authored-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
2020-09-15 09:26:44 +02:00
mrdrogdrog
e6ee1aff50
Add @types/domhandler (#565)
Co-Authored-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>

Co-authored-by: Philip Molares <philip.molares@udo.edu>
2020-09-14 11:25:53 +02:00
Philip Molares
44637c753e
Add dark mode (#554) 2020-09-13 18:04:02 +02:00
renovate[bot]
ca2bd1d90f
Update dependency @types/codemirror to v0.0.98 (#557)
* Update dependency @types/codemirror to v0.0.98

* Remove cm-full-screen custom types as they're now included in @types

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Erik Michelson <github@erik.michelson.eu>
2020-09-12 16:20:56 +02:00
renovate[bot]
574af052ec
Update dependency redux-devtools to v3.7.0 (#562)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-09-12 16:03:01 +02:00
renovate[bot]
b7995e1733
Update dependency i18next-http-backend to v1.0.19 (#560)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-09-12 15:54:24 +02:00
renovate[bot]
312c4be99a
Update dependency highlight.js to v10.2.0 (#559)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-09-12 15:51:48 +02:00
Renovate Bot
a8abcca632 Update dependency flowchart.js to v1.14.1 2020-09-12 07:51:01 +02:00
Renovate Bot
302476d93d Update dependency @testing-library/user-event to v12.1.4 2020-09-12 07:46:47 +02:00
Renovate Bot
c3ae235c2b Pin dependency cypress-commands to 1.1.0 2020-09-05 17:37:16 +02:00
Erik Michelson
79469c5ddc
Show warning if note is longer than configured maximum length (#534)
* Add maximum document length config option

* Show remaining characters in tooltip of status-bar length-info

* Remove unnecessary checkDocumentLength function

* Add max-length warning

* Update translation wording

* Set dialog to medium size

* Add coloring to status-bar length info

* Improve wording in warning modal

* Add cypress e2e tests

I included the cypress-commands package and set the language level to ES6 to allow easier testing e.g. of element attributes.

* Changed way how the modal-advice was styled and positioned

* Show warning modal only on first length exceeding

* Improved length tooltip by adding messages when exceeding or reaching limit
2020-09-05 16:36:46 +02:00
renovate[bot]
14dfb5f315
Update JS test packages (major) (#546)
* Update JS test packages

* Remove definitlyTypes for cypress

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
2020-09-05 11:55:52 +02:00
Renovate Bot
5618a1e65b Update dependency mermaid to v8.8.0 2020-09-05 11:36:43 +02:00
Renovate Bot
18a9a30669 Update dependency react-use to v15.3.4 2020-09-05 11:35:30 +02:00
Renovate Bot
5944b18e86 Update dependency cypress to v5.1.0 2020-09-05 11:35:02 +02:00
Renovate Bot
301d5fb1d2 Update definitelyTyped 2020-09-05 11:34:21 +02:00
mrdrogdrog
119c9512e7
Add abcjs (#537) 2020-09-05 08:17:15 +02:00
Renovate Bot
86e41929ef Pin dependencies 2020-09-05 03:23:33 +02:00
Philip Molares
a1d48002dd
added mermaid diagram (#525)
added mermaid diagram

Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
Co-authored-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
Co-authored-by: Erik Michelson <github@erik.michelson.eu>
2020-09-04 13:28:14 +02:00
Erik Michelson
d597438c42
Add revisions dialog (#485)
* Add mock files

Note that revisions-list needs to be called revisions in the reality to be confirm with the API spec, but our mocking solution doesn't allow that...

* Add revisions API calls

* Fix line endings in mock files

* Extend CommonModal to accept size and additionalClasses

* Clarify variable name in API request

* Add react-diff-viewer as dependency

* Add revision chooser modal

* Fix type of route params

* Added and updated mock files

* Added user-icon list per revision

* Added translation to alt text of avatars

* Updated mock file to remove inconsistencies

* Add caching for revisions

* Sort mock file revisions-list descending by timestamp

* Pre-select first/newest revision on first modal open

* Regenerated yarn.lock file from scratch

* Applied requested changes in variable names and line lengths

* User UserAvatar component instead of manually set image

* Move revision-modal-list-entry to own component

* Removed unnecessary return statements
2020-09-02 22:57:44 +02:00
mrdrogdrog
3a0e35a9f3
Improve render performance (#511)
Massive improvement of render performance by:
- replacing the codimd-line-marker with an in-memory map
- an observation of the changed markdown code to identify changed lines
- a unique react-key calculation
2020-09-02 20:51:47 +02:00
Jakob Klepp
528e7e5904
Add clickable todos (#283) 2020-09-02 13:44:13 +02:00
Erik Michelson
84df2ea1cf
Add 'yarn lint' command and run it in GH actions (#517)
* Add 'yarn lint' command and run it in GH actions

* Move linting to own workflow

* Remove linting from build-workflow

* Solve linting warnings

Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>

Co-authored-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
2020-08-31 12:48:58 +02:00
Tilman Vatteroth
f665d047dc Remove @types/react-bootstrap
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
2020-08-30 21:39:12 +02:00
mrdrogdrog
a41d3d1515
Correct use selector (#515) 2020-08-30 21:24:34 +02:00
Philip Molares
33648f1645
Added flowchart diagrams (#510)
Co-authored-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
Co-authored-by: mrdrogdrog <mr.drogdrog@gmail.com>
Co-authored-by: Erik Michelson <github@erik.michelson.eu>
2020-08-29 23:56:27 +02:00
Renovate Bot
6919f5e4fb Update dependency @cypress/webpack-preprocessor to v5.4.5 2020-08-29 11:18:26 +02:00
Renovate Bot
65f3918fe6 Update dependency @testing-library/user-event to v12.1.3 2020-08-29 11:18:07 +02:00
Renovate Bot
d3ffae5e23 Update dependency @types/react to v16.9.48 2020-08-29 11:17:50 +02:00
Renovate Bot
50c2e4df63 Update dependency react-i18next to v11.7.2 2020-08-29 11:17:31 +02:00
Renovate Bot
5a43796cb7 Update dependency ts-loader to v8.0.3 2020-08-29 11:17:10 +02:00
Renovate Bot
1f80ddbf0f Update typescript-eslint monorepo to v3.10.1 2020-08-29 11:16:53 +02:00
Renovate Bot
1c046ec123 Pin dependencies 2020-08-29 11:16:20 +02:00
mrdrogdrog
ef36123377
Replace MathJax with KaTeX (#497)
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
2020-08-27 15:13:35 +02:00
renovate[bot]
d488c8e2ad
Update dependency @testing-library/user-event to v12.1.2 (#480)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-08-23 01:50:08 +02:00
Renovate Bot
1af74d5292 Update dependency @testing-library/jest-dom to v5.11.4 2020-08-22 13:32:07 +02:00
Renovate Bot
5031b5eca3 Update dependency cypress to v5 2020-08-22 11:08:33 +02:00
Renovate Bot
a8598476ea Update dependency i18next-browser-languagedetector to v6.0.1 2020-08-22 11:06:22 +02:00
Renovate Bot
f82130ca25 Update dependency typescript to v4 2020-08-22 10:55:47 +02:00