Commit graph

382 commits

Author SHA1 Message Date
mrdrogdrog
e73661d406
Refactor emoji code (#720)
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
2020-11-04 21:33:52 +01:00
renovate[bot]
433985f508
Update dependency eslint-config-standard to v16 (#735)
* Update dependency eslint-config-standard to v16
* disable useless message
* replace regex

Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
2020-10-31 10:33:51 +01:00
Renovate Bot
173d5e2fb7 Update dependency i18next to v19.8.3 2020-10-31 10:27:47 +01:00
Renovate Bot
39401fa31a Update dependency cypress to v5.5.0 2020-10-31 10:15:07 +01:00
Renovate Bot
87ffd9a063 Update typescript-eslint monorepo to v4.6.0 2020-10-31 10:08:12 +01:00
Renovate Bot
25b717bd9d Update dependency typescript to v4.0.5 2020-10-31 10:07:54 +01:00
Renovate Bot
594c3e3dd2 Update dependency react-redux to v7.2.2 2020-10-31 10:07:42 +01:00
Renovate Bot
ac9c0ba04c Update dependency highlight.js to v10.3.2 2020-10-31 10:07:20 +01:00
Renovate Bot
f906799ea5 Update dependency eslint-plugin-jsx-a11y to v6.4.1 2020-10-31 10:06:41 +01:00
Renovate Bot
9f9c8af5f1 Update dependency @cypress/webpack-preprocessor to v5.4.10 2020-10-31 10:04:06 +01:00
Renovate Bot
4ce097fb12 Update definitelyTyped 2020-10-31 10:03:10 +01:00
mrdrogdrog
460badb97b
Update multiple packages (#719)
* Update multiple packages

- @typescript-eslint/eslint-plugin
- @typescript-eslint/parser
- eslint-config-react-app
- eslint-config-standard
- react-scripts

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

* fix type

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

* deduplicate code

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

* Disable test because it doesn't work

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

* repair service worker

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

* Lazy load mermaid

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

* use show error

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

* fix tsconfig in cypress

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

* fix import integration test

Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
2020-10-25 21:17:59 +01:00
renovate[bot]
0c222fae64
Update dependency markdown-it to v12.0.2 (#706)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-10-25 11:59:06 +01:00
renovate[bot]
47f84f1933
Update dependency markmap-lib to v0.9.2 (#707)
* Update dependency markmap-lib to v0.9.2

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
2020-10-25 11:58:40 +01:00
renovate[bot]
3b50a00021
Update react monorepo to v17 (#715)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-10-25 11:00:46 +01:00
renovate[bot]
3b590944d7
Update dependency eslint-plugin-standard to v4.0.2 (#705)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-10-25 10:48:52 +01:00
renovate[bot]
ac1cabc01b
Update dependency react-scripts to v3.4.4 (#709)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-10-25 10:47:45 +01:00
renovate[bot]
e144d8d873
Update dependency ts-loader to v8.0.7 (#710)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-10-25 10:47:12 +01:00
renovate[bot]
8a32b13e4f
Update dependency @types/jest to v26.0.15 (#703)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-10-25 10:46:32 +01:00
renovate[bot]
15eb54b311
Update JS test packages (#701)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-10-25 10:46:23 +01:00
renovate[bot]
4efdb3c3c8
Update dependency codemirror to v5.58.2 (#704)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-10-25 10:45:44 +01:00
renovate[bot]
cc394e85f0
Update dependency react-bootstrap to v1.4.0 (#708)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-10-25 10:44:36 +01:00
renovate[bot]
12f986d8f9
Update dependency highlight.js to v10.3.1 (#693)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-10-18 11:02:58 +02:00
renovate[bot]
61ee3372cf
Update dependency highlight.js to v10.3.0 (#690)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-10-17 19:56:44 +02:00
renovate[bot]
8e60c1750f
Update dependency flowchart.js to v1.15.0 (#680)
* Update dependency flowchart.js to v1.15.0

* Remove custom types

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

* Adjust code to new types

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

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
2020-10-17 18:50:08 +02:00
renovate[bot]
a9130aedb8
Update dependency markdown-it-emoji to v2 (#687)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-10-17 18:48:34 +02:00
renovate[bot]
5eb626b64f
Update react monorepo to v16.14.0 (#685)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-10-17 18:42:36 +02:00
renovate[bot]
0249d258aa
Update dependency markdown-it-front-matter to v0.2.3 (#681)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-10-17 18:28:55 +02:00
renovate[bot]
e8deaba8a9
Update dependency markdown-it to v12 (#686)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-10-17 18:27:58 +02:00
renovate[bot]
635eec02f7
Update dependency cypress to v5.4.0 (#679)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-10-17 18:24:19 +02:00
renovate[bot]
0008843747
Update dependency @cypress/webpack-preprocessor to v5.4.8 (#676)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-10-17 18:24:08 +02:00
renovate[bot]
f4874d5e41
Update dependency vega-lite to v4.17.0 (#684)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-10-17 18:07:14 +02:00
renovate[bot]
ac781c600f
Update dependency ts-loader to v8.0.5 (#683)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-10-17 18:06:51 +02:00
renovate[bot]
451be4f63a
Update dependency react-bootstrap-typeahead to v5.1.2 (#682)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-10-17 18:06:31 +02:00
renovate[bot]
d8a7a891a0
Update dependency bootstrap to v4.5.3 (#678)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-10-17 18:05:36 +02:00
renovate[bot]
1c1d98cae8
Update dependency @types/react to v16.9.53 (#677)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-10-17 18:05:08 +02:00
renovate[bot]
5afffc55b9
Update JS test packages (#675)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-10-17 18:04:10 +02:00
mrdrogdrog
d5ee2f6d54
Update flowchart js (#674) 2020-10-13 15:55:15 +02:00
Philip Molares
36679753d7
updated flowchart.js to 1.14.2 (#671)
using types from the package instead of our own
2020-10-11 21:03:23 +02:00
renovate[bot]
75a4df27d2
Pin dependencies (#669)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-10-10 23:28:12 +02:00
Erik Michelson
5574f09ef5
Replace emoji-mart with emoji-picker-element (#620)
* Change dependencies

* Use emoji-picker-element instead of emoji-mart

* Optimize emoji-picker appeareance and data-source

* Add twemoji font to emoji-picker

* Add missing useEffect dependency

* Add emoji-shortcode map

* Include emoji-data into bundle and remove dynamic fetch

* Rename shortcode-map

* Fix emoji-picker being hidden on second attempt to open it

* Add support for skin-tone short-codes

* Remove whitespace line

* Don't reinitialize the picker on every open

* Fixed linting and test issues

* Update CHANGELOG entry
2020-10-10 23:12:17 +02:00
Renovate Bot
f72380edd1 Update dependency mermaid to v8.8.2 2020-10-10 09:51:35 +02:00
Renovate Bot
883cb1ba89 Update definitelyTyped 2020-10-10 09:51:07 +02:00
Renovate Bot
f2574b6d22 Pin dependency cypress-file-upload to 4.1.1 2020-10-10 09:50:49 +02:00
Renovate Bot
58c30720fe Update dependency copy-webpack-plugin to v6.2.1 2020-10-10 09:49:10 +02:00
Renovate Bot
e527763234 Update dependency i18next to v19.8.2 2020-10-10 09:48:36 +02:00
Renovate Bot
8f4b36e189 Update dependency uuid to v8.3.1 2020-10-10 09:47:55 +02:00
Erik Michelson
729ad652b3
Added markdown-file import (#645)
* Added markdown-file import

* Reset file input after read, don't add unnecessary blank lines

* Add cypress-file-upload dependency

* Add cypress tests for md file importing

* Added CHANGELOG entry
2020-10-09 21:26:04 +02:00
renovate[bot]
07364ff07b
Update dependency markmap-lib to v0.9.1 (#637)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: mrdrogdrog <mr.drogdrog@gmail.com>
2020-10-07 12:21:03 +02:00
renovate[bot]
c0d05904b2
Update dependency i18next to v19.8.1 (#643)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-10-03 22:27:29 +02:00
renovate[bot]
4d28ebe21f
Update definitelyTyped (#630)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-10-03 11:04:16 +02:00
renovate[bot]
51612a5286
Update dependency i18next to v19.8.0 (#636)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-10-03 11:03:03 +02:00
renovate[bot]
73cbf17aca
Update dependency mermaid to v8.8.1 (#638)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-10-03 10:46:09 +02:00
renovate[bot]
0d119b3ab2
Update dependency vega to v5.17.0 (#639)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-10-03 10:44:24 +02:00
renovate[bot]
b2d9937b25
Update dependency vega-lite to v4.16.8 (#640)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-10-03 10:42:42 +02:00
renovate[bot]
98da6765cb
Update linters (#641)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-10-03 10:41:58 +02:00
renovate[bot]
3e6b4379c2
Update dependency highlight.js to v10.2.1 (#635)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-10-03 10:40:30 +02:00
renovate[bot]
a5323f0a30
Update dependency cypress to v5.3.0 (#634)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-10-03 10:39:31 +02:00
renovate[bot]
6ec56a8bb9
Update dependency copy-webpack-plugin to v6.2.0 (#633)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-10-03 10:37:56 +02:00
renovate[bot]
ddb8b20b05
Update dependency @testing-library/user-event to v12.1.7 (#632)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-10-03 10:37:09 +02:00
renovate[bot]
e4ca86206a
Update dependency @craco/craco to v5.7.0 (#631)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-10-03 10:35:36 +02:00
Philip Molares
20e296cb9b
replaces moment with luxon (#621) 2020-10-02 14:00:29 +02:00
Renovate Bot
9f58f93fc6 Update dependency vega-lite to v4.16.7 2020-09-27 00:08:32 +02:00
Renovate Bot
ad81c18c4c Update dependency markmap-lib to v0.8.1 2020-09-26 21:34:05 +02:00
Renovate Bot
85d01ec874 Update dependency @cypress/webpack-preprocessor to v5.4.6 2020-09-26 10:50:13 +02:00
Renovate Bot
25d2518906 Update dependency vega to v5.16.1 2020-09-26 10:12:46 +02:00
Renovate Bot
abeed703ae Update dependency codemirror to v5.58.1 2020-09-26 10:06:57 +02:00
Renovate Bot
7c066c4618 Pin dependency webpack-bundle-analyzer to 3.9.0 2020-09-26 10:06:21 +02:00
Renovate Bot
7706dea5a6 Update JS test packages 2020-09-26 10:05:04 +02:00
Renovate Bot
ade44d0fab Update dependency i18next-http-backend to v1.0.21 2020-09-26 10:03:58 +02:00
Renovate Bot
a602b43e0e Update dependency moment to v2.29.0 2020-09-26 09:59:57 +02:00
Renovate Bot
5c9a073d43 Update dependency react-i18next to v11.7.3 2020-09-26 09:59:04 +02:00
Renovate Bot
4d268c0329 Update dependency vega-lite to v4.16.2 2020-09-26 09:55:14 +02:00
Erik Michelson
23972ffb16
Add webpack-bundle-analyzer as dev-tool (#591)
* Add webpack-bundle-analyzer as dev-tool

* Add README information about bundle analysis
2020-09-20 23:22:37 +02:00
renovate[bot]
0cebb29ec6
Pin dependencies (#587)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-09-19 22:28:25 +02:00
Philip Molares
8e8190b800
Add copy-to-clipboard-button to all code blocks (#566)
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>

Co-authored-by: mrdrogdrog <mr.drogdrog@gmail.com>
Co-authored-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
2020-09-19 22:24:49 +02:00
Philip Molares
005c80ff55
added markmap support to the markdown-renderer (#572)
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
Co-authored-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
2020-09-19 20:34:44 +02:00
renovate[bot]
204f2deb5a
Pin dependencies (#585)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-09-19 20:15:33 +02:00
Philip Molares
553cd3577d
add vega-lite diagram (#574)
added vega-lite diagrams
Update CHANGELOG.md

Co-authored-by: mrdrogdrog <mr.drogdrog@gmail.com>
2020-09-19 19:34:24 +02:00
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
e58e53a116
Remove keys from replacers (#539) 2020-09-05 10:34:43 +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
mrdrogdrog
df7c4cb19e
adjust some review suggestions (#528) 2020-09-02 16:45:25 +02:00
Jakob Klepp
528e7e5904
Add clickable todos (#283) 2020-09-02 13:44:13 +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
Philip Molares
dfdc652503
Restructure help dialog (#484)
- restructured help dialog
- moved isMac function to editor util
- added notice to CHANGELOG.md

Co-authored-by: Erik Michelson <github@erik.michelson.eu>
Co-authored-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2020-08-26 18:49:46 +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
73007ef597
Added synced scrolling (#386)
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
2020-08-19 23:01:38 +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
Erik Michelson
8377722e1a
Restructure editor user interface (#399)
* Replaced connection indicator in editor top bar with user-menu

* Added basic layout of bottom document bar

* Fixed margins between elements

* Reorganized document-bar

* Added dividers into toolbar

* Move files from task-bar to document-bar and remove test file

* moved connection-indicator components into its own folder

* moved document bar to the top

* moved connection-indicator once again

* Change design

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

* New idea for timestamps

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

* Add css

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

* Revert "Add css"

This reverts commit 6780aa05

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

* Revert "New idea for timestamps"

This reverts commit bf2891e1

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

* split import / export

* Made version input field to a common component

* added read-only modal
added document-time
added placeholder text for permissions

* remove flex-nowrap from editor toolbar

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

* Add codimd permission menu

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

* Move permission picker to the right

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

* add use memo

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

* Add user-select-none to documenttime component

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

* added status-bar

* fixed status-bar

* Add document info mock

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

* changed published to share in i18n

* reordered document bar
moved share modal in it's own component

* changed the divider color in the toolbar

* Add details to document info

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

* Add pin mock button

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

* Restructure toolbar after rebase and extract EmojiPicker+Button into component

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

* Correct linue number output

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

* Add some space into status bar

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

* Cleanup code to make ESLint happy

* Fix Toc button position

* Added link to presentation mode button

* Cache codemirror props

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

* Fix code blocks not being completely visible

* Improve document info modal

- The document info timeline always wrapped the received moment.js-object into a new moment.js object instead of directly using the given one.
- The timestamps were configured to be displayed without suffix, but this is necessary to support valid translation grammar.
- There was no margin between the icons and the texts.

* Highlighted user name in document-info modal

* Add avatar icon to document-info modal

* Improved english translation of the share-info

* Improve performance of copyable-fields by using useCallback

* Add translation keys for pin-to-history button

* Forwarded note title to editor-menu for deletion modal info

* Add placeholders to translations

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

* change translation

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

* Change permission dropdown to permission button

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

* Fix translations of emoji-picker and preferences

* remove unused imports

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

* Add alt attribute

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

* Fix share button and i18n files

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

* Fix use of i18n keys

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

* Use modal-body

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

* useCallback

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

* Use more specific i18n key

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

* Add a new entry and move i18n key for usercontribution

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

* Fix i18nkey für shareLink

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

* remove unused i18nkey

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

* Rename component DocumentInfo to DocumentInfoButton

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

* Extract revision button code into own component

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

* wrap buttons in navbar-nav

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

* organize imports

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

* organize imports

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

* Added editor-preferences modal

* Added functionality to preferences modal

* Activated search and replace feature in CodeMirror

* pdf export unavailability notice (#403)

* added pdf export unavailability notice with link to FAQ
as many users ask all the time why this was removed and when they'll get it back, this seemed like a fine solution in the meantime.

Co-authored-by: Erik Michelson <github@erik.michelson.eu>

* Refactored editor-preferences to just use one generic select component

* Fixed warnings regarding duplicated controlId and missing useCb-deps

* Reorganized translation keys

* Fixed i18n indentation for POEditor.com

* Added translation key for 'avatar of ...'

* Remove fragment

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

* Use user-avatar in document-info-line.tsx

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

* Revert changes in user-avatar and solve the problem otherwise

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

* Removed unnecessary import

* Removed another unnecessary import

* Refactored EditorPreferenceSelect to use enum and automatic type conversions

* Remove unused CodeMirror reference

* Fix spacing problem

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

* Increate size of image

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

* fixed share-link's space around the copyable-field

Co-authored-by: Philip Molares <philip.molares@udo.edu>
Co-authored-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
Co-authored-by: Philip Molares <git@molar.es>
2020-08-15 17:27:46 +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