Managing Collection

  1. Viewing Collections
    • Collections are displayed as rows in a table after creation.
    • Clicking on a collection row opens its content in a side menu on the right-hand side.
  2. Side Menu Structure
    • Overview: Displays the collection’s name, type, and a tab bar to toggle between Content and Details views.
    • Details: Shows information such as:
      • Location where the collection is saved.
      • Creator and timestamp of creation.
      • Last editor and timestamp of the most recent edit.
    • Controls: Located at the top of the side menu, including:
      • Edit: To make changes to the collection.
      • More: Opens an action menu.
      • Close: Closes the side menu.
  3. User Permissions
    • Add Collections: All users can add collections for the company.
    • Edit/Delete Permissions: Only the collection’s creator, account owner, or co-owner can edit or delete collections.
  4. Action Menu
    • Accessible by clicking More. Options include:
      • Edit:
        • Opens an editing dialog specific to the collection.
        • After making changes, clicking Save triggers a snackbar with the feedback message: “CollectionName updated!”.
      • Duplicate:
        • Creates a copy of the selected collection with the suffix “(copy)” added to the original name.
        • Displays a snackbar with the feedback message: “CollectionName (copy) created!”.
      • Delete:
        • Opens a confirmation dialog to confirm the deletion.
        • Upon confirmation, deletes the collection and shows a snackbar with the feedback message: “CollectionName deleted!” along with an Undo button.