Skip to content

Conversation

meisterT
Copy link
Member

@meisterT meisterT commented Oct 3, 2025

Part of #229


If this gets merged, I can extend this to other entities.

@vmcj
Copy link
Member

vmcj commented Oct 3, 2025

Do you have a screenshot of how it looks?

@nickygerritsen
Copy link
Member

If we do this for more entities we should probably generalise it a bit

@meisterT
Copy link
Member Author

meisterT commented Oct 3, 2025

image image

@meisterT
Copy link
Member Author

meisterT commented Oct 4, 2025

If we do this for more entities we should probably generalise it a bit

Happy to generalize once we decided this is roughly how we want multi-delete to work. (I would also merge this first, and then generalize.)

@meisterT
Copy link
Member Author

meisterT commented Oct 4, 2025

Here is a potential generalization demonstrated for the user entity: 749efc9

@nickygerritsen
Copy link
Member

Looks good

@meisterT meisterT added this pull request to the merge queue Oct 4, 2025
{% else %}
<p>You're about to delete {{ type }} {{ primaryKey }} "{{ description }}".</p>
{% if count > 1 %}
<p>You're about to delete the following {{ count }} {{ type }}s:</p>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nitpick: the plural doesn't work for "category", not sure that's important enough to fix.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

indeed, I will see how to solve it when I get to team categories

Merged via the queue into DOMjudge:main with commit 2222a86 Oct 4, 2025
36 checks passed
@meisterT meisterT deleted the prob_md branch October 4, 2025 09:21
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

Successfully merging this pull request may close these issues.

4 participants