-
Notifications
You must be signed in to change notification settings - Fork 0
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
Part Templates ui #288
Comments
Make sure the resourcebuilder uses the user's privileges to generate edit and/or create link rels when appropriate and use these links to decide whether the editing and creating are allowed in the front end. |
@richardiphillips I just pushed some PartTemplate FacadeService tests there and used a Should().ContainAll() when I was checking the strings for the result - should I be using this method or maybe something else? Just want to make sure I'm consistent with the codebase. I saw some uses of Contains(0 so I could always change it to that or use a different method entirely, just wanted to ask and make sure. |
we already have:
PartTemplate Domain Class
PartTemplateRepository (required methods might not be implemented)
Database mapping in ServiceDbContext
FacadeService (required methods might not be implemented)
PartTemplateResource
ResourceBuilders for requesting multiple PartTemplates and a Single Part Template
Response Processor for responding with multiple PartTemplates
Nancy route for requesting all PartTemplates
Service test for that Nancy route
all the redux gubbins we need to request all PartTemplates (action creators, reducer, selectors)
Need to add:
domain service to facilitate creating and updating a PartTemplate with permission checks + corresponding unit tests. The part.admin privilege is probably good enough for now.
missing response processor for responding with a single PartTemplate
Nancy routes to create/update PartTemplates
Service tests for the above
all the redux gubbins required to request/create/update a single PartTemplate (using the components library)
a React UI (using the components library) to:
The text was updated successfully, but these errors were encountered: