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

🛠️ [TASK] : Implement UI to setup category (simple) #1111

Open
Tracked by #1002
mike-mcnulty opened this issue Nov 1, 2024 · 0 comments
Open
Tracked by #1002

🛠️ [TASK] : Implement UI to setup category (simple) #1111

mike-mcnulty opened this issue Nov 1, 2024 · 0 comments
Labels
ux/ui UX/UI related issues

Comments

@mike-mcnulty
Copy link

Summary

Implement UI to setup category (simple)

Description

Child of #1002

As an admin user, I need to configure and detail the categories for a campaign, so that I can define the intended impact, budget, and rules for each category.

GIVEN an admin user logged in with API key
WHEN create a new campaign OR select existing campaign
THEN allow admin user to input JSON to configure category details and category questions
AND THEN render categories in UI
AND THEN allow admin user to edit category details and questions from editor

AC

  • If user selects "Setup Categories" in left nav menu, then view jumps to component and selects it
  • If user clicks "config" then display JSON editor
  • If user clicks cancel from within JSON editor, then close without saving
  • If user clicks save from within JSON editor, then save and close (refresh)
  • Component renders saved JSON as categories
  • If user clicks "Detail Category" then launch category details editor
  • If user clicks "Detail Questions" then launch category questions editor
  • User can edit category details, category questions, and category answer input types / data validations
  • User can see input type and data validations for each field, but not edit them directly
  • User can see timestamp and user of latest updates

Integration
GIVEN admin key GET brand
GIVEN brand GET campaigns
GIVEN campaign GET categories
GIVEN admin key UPDATE category

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ux/ui UX/UI related issues
Projects
Status: New
Development

No branches or pull requests

1 participant