Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Tagging] Set taxonomy metadata during import #116

Open
bradenmacdonald opened this issue Sep 21, 2023 · 3 comments
Open

[Tagging] Set taxonomy metadata during import #116

bradenmacdonald opened this issue Sep 21, 2023 · 3 comments

Comments

@bradenmacdonald
Copy link
Contributor

bradenmacdonald commented Sep 21, 2023

Follows #115

"As a global staff user (instance-level super user), when importing a taxonomy, I can set metadata at the time of import"

Acceptance criteria

  1. Extending the import flow developed in [Tagging] Import a Taxonomy ("Bare Bones") #115 , when users select a .json or .csv file to import, they will next see this ModalDialog:
    Screenshot 2023-09-20 at 5 26 27 PM
  2. The default name should be automatically suggested based on the filename (without extension).
  3. When users click Next:
    Screenshot 2023-09-20 at 5 28 57 PM
  4. And then Next again, they'll see the "Assign to organizations" tab.
    • See Figma for details and requirements.
    • If the user chooses to skip this step and assign organizations at a later stage, the taxonomy will be listed on the “No organization” list page.
    • Screenshot 2023-10-12 at 09 38 22
  5. If the user presses Cancel at any point, they'll see this warning:
    Screenshot 2023-09-20 at 5 30 55 PM
  6. If the import succeeds, a toast should inform the user:
    Screenshot 2023-09-20 at 5 34 18 PM
  7. If import errors occur, a nicer and more clear error message will be shown to the user (compared to [Tagging] Import a Taxonomy ("Bare Bones") #115's basic error alert). (See all examples in Figma.)
    Screenshot 2023-09-20 at 5 35 52 PM

Developer notes

  • The dialog Cancel/Next buttons should just look however they look when the standard Paragon components are used, so that these components are consistent with the rest of the platform/theme. You do not need to use CSS to override the styling to exactly match the mockups.
  • 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.
  • The "Assign to organizations" dialog should be re-usable as we'll need it for story [Tagging] Assign taxonomy to organizations #117 too.
@ChrisChV
Copy link

And then Next again, they'll see the "Assign to organizations" tab

@bradenmacdonald It's missing a REST API for Assign taxonomies to organizations. I think this can be separated together with this missing APIs.

@bradenmacdonald
Copy link
Contributor Author

OK, I created #141 for that, but maybe we can combine it with #136 as you said.

@ali-hugo
Copy link

@bradenmacdonald Just sharing an updated screenshot for point number 4...

Screenshot 2023-10-12 at 09 38 22

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

No branches or pull requests

3 participants