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

[Enhancement kbss-cvut/termit-ui#520] Change record filtering #313

Merged
merged 21 commits into from
Nov 25, 2024

Conversation

lukaskabc
Copy link
Collaborator

resolves kbss-cvut/termit-ui#520

Implements filtering in ChangeRecordDao.
Several tests required modification because change records were stored in the vocabulary context instead of the change context.

lukaskabc and others added 18 commits November 11, 2024 13:30
…ry detailed endpoint allowing result filtering.
…history query

Query filters were using wrong variables, and removed unnecessary optional block.
…d vocabulary content detailed history endpoint
…ring vocabulary content changes by change type.
…ocabulary content endpoint return results when no filter is specified.
…yId to return optional URI instead of throwing when term is not found (not in a vocabulary).
… VocabularyDaoTest to ChangeRecordDaoTest.
@lukaskabc lukaskabc requested a review from ledsoft November 15, 2024 10:37
Copy link
Contributor

@ledsoft ledsoft left a comment

Choose a reason for hiding this comment

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

Just a couple of minor comments. The query method in ChangeRecordDao looks horrible, but in this case, I agree with you that splitting it into smaller methods would make it probably less readable...

@lukaskabc lukaskabc force-pushed the lukaskabc/Enhancement-520 branch from 736dc83 to ab07485 Compare November 24, 2024 11:04
# Conflicts:
#	src/main/java/cz/cvut/kbss/termit/persistence/dao/VocabularyDao.java
#	src/test/java/cz/cvut/kbss/termit/persistence/dao/VocabularyDaoTest.java
#	src/test/java/cz/cvut/kbss/termit/rest/VocabularyControllerTest.java
Copy link
Contributor

@ledsoft ledsoft left a comment

Choose a reason for hiding this comment

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

LGTM, works nicely!

@ledsoft ledsoft merged commit d487461 into kbss-cvut:development Nov 25, 2024
2 checks passed
@ledsoft ledsoft linked an issue Nov 25, 2024 that may be closed by this pull request
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.

Filtrování v historii změn
2 participants