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

Preselect the default categories when creating organization problems #372

Merged
merged 4 commits into from Jan 14, 2024

Conversation

jalsol
Copy link
Collaborator

@jalsol jalsol commented Jan 12, 2024

Description

Type of change: Refactor

What

image

Preselect the default category for problem group and problem types. It will select "Uncategorized" (or the first category by ID if "Uncategorized" does not exist).

Why

Reduce repetitive manual work for users.

How Has This Been Tested?

Tested on local version of VNOJ.

Checklist

Put an x in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your code.

  • I have explained the purpose of this PR.
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the README/documentation
  • Any dependent changes have been merged and published in downstream modules
  • Informed of breaking changes, testing and migrations (if applicable).
  • Attached screenshots (if applicable).

By submitting this pull request, I confirm that my contribution is made under the terms of the AGPL-3.0 License.

@jalsol jalsol force-pushed the truong/org-problem-default-category branch from 6bb31fc to d81debc Compare January 13, 2024 14:39
@jalsol jalsol changed the title Preselect the default category when creating organization problems Preselect the default categories when creating organization problems Jan 13, 2024
@hieplpvip hieplpvip force-pushed the truong/org-problem-default-category branch from 2d3a20c to 57539bc Compare January 14, 2024 04:31
@hieplpvip hieplpvip merged commit 261841b into master Jan 14, 2024
6 checks passed
@hieplpvip hieplpvip deleted the truong/org-problem-default-category branch January 14, 2024 04:33
trantuyet pushed a commit to trantuyet/OJ that referenced this pull request Jan 17, 2024
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.

None yet

2 participants