From 301d5a3337cc7634e08ebf39ff18328bf8dbaacd Mon Sep 17 00:00:00 2001 From: rijkvanzanten Date: Mon, 22 Feb 2021 19:49:53 -0500 Subject: [PATCH] Add "show hidden collections" context menu Closes #3310 --- app/src/lang/translations/en-US.yaml | 8 ++- .../collections/components/navigation.vue | 60 +++++++++++++++++-- .../collections/composables/use-navigation.ts | 28 ++++++++- app/src/stores/collections.ts | 5 ++ 4 files changed, 92 insertions(+), 9 deletions(-) diff --git a/app/src/lang/translations/en-US.yaml b/app/src/lang/translations/en-US.yaml index fdc6cfc197..de6fdc0f54 100644 --- a/app/src/lang/translations/en-US.yaml +++ b/app/src/lang/translations/en-US.yaml @@ -155,9 +155,9 @@ click_to_manage_translated_fields: >- There are no translated fields yet. Click here to create them. | There is one translated field. Click here to manage it. | There are {count} translated fields. Click here to manage them. fields_group: Fields Group -new_data_alert: "The following will be created within your Data Model:" -new_field: "New Field" -new_collection: "New Collection" +new_data_alert: 'The following will be created within your Data Model:' +new_field: 'New Field' +new_collection: 'New Collection' configure_m2o: Configure your Many-to-One Relationship... configure_o2m: Configure your One-to-Many Relationship... configure_m2m: Configure your Many-to-Many Relationship... @@ -430,6 +430,8 @@ delete_collection_are_you_sure: >- collections_shown: Collections Shown visible_collections: Visible Collections hidden_collections: Hidden Collections +show_hidden_collections: Show Hidden Collections +hide_hidden_collections: Hide Hidden Collections unmanaged_collections: Unconfigured Collections system_collections: System Collections placeholder: Placeholder diff --git a/app/src/modules/collections/components/navigation.vue b/app/src/modules/collections/components/navigation.vue index 3954f58bf3..6232eef27d 100644 --- a/app/src/modules/collections/components/navigation.vue +++ b/app/src/modules/collections/components/navigation.vue @@ -1,5 +1,5 @@