Commit graph

171 commits

Author SHA1 Message Date
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
Renovate Bot
d0e274a201 Update typescript-eslint monorepo to v3.9.1 2020-08-22 10:51:39 +02:00
Renovate Bot
6089c534ef Update dependency react-i18next to v11.7.1 2020-08-22 10:51:24 +02:00
Renovate Bot
c2c3d4d3ee Update dependency i18next to v19.7.0 2020-08-22 10:50:32 +02:00
Renovate Bot
85c89eba87 Update dependency codemirror to v5.57.0 2020-08-22 10:50:12 +02:00
Renovate Bot
cc43885193 Update JS test packages 2020-08-22 10:49:24 +02:00
mrdrogdrog
164b5436ae
Use prod build for e2e tests (#432)
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
2020-08-19 22:43:56 +02:00
Tilman Vatteroth
d6646ac3e9 Add resolution for cypress
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
2020-08-19 22:22:50 +02:00
renovate[bot]
f9caf0e10c
Update definitelyTyped (#411)
* Update definitelyTyped

* regenerate yarn.lock

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
2020-08-15 15:51:06 +02:00
Philip Molares
0200015ec0 removed the unused dependency start-server-and-test 2020-08-15 15:19:39 +02:00
renovate[bot]
fca0c92730
Update dependency start-server-and-test to v1.11.3 (#417)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-08-15 02:47:06 +02:00
renovate[bot]
32f60f22ab
Update dependency i18next-http-backend to v1.0.18 (#414)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-08-15 02:42:57 +02:00
renovate[bot]
c85511178d
Update dependency @testing-library/jest-dom to v5.11.3 (#413)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-08-15 02:34:42 +02:00
renovate[bot]
3e338adc57
Update dependency react-bootstrap-typeahead to v5.1.1 (#415)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-08-15 02:34:07 +02:00
renovate[bot]
c5e333a8b2
Update dependency redux-devtools to v3.6.1 (#416)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-08-15 02:33:32 +02:00
renovate[bot]
090a5d0799
Update typescript-eslint monorepo to v3.9.0 (#418)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-08-15 02:32:46 +02:00
renovate[bot]
5fc37eb839
Update dependency i18next-browser-languagedetector to v6 (#419)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-08-15 02:30:59 +02:00
renovate[bot]
f0bf0dc902
Update dependency @cypress/webpack-preprocessor to v5.4.4 (#412)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-08-15 02:30:04 +02:00
Philip Molares
c8c5569426 updated react-scripts 2020-08-14 11:35:41 +02:00
Renovate Bot
1dfbc25aff Update dependency @types/react to v16.9.45 2020-08-08 12:56:34 +02:00
Renovate Bot
0b51722ac1 Update dependency cypress to v4.12.1 2020-08-08 10:41:59 +02:00
Renovate Bot
f207296062 Update typescript-eslint monorepo to v3.8.0 2020-08-08 09:25:38 +02:00
Renovate Bot
0e61034eff Update JS test packages 2020-08-08 07:17:43 +00:00
Renovate Bot
c7f8ba7836 Update dependency @types/jest to v26.0.9 2020-08-08 09:17:11 +02:00
Renovate Bot
bf2f73cfb8 Update dependency i18next-browser-languagedetector to v5.0.1 2020-08-08 09:16:19 +02:00
Renovate Bot
d725398424 Update dependency bootstrap to v4.5.2 2020-08-08 09:15:33 +02:00
Philip Molares
c410a58573
Add emoji picker (#329)
* Added emoji-mart as emoji-picker
* Fixed JSON to TypeScript-object parsing
* added fork awesome to emoji-picker
added ForkAwesomeIcons enum, because it's not possible to iterate over a typescript type consisting of strings [1]. This is a bit unfortunate since we now have two lists of all the fork awesome icons, but sadly it can not be done another way.
added fork awesome as a custom category to the emoji picker.

[1]: https://stackoverflow.com/questions/40863488/how-to-iterate-over-a-custom-literal-type-in-typescript
* made picker close, when clicking away
added react-use dependency for useClickAway hook
* Fixed emoji-picker loading images from unpkg instead of using font
* fixed addEmoji function
added tests
* Extract customIcons into useMemo

Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
Co-authored-by: Erik Michelson <github@erik.michelson.eu>
Co-authored-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
2020-08-07 18:54:37 +02:00
Philip Molares
fc2e2bd592
Add codemirror keybindings and addons (#311)
* added codemirror addons
- fullScreen
- autorefresh
added a default:
- extraKeys

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-06 13:43:48 +02:00
Jakob Klepp
fe2f7403aa
Add plantuml support (#327)
* Add plantuml support
* Enable PlantUML rendering only if plantumlServer config is set
* Show warning box when plantuml is enabled but no server is configured
2020-08-04 11:15:23 +02:00
Renovate Bot
6add1b2f1f Update definitelyTyped 2020-08-01 16:17:17 +02:00