From 7b9910f251e139012b48eae6f63e86cd7c1cdc62 Mon Sep 17 00:00:00 2001 From: Thomas Citharel Date: Wed, 24 Mar 2021 10:45:29 +0100 Subject: [PATCH] Resources fixes and improvements - Fix getting page description - Fix fetching metadata from Twitter (thx @marienfressinaud) - Improve error handling Signed-off-by: Thomas Citharel --- js/src/views/Resources/ResourceFolder.vue | 35 +++++++++++++------ lib/graphql/resolvers/resource.ex | 9 ++++- lib/service/rich_media/parser.ex | 18 ++++++++-- .../rich_media/parsers/meta_tags_parser.ex | 10 ++++-- 4 files changed, 56 insertions(+), 16 deletions(-) diff --git a/js/src/views/Resources/ResourceFolder.vue b/js/src/views/Resources/ResourceFolder.vue index 83873920..645b03ff 100644 --- a/js/src/views/Resources/ResourceFolder.vue +++ b/js/src/views/Resources/ResourceFolder.vue @@ -190,6 +190,9 @@