Skip to content

[Tagging] Import a Taxonomy ("Bare Bones") #115

Closed

Description

@bradenmacdonald

"As a global staff user (instance-level super user), I can import a taxonomy from the taxonomies list page."

Acceptance Criteria

  1. From the taxonomy list page, global staff and org-level admins will see an Import button in the top right.
    Screenshot 2023-09-20 at 5 14 10 PM
  2. Clicking it will open a file dialog that the user can use to select any .json or .csv file. Only .csv or .json files should be selectable.
  3. Prompt the user for a name for the new taxonomy.
    Screenshot 2023-10-06 at 9 45 08 AM
  4. Prompt the user for a description for the new taxonomy.
    Screenshot 2023-10-06 at 9 45 33 AM
  5. The taxonomy will then be imported and automatically linked to the org for which the user is an org-level admin. If the user is an admin of multiple orgs, it will be linked to each org. If the user is global staff (instance-level admin) it will not be linked to any orgs; display a link to the django admin so they can edit that linking themselves.
  6. Global staff they can change the org linking via the Django admin.
  7. If an error occurs, display an alert/toast and put the details in the browser console.
    Screenshot 2023-10-06 at 9 46 33 AM

Developer Notes

  • Implementing any required backend API / REST API is required as part of this story! There is import code on the backend but no REST/upload API.
  • See the accept attribute for how to implement # 2, limit selection to .csv or .json files.
  • The UX will be significantly improved in [Tagging] Set taxonomy metadata during import #116
  • 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. changed the title [-][Tagging] Import a Taxonomy[/-] [+][Tagging] Import a Taxonomy ("Bare Bones")[/+] on Oct 6, 2023
  2. pomegranited commented on Nov 8, 2023

    @pomegranited

    @bradenmacdonald once the taxonomy create/import is successful, do we stay on the Taxonomy List page, or redirect to the new Taxonomy's Detail page?

  3. bradenmacdonald commented on Nov 8, 2023

    @bradenmacdonald
    ContributorAuthor

    once the taxonomy create/import is successful, do we stay on the Taxonomy List page, or redirect to the new Taxonomy's Detail page?

    @ali-hugo @jmakowski1123 any preference?

  4. ali-hugo commented on Nov 8, 2023

    @ali-hugo

    @bradenmacdonald @pomegranited I think the user should stay on the Taxonomy List page.

  5. moved this from Refined - To do to In Progress in Modular Learning - Tagging and Librarieson Nov 10, 2023
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