From cca7a10fd6ddd534542c07258c74cdd0d89c2d82 Mon Sep 17 00:00:00 2001 From: Thomas Citharel Date: Mon, 15 Jun 2020 16:20:58 +0200 Subject: [PATCH] Improve comment section Signed-off-by: Thomas Citharel --- js/package.json | 16 +- js/src/components/Comment/Comment.vue | 114 +++++-- js/src/components/Editor.vue | 10 +- js/src/components/Event/ShareEventModal.vue | 2 +- js/src/graphql/comment.ts | 5 +- js/src/variables.scss | 45 +-- js/src/views/Moderation/Report.vue | 6 +- js/yarn.lock | 329 ++++++++++---------- lib/federation/activity_pub/federator.ex | 1 - lib/graphql/resolvers/comment.ex | 6 +- lib/graphql/schema/conversations/comment.ex | 8 +- lib/service/metadata/actor.ex | 2 +- lib/service/metadata/comment.ex | 2 +- lib/service/metadata/event.ex | 14 +- lib/service/metadata/metadata.ex | 2 +- lib/service/metadata/tombstone.ex | 2 +- lib/web/views/error_view.ex | 4 +- lib/web/views/page_view.ex | 13 +- mix.lock | 16 +- 19 files changed, 325 insertions(+), 272 deletions(-) diff --git a/js/package.json b/js/package.json index a496eeb72..3d418dbde 100644 --- a/js/package.json +++ b/js/package.json @@ -66,14 +66,14 @@ "@types/vuedraggable": "^2.23.0", "@typescript-eslint/eslint-plugin": "^2.26.0", "@typescript-eslint/parser": "^2.26.0", - "@vue/cli-plugin-babel": "~4.4.1", - "@vue/cli-plugin-e2e-cypress": "~4.4.1", - "@vue/cli-plugin-eslint": "~4.4.1", - "@vue/cli-plugin-pwa": "~4.4.1", - "@vue/cli-plugin-router": "~4.4.1", - "@vue/cli-plugin-typescript": "~4.4.1", - "@vue/cli-plugin-unit-mocha": "~4.4.1", - "@vue/cli-service": "~4.4.1", + "@vue/cli-plugin-babel": "~4.4.4", + "@vue/cli-plugin-e2e-cypress": "~4.4.4", + "@vue/cli-plugin-eslint": "~4.4.4", + "@vue/cli-plugin-pwa": "~4.4.4", + "@vue/cli-plugin-router": "~4.4.4", + "@vue/cli-plugin-typescript": "~4.4.4", + "@vue/cli-plugin-unit-mocha": "~4.4.4", + "@vue/cli-service": "~4.4.4", "@vue/eslint-config-airbnb": "^5.0.2", "@vue/eslint-config-prettier": "^6.0.0", "@vue/eslint-config-typescript": "^5.0.2", diff --git a/js/src/components/Comment/Comment.vue b/js/src/components/Comment/Comment.vue index ca625137a..5872fd6dc 100644 --- a/js/src/components/Comment/Comment.vue +++ b/js/src/components/Comment/Comment.vue @@ -1,24 +1,27 @@