From d206409fc54d426a1c072fde0b890577d7ebf09d Mon Sep 17 00:00:00 2001 From: Maximilian Moser Date: Tue, 6 Aug 2024 18:14:09 +0200 Subject: [PATCH 1/2] editor: prevent rerender on focus loss * closes https://github.com/inveniosoftware/invenio-app-rdm/issues/2771 --- .../timelineCommentEditor/TimelineCommentEditor.js | 2 +- .../js/invenio_requests/timelineEvents/TimelineCommentEvent.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/invenio_requests/assets/semantic-ui/js/invenio_requests/timelineCommentEditor/TimelineCommentEditor.js b/invenio_requests/assets/semantic-ui/js/invenio_requests/timelineCommentEditor/TimelineCommentEditor.js index cca89c16..e47ed147 100644 --- a/invenio_requests/assets/semantic-ui/js/invenio_requests/timelineCommentEditor/TimelineCommentEditor.js +++ b/invenio_requests/assets/semantic-ui/js/invenio_requests/timelineCommentEditor/TimelineCommentEditor.js @@ -30,7 +30,7 @@ const TimelineCommentEditor = ({ /> commentContent} onEditorChange={(event, editor) => { setCommentContent(editor.getContent()); }} diff --git a/invenio_requests/assets/semantic-ui/js/invenio_requests/timelineEvents/TimelineCommentEvent.js b/invenio_requests/assets/semantic-ui/js/invenio_requests/timelineEvents/TimelineCommentEvent.js index ef933882..5635138f 100644 --- a/invenio_requests/assets/semantic-ui/js/invenio_requests/timelineEvents/TimelineCommentEvent.js +++ b/invenio_requests/assets/semantic-ui/js/invenio_requests/timelineEvents/TimelineCommentEvent.js @@ -114,7 +114,7 @@ class TimelineCommentEvent extends Component { {isEditing ? ( commentContent} onEditorChange={(event, editor) => { this.setState({ commentContent: editor.getContent() }); }} From e4722a3f9672df19060b239c792f0395a44859a5 Mon Sep 17 00:00:00 2001 From: Maximilian Moser Date: Tue, 6 Aug 2024 18:19:37 +0200 Subject: [PATCH 2/2] tests: replace docker-compose with docker compose --- .github/workflows/tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 7fa3c1a9..c2bff6c6 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -63,7 +63,7 @@ jobs: pip install ".[$EXTRAS]" pip freeze docker --version - docker-compose --version + docker compose version - name: Run tests run: | ./run-tests.sh