From 6c1f409ac08864c45199bc1a85051465cc7cb645 Mon Sep 17 00:00:00 2001 From: Ahmed Awan Date: Thu, 9 Nov 2023 13:25:20 -0600 Subject: [PATCH] change `emptyCollection` item state to `failed_populated_state` Instead of creating a new, non-ok visual state for empty collections, create it for collections that have `populated_state: failed`. Also, show the `populated_state_message` in the `CollectionPanel` --- .../Content/Collection/CollectionDescription.vue | 2 +- client/src/components/History/Content/ContentItem.vue | 7 +++++-- .../components/History/Content/model/StatesInfo.vue | 7 ++++++- client/src/components/History/Content/model/states.ts | 10 +++++----- .../History/CurrentCollection/CollectionPanel.vue | 11 +++++++++-- client/src/components/History/HistoryFilters.js | 2 +- .../src/components/History/HistoryPublishedList.vue | 2 +- 7 files changed, 28 insertions(+), 13 deletions(-) diff --git a/client/src/components/History/Content/Collection/CollectionDescription.vue b/client/src/components/History/Content/Collection/CollectionDescription.vue index 8c27d3e0640a..b8b68d3d68c8 100644 --- a/client/src/components/History/Content/Collection/CollectionDescription.vue +++ b/client/src/components/History/Content/Collection/CollectionDescription.vue @@ -1,7 +1,7 @@