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

Improved UX for ordering Notes related to Releases is needed #776

Open
stevejalim opened this issue Aug 26, 2023 · 3 comments
Open

Improved UX for ordering Notes related to Releases is needed #776

stevejalim opened this issue Aug 26, 2023 · 3 comments
Assignees

Comments

@stevejalim
Copy link
Contributor

A Release may have one or more Notes associated with it. The relation which supports this allows for an integer-based ordering field. However, if NoteX needs to be ordered to appear before NoteQ, the release-notes team need to potentially manually edit the integer value for all of the associated Notes.

We need a better UX for this, and drag and drop feels like a good fit.

Given this is modelled in the Django admin as an Inline, it should be possible to drop in a drag-and-drop JS helper - unless the modelling is actually more complex than it seems on the surface

@stevejalim stevejalim self-assigned this Aug 26, 2023
@stevejalim
Copy link
Contributor Author

@stevejalim
Copy link
Contributor Author

stevejalim commented Nov 19, 2023

Actually - the notes table isn't a default django-admin inline, because there's no actual FK/M2M at in the Django model.

admin-sortable2 was opinionated about needing django 4 so trying https://github.com/jazzband/django-admin-sortable

UPDATE: yeah, none of the Admin-oriented ways will work, but it looks like the Notes panel is in React so maybe we can add something in there

@stevejalim
Copy link
Contributor Author

Talking about this within the team, we could refactor away from React for the Notes Table, or enhance what we have, OR we could park this until a grander refactor of Nucleus in 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

1 participant