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 admisn display the ticket #558

Closed
DonHaul opened this issue Aug 27, 2024 · 0 comments
Closed

In workflows admisn display the ticket #558

DonHaul opened this issue Aug 27, 2024 · 0 comments

Comments

@DonHaul
Copy link
Collaborator

DonHaul commented Aug 27, 2024

Similar to #549

We should display the tickets 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 WorkflowsTicketsnline(admin.StackedInline):
    model = Decision
    extra = 0
    can_delete = False
    show_change_link = True
    readonly_fields = [
     ticket_url,
    ]

and this should be added to WorkflowAdmin in the inlines

Acceptance:

  • We have to display a list of tickets inside the workflow admin UI.
  • Ensure that the user is also visible not just the user id
@miguelgrc miguelgrc self-assigned this Aug 28, 2024
miguelgrc added a commit to miguelgrc/backoffice that referenced this issue Aug 29, 2024
miguelgrc added a commit to miguelgrc/backoffice that referenced this issue Aug 29, 2024
miguelgrc added a commit to miguelgrc/backoffice that referenced this issue Aug 29, 2024
miguelgrc added a commit to miguelgrc/backoffice that referenced this issue Aug 30, 2024
drjova pushed a commit to inspirehep/backoffice that referenced this issue Aug 30, 2024
DonHaul pushed a commit to DonHaul/inspirehep that referenced this issue Sep 2, 2024
DonHaul pushed a commit to DonHaul/inspirehep that referenced this issue Sep 2, 2024
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

4 participants