Skip to content

Commit

Permalink
Object browser icon view v2 (#6054)
Browse files Browse the repository at this point in the history
  • Loading branch information
robgietema authored May 30, 2024
1 parent 524a712 commit 1018359
Show file tree
Hide file tree
Showing 21 changed files with 564 additions and 138 deletions.
5 changes: 4 additions & 1 deletion packages/volto/cypress/tests/core/basic/objectBrowser.js
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,10 @@ describe('Object Browser Tests', () => {
// The document is not in the list
cy.findByLabelText('Browse My Searchable Page').should('not.exist');
// And the list has only 1 item
cy.get('.ui.segment.object-listing li').should('have.length', 1);
cy.get('.ui.segment.object-listing .image-wrapper').should(
'have.length',
1,
);

// The image can be selected as usual
cy.findByLabelText('Select My Searchable Image').dblclick();
Expand Down
12 changes: 12 additions & 0 deletions packages/volto/locales/ca/LC_MESSAGES/volto.po
Original file line number Diff line number Diff line change
Expand Up @@ -1671,6 +1671,7 @@ msgstr "Historial de {title}"
#: components/manage/Contents/Contents
#: components/manage/Contents/ContentsBreadcrumbs
#: components/manage/Contents/ContentsBreadcrumbsHomeItem
#: components/manage/Sidebar/ObjectBrowserBody
#: components/theme/Breadcrumbs/Breadcrumbs
#: components/theme/Logo/Logo
msgid "Home"
Expand All @@ -1681,6 +1682,11 @@ msgstr "Inici"
msgid "ID"
msgstr "Id"

#. Default: "Icon View"
#: components/manage/Sidebar/ObjectBrowserBody
msgid "Icon View"
msgstr ""

#. Default: "If all of the following conditions are met:"
#: components/manage/Controlpanels/Rules/ConfigureRule
msgid "If all of the following conditions are met:"
Expand Down Expand Up @@ -2005,6 +2011,11 @@ msgstr ""
msgid "Links and references"
msgstr ""

#. Default: "List View"
#: components/manage/Sidebar/ObjectBrowserBody
msgid "List View"
msgstr ""

#. Default: "Listing"
#: components/manage/Blocks/Listing/schema
msgid "Listing"
Expand Down Expand Up @@ -3058,6 +3069,7 @@ msgstr "Cerca l'etiqueta d'entrada"

#. Default: "Search results"
#: components/manage/Blocks/Search/components/SearchDetails
#: components/manage/Sidebar/ObjectBrowserBody
#: components/theme/Search/Search
msgid "Search results"
msgstr "Resultats de la cerca"
Expand Down
12 changes: 12 additions & 0 deletions packages/volto/locales/de/LC_MESSAGES/volto.po
Original file line number Diff line number Diff line change
Expand Up @@ -1670,6 +1670,7 @@ msgstr "Historie von {title}"
#: components/manage/Contents/Contents
#: components/manage/Contents/ContentsBreadcrumbs
#: components/manage/Contents/ContentsBreadcrumbsHomeItem
#: components/manage/Sidebar/ObjectBrowserBody
#: components/theme/Breadcrumbs/Breadcrumbs
#: components/theme/Logo/Logo
msgid "Home"
Expand All @@ -1680,6 +1681,11 @@ msgstr "Startseite"
msgid "ID"
msgstr "ID"

#. Default: "Icon View"
#: components/manage/Sidebar/ObjectBrowserBody
msgid "Icon View"
msgstr ""

#. Default: "If all of the following conditions are met:"
#: components/manage/Controlpanels/Rules/ConfigureRule
msgid "If all of the following conditions are met:"
Expand Down Expand Up @@ -2004,6 +2010,11 @@ msgstr "Inhalte, die im Text auf diesen Inhalt verlinken"
msgid "Links and references"
msgstr "Links und Referenzen"

#. Default: "List View"
#: components/manage/Sidebar/ObjectBrowserBody
msgid "List View"
msgstr ""

#. Default: "Listing"
#: components/manage/Blocks/Listing/schema
msgid "Listing"
Expand Down Expand Up @@ -3057,6 +3068,7 @@ msgstr "Label Suchfeld"

#. Default: "Search results"
#: components/manage/Blocks/Search/components/SearchDetails
#: components/manage/Sidebar/ObjectBrowserBody
#: components/theme/Search/Search
msgid "Search results"
msgstr "Suchergebnisse"
Expand Down
12 changes: 12 additions & 0 deletions packages/volto/locales/en/LC_MESSAGES/volto.po
Original file line number Diff line number Diff line change
Expand Up @@ -1665,6 +1665,7 @@ msgstr ""
#: components/manage/Contents/Contents
#: components/manage/Contents/ContentsBreadcrumbs
#: components/manage/Contents/ContentsBreadcrumbsHomeItem
#: components/manage/Sidebar/ObjectBrowserBody
#: components/theme/Breadcrumbs/Breadcrumbs
#: components/theme/Logo/Logo
msgid "Home"
Expand All @@ -1675,6 +1676,11 @@ msgstr ""
msgid "ID"
msgstr ""

#. Default: "Icon View"
#: components/manage/Sidebar/ObjectBrowserBody
msgid "Icon View"
msgstr ""

#. Default: "If all of the following conditions are met:"
#: components/manage/Controlpanels/Rules/ConfigureRule
msgid "If all of the following conditions are met:"
Expand Down Expand Up @@ -1999,6 +2005,11 @@ msgstr ""
msgid "Links and references"
msgstr ""

#. Default: "List View"
#: components/manage/Sidebar/ObjectBrowserBody
msgid "List View"
msgstr ""

#. Default: "Listing"
#: components/manage/Blocks/Listing/schema
msgid "Listing"
Expand Down Expand Up @@ -3052,6 +3063,7 @@ msgstr ""

#. Default: "Search results"
#: components/manage/Blocks/Search/components/SearchDetails
#: components/manage/Sidebar/ObjectBrowserBody
#: components/theme/Search/Search
msgid "Search results"
msgstr ""
Expand Down
12 changes: 12 additions & 0 deletions packages/volto/locales/es/LC_MESSAGES/volto.po
Original file line number Diff line number Diff line change
Expand Up @@ -1672,6 +1672,7 @@ msgstr "Historial de {title}"
#: components/manage/Contents/Contents
#: components/manage/Contents/ContentsBreadcrumbs
#: components/manage/Contents/ContentsBreadcrumbsHomeItem
#: components/manage/Sidebar/ObjectBrowserBody
#: components/theme/Breadcrumbs/Breadcrumbs
#: components/theme/Logo/Logo
msgid "Home"
Expand All @@ -1682,6 +1683,11 @@ msgstr "Inicio"
msgid "ID"
msgstr "ID"

#. Default: "Icon View"
#: components/manage/Sidebar/ObjectBrowserBody
msgid "Icon View"
msgstr ""

#. Default: "If all of the following conditions are met:"
#: components/manage/Controlpanels/Rules/ConfigureRule
msgid "If all of the following conditions are met:"
Expand Down Expand Up @@ -2006,6 +2012,11 @@ msgstr "Vincular este elemento con un hipervínculo en el texto"
msgid "Links and references"
msgstr "Enlaces y referencias"

#. Default: "List View"
#: components/manage/Sidebar/ObjectBrowserBody
msgid "List View"
msgstr ""

#. Default: "Listing"
#: components/manage/Blocks/Listing/schema
msgid "Listing"
Expand Down Expand Up @@ -3059,6 +3070,7 @@ msgstr "Etiqueta del campo de búsqueda"

#. Default: "Search results"
#: components/manage/Blocks/Search/components/SearchDetails
#: components/manage/Sidebar/ObjectBrowserBody
#: components/theme/Search/Search
msgid "Search results"
msgstr "Resultado de la búsqueda"
Expand Down
12 changes: 12 additions & 0 deletions packages/volto/locales/eu/LC_MESSAGES/volto.po
Original file line number Diff line number Diff line change
Expand Up @@ -1672,6 +1672,7 @@ msgstr "{title} elementuaren historia"
#: components/manage/Contents/Contents
#: components/manage/Contents/ContentsBreadcrumbs
#: components/manage/Contents/ContentsBreadcrumbsHomeItem
#: components/manage/Sidebar/ObjectBrowserBody
#: components/theme/Breadcrumbs/Breadcrumbs
#: components/theme/Logo/Logo
msgid "Home"
Expand All @@ -1682,6 +1683,11 @@ msgstr "Hasiera"
msgid "ID"
msgstr "ID"

#. Default: "Icon View"
#: components/manage/Sidebar/ObjectBrowserBody
msgid "Icon View"
msgstr ""

#. Default: "If all of the following conditions are met:"
#: components/manage/Controlpanels/Rules/ConfigureRule
msgid "If all of the following conditions are met:"
Expand Down Expand Up @@ -2006,6 +2012,11 @@ msgstr ""
msgid "Links and references"
msgstr ""

#. Default: "List View"
#: components/manage/Sidebar/ObjectBrowserBody
msgid "List View"
msgstr ""

#. Default: "Listing"
#: components/manage/Blocks/Listing/schema
msgid "Listing"
Expand Down Expand Up @@ -3059,6 +3070,7 @@ msgstr "Bilaketa kutxaren etiketa"

#. Default: "Search results"
#: components/manage/Blocks/Search/components/SearchDetails
#: components/manage/Sidebar/ObjectBrowserBody
#: components/theme/Search/Search
msgid "Search results"
msgstr "Bilaketaren emaitzak"
Expand Down
12 changes: 12 additions & 0 deletions packages/volto/locales/fi/LC_MESSAGES/volto.po
Original file line number Diff line number Diff line change
Expand Up @@ -1670,6 +1670,7 @@ msgstr "{title} – muutoshistoria"
#: components/manage/Contents/Contents
#: components/manage/Contents/ContentsBreadcrumbs
#: components/manage/Contents/ContentsBreadcrumbsHomeItem
#: components/manage/Sidebar/ObjectBrowserBody
#: components/theme/Breadcrumbs/Breadcrumbs
#: components/theme/Logo/Logo
msgid "Home"
Expand All @@ -1680,6 +1681,11 @@ msgstr "Etusivu"
msgid "ID"
msgstr "ID"

#. Default: "Icon View"
#: components/manage/Sidebar/ObjectBrowserBody
msgid "Icon View"
msgstr ""

#. Default: "If all of the following conditions are met:"
#: components/manage/Controlpanels/Rules/ConfigureRule
msgid "If all of the following conditions are met:"
Expand Down Expand Up @@ -2004,6 +2010,11 @@ msgstr ""
msgid "Links and references"
msgstr ""

#. Default: "List View"
#: components/manage/Sidebar/ObjectBrowserBody
msgid "List View"
msgstr ""

#. Default: "Listing"
#: components/manage/Blocks/Listing/schema
msgid "Listing"
Expand Down Expand Up @@ -3057,6 +3068,7 @@ msgstr "Hakukentän nimike"

#. Default: "Search results"
#: components/manage/Blocks/Search/components/SearchDetails
#: components/manage/Sidebar/ObjectBrowserBody
#: components/theme/Search/Search
msgid "Search results"
msgstr "Hakutulokset"
Expand Down
12 changes: 12 additions & 0 deletions packages/volto/locales/fr/LC_MESSAGES/volto.po
Original file line number Diff line number Diff line change
Expand Up @@ -1672,6 +1672,7 @@ msgstr "Historique de {title}"
#: components/manage/Contents/Contents
#: components/manage/Contents/ContentsBreadcrumbs
#: components/manage/Contents/ContentsBreadcrumbsHomeItem
#: components/manage/Sidebar/ObjectBrowserBody
#: components/theme/Breadcrumbs/Breadcrumbs
#: components/theme/Logo/Logo
msgid "Home"
Expand All @@ -1682,6 +1683,11 @@ msgstr "Accueil"
msgid "ID"
msgstr "ID"

#. Default: "Icon View"
#: components/manage/Sidebar/ObjectBrowserBody
msgid "Icon View"
msgstr ""

#. Default: "If all of the following conditions are met:"
#: components/manage/Controlpanels/Rules/ConfigureRule
msgid "If all of the following conditions are met:"
Expand Down Expand Up @@ -2006,6 +2012,11 @@ msgstr ""
msgid "Links and references"
msgstr ""

#. Default: "List View"
#: components/manage/Sidebar/ObjectBrowserBody
msgid "List View"
msgstr ""

#. Default: "Listing"
#: components/manage/Blocks/Listing/schema
msgid "Listing"
Expand Down Expand Up @@ -3059,6 +3070,7 @@ msgstr "Label du champ de recherche"

#. Default: "Search results"
#: components/manage/Blocks/Search/components/SearchDetails
#: components/manage/Sidebar/ObjectBrowserBody
#: components/theme/Search/Search
msgid "Search results"
msgstr "Résultats de recherche"
Expand Down
12 changes: 12 additions & 0 deletions packages/volto/locales/hi/LC_MESSAGES/volto.po
Original file line number Diff line number Diff line change
Expand Up @@ -1665,6 +1665,7 @@ msgstr "{title} का इतिहास"
#: components/manage/Contents/Contents
#: components/manage/Contents/ContentsBreadcrumbs
#: components/manage/Contents/ContentsBreadcrumbsHomeItem
#: components/manage/Sidebar/ObjectBrowserBody
#: components/theme/Breadcrumbs/Breadcrumbs
#: components/theme/Logo/Logo
msgid "Home"
Expand All @@ -1675,6 +1676,11 @@ msgstr "होम"
msgid "ID"
msgstr "आईडी"

#. Default: "Icon View"
#: components/manage/Sidebar/ObjectBrowserBody
msgid "Icon View"
msgstr ""

#. Default: "If all of the following conditions are met:"
#: components/manage/Controlpanels/Rules/ConfigureRule
msgid "If all of the following conditions are met:"
Expand Down Expand Up @@ -1999,6 +2005,11 @@ msgstr "इस आइटम के मूलपाठ में हाइपर
msgid "Links and references"
msgstr "लिंक और संदर्भ"

#. Default: "List View"
#: components/manage/Sidebar/ObjectBrowserBody
msgid "List View"
msgstr ""

#. Default: "Listing"
#: components/manage/Blocks/Listing/schema
msgid "Listing"
Expand Down Expand Up @@ -3052,6 +3063,7 @@ msgstr "खोज इनपुट लेबल"

#. Default: "Search results"
#: components/manage/Blocks/Search/components/SearchDetails
#: components/manage/Sidebar/ObjectBrowserBody
#: components/theme/Search/Search
msgid "Search results"
msgstr "खोज परिणाम"
Expand Down
12 changes: 12 additions & 0 deletions packages/volto/locales/it/LC_MESSAGES/volto.po
Original file line number Diff line number Diff line change
Expand Up @@ -1665,6 +1665,7 @@ msgstr "Cronologia di {title}"
#: components/manage/Contents/Contents
#: components/manage/Contents/ContentsBreadcrumbs
#: components/manage/Contents/ContentsBreadcrumbsHomeItem
#: components/manage/Sidebar/ObjectBrowserBody
#: components/theme/Breadcrumbs/Breadcrumbs
#: components/theme/Logo/Logo
msgid "Home"
Expand All @@ -1675,6 +1676,11 @@ msgstr "Home"
msgid "ID"
msgstr "ID"

#. Default: "Icon View"
#: components/manage/Sidebar/ObjectBrowserBody
msgid "Icon View"
msgstr ""

#. Default: "If all of the following conditions are met:"
#: components/manage/Controlpanels/Rules/ConfigureRule
msgid "If all of the following conditions are met:"
Expand Down Expand Up @@ -1999,6 +2005,11 @@ msgstr "Elementi collegati a questo contenuto con un collegamento ipertestuali n
msgid "Links and references"
msgstr "Link e collegamenti"

#. Default: "List View"
#: components/manage/Sidebar/ObjectBrowserBody
msgid "List View"
msgstr ""

#. Default: "Listing"
#: components/manage/Blocks/Listing/schema
msgid "Listing"
Expand Down Expand Up @@ -3052,6 +3063,7 @@ msgstr "Etichetta del campo di ricerca"

#. Default: "Search results"
#: components/manage/Blocks/Search/components/SearchDetails
#: components/manage/Sidebar/ObjectBrowserBody
#: components/theme/Search/Search
msgid "Search results"
msgstr "Risultati della ricerca"
Expand Down
Loading

0 comments on commit 1018359

Please sign in to comment.