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

In workflows admin display the decision #549

Closed
drjova opened this issue Aug 26, 2024 · 0 comments
Closed

In workflows admin display the decision #549

drjova opened this issue Aug 26, 2024 · 0 comments

Comments

@drjova
Copy link
Contributor

drjova commented Aug 26, 2024

We should display the decision inside the workflow detail page in admin.

We can achieve that by using inlines in the Admin configuration. Another example is in scoap3

Image

Tech notes:

  • Add an inline for decisions something like:
class WorkflowsDecisionsInline(admin.StackedInline):
    model = Decision
    extra = 0
    can_delete = False
    show_change_link = True
    readonly_fields = [
     action,
     workflows,
      _updated_at
     user,
    ]

and this should be added to WorkflowAdmin in the inlines

Acceptance:

  • We have to display a list of decisions inside the workflow admin UI.
  • Ensure that the user is also visible not just the user id
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants