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

Modify the master/detail view to be more "form" based #49

Open
craigedmunds opened this issue Dec 3, 2015 · 0 comments
Open

Modify the master/detail view to be more "form" based #49

craigedmunds opened this issue Dec 3, 2015 · 0 comments

Comments

@craigedmunds
Copy link
Contributor

Currently the fortune admin "fa-ui-grid" component includes a "show details" action that launches a modal, displaying the JSON representation of the document. See here : viewdetail

We want this detail view to be more UI friendly, it should:

  • Display each field from the model in an appropriate HTML element (textbox, dropdown, etc as appropriate)
    • This could be wholly generated from the resources metadata, or
    • The definition of the detail view, columns, rows, which field where, which type of input, etc could be provided to the fa grid by the host angular application and layered over the resource definition
  • Allow the fields to be edited
  • Include a save button to persist the document back to the fortune API
  • Display a success or error message based on the response
  • Ensure the fa-ui-grid is updated after saving if any of the fields in view are changed

NB. We should have an example page within the fa grid repo showing the concept of addition config being provided for a resource, such as the default fields to display for that resource in an fagrid

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

No branches or pull requests

1 participant