Skip to content

[Tagging] Per-taxonomy menu on Taxonomy List Page #105

Closed
openedx/frontend-app-authoring
#645

Description

@bradenmacdonald

Follows #104 and #113 .

"As any user with access to Studio, I can download any Taxonomy as CSV, if I have permission to view that Taxonomy."

"As any user with access to Studio, I can download any Taxonomy as JSON, if I have permission to view that Taxonomy."

"As any user with access to Studio, I get an explanation of what system-defined taxonomies are."

Acceptance Criteria

  1. Display this tooltip when a user hovers over the "System level" badge of a system-defined taxonomy:
    Screenshot 2023-10-11 at 2 34 07 PM
  2. Display the "three dots" menu button for all taxonomies, including system-defined taxonomies. Clicking it should show a menu with "Export".
    Screenshot 2023-10-12 at 10 00 39 AM
  3. Clicking that will lead to this dialog:
    Screenshot 2023-10-12 at 10 01 35 AM
  4. Selecting "Export as CSV" or "Export as JSON" should trigger the corresponding export and download the taxonomy as a file, using the API from [Tagging] REST API to trigger export of a taxonomy #113
  5. Other menu items will come in later stories: "Edit Details" in [Tagging] Edit Taxonomy Details #125, "Re-import" in [Tagging] "Bare Bones" Update of Existing Taxonomy by Uploading #140, "Manage Organizations" in [Tagging] Assign taxonomy to organizations #117, and "Delete" in [Tagging] Delete a taxonomy #127.

Developer Notes

  • Screenshots above are for convenience - Figma is the most up-to-date source for mockups. The scale of UI elements seen in the screenshots above may be incorrect.

Activity

  1. bradenmacdonald commented on Sep 19, 2023

    @bradenmacdonald
    ContributorAuthor

    @ChrisChV is there a REST API to trigger the export of a taxonomy?

  2. ChrisChV commented on Sep 20, 2023

    @ChrisChV

    @ChrisChV is there a REST API to trigger the export of a taxonomy?

    @bradenmacdonald Whops! No, in the code is missing the REST API to call the import/export. I remember seeing that task/issue somewhere. I've looked for it and can't find anything

  3. bradenmacdonald commented on Sep 20, 2023

    @bradenmacdonald
    ContributorAuthor

    @ChrisChV OK, no problem. I created #113 as a prerequisite for this issue then.

  4. ali-hugo commented on Sep 25, 2023

    @ali-hugo

    @bradenmacdonald

    As the wireframes currently stand, only global staff can export (i.e. download) taxonomies. Do you see a use case for which we should extend this to other user types as well? Currently the 3-dot menu only displays for global staff.

    (I imagine things might change once you've received feedback on #129).

  5. bradenmacdonald commented on Sep 25, 2023

    @bradenmacdonald
    ContributorAuthor

    @ali-hugo Yes, if someone is an instructor on Site A but is a global staff on Site B, they may wish to download the taxonomy they've been using on Site A and upload it to use on Site B. In general if someone can view the taxonomy there's no reason not to let them download it IMHO, because they could always tediously re-create it step by step if they wanted to anyways.

  6. ali-hugo commented on Sep 25, 2023

    @ali-hugo

    @bradenmacdonald That makes sense to me. I have updated the design accordingly.

    Please note that users with view-only permissions don't see the cog, the lock, nor the "enabled / enabled (default)" tags; they only see the menu with the option to export as CSV and JSON. I don't think it brings much value to these users to know whether the taxonomy is system-defined or not. Let me know if you disagree.

  7. changed the title [-][Tagging] Export menus and system taxonomy explanation (List taxonomies page)[/-] [+][Tagging] Per-taxonomy menu on Taxonomy List Page[/+] on Oct 11, 2023
  8. moved this from Refined - To do to In Progress in Modular Learning - Tagging and Librarieson Oct 26, 2023
  9. ali-hugo commented on Nov 28, 2023

    @ali-hugo

    @bradenmacdonald @ChrisChV This is all working well for me. Just wanted to flag a few small things (all of which can be fixed at a later stage):

    Screenshot 2023-11-28 at 11 07 07

    • Max width of tooltips in Paragon is 300px (the tooltip in the screenshot above looks wider)
    • The text in the "system-level" badge should not be bolded

    badge

    • I noticed there is no way to see whether a taxonomy is system-level or not on the taxonomy detail page. Could we add a "system-level" badge to this page, under the page title (as shown in the mockup above)?

    clickable area

    • Could we extend the clickable area to include anything within the blue block in the screenshot above? Instinctively, I tried to click here in order to select the radio button
  10. bradenmacdonald commented on Nov 28, 2023

    @bradenmacdonald
    ContributorAuthor

    ^ We will fix the above shortly in FAL-3537.

  11. ChrisChV commented on Dec 1, 2023

    @ChrisChV

    @ali-hugo

    I noticed there is no way to see whether a taxonomy is system-level or not on the taxonomy detail page. Could we add a "system-level" badge to this page, under the page title (as shown in the mockup above)?

    Should this badge show the tooltip?

  12. ali-hugo commented on Dec 4, 2023

    @ali-hugo

    @ChrisChV Yes, please display the tooltip here too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions