-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Activity log pagination and filtering (#2786)
* Pull in Flop as a dependency .. and add config * Setup schema level config and flop defaults * Adds some tests * Updates test test now uses factory inserted columns and Enum operations on these for assertions. * Implements pagination endpoint WIP * Address PR comment Makes use of `insert_list` * Adds test for pagination Changes query params for supporting pagination; removes unused field in view. * Fixes credo * Updates view/test - Some renaming - Removes one test * mix format * General refactor; Addresses PR comments - Simplifies implementation of parse_params according to suggestion - Moves parse_params function to context module - Removes some dead/unused code - Adds error response of 400 bad request - Some general refactoring/default removal * Adds some docs According to PR comment * Refactors schema According to PR comment * Update lib/trento/activity_log.ex Co-authored-by: Nelson Kopliku <[email protected]> * Update lib/trento/activity_log.ex PR suggestion. Co-authored-by: Emanuele De Cupis <[email protected]> * Fixes openapi schema Needs to be nested and in specific order. Re-adds a removed field (id). * Fixes/Rebase clean-up for a rebase * Adds test for date ranges * Small refactor of the context module - prevents type errors - corrects incorrect comment - minor refactoring * Renaming According to PR comments * Removes unnecessary guard * More tests; removes some response fields According to PR comments * Disables api-bc-check dependency Temporary, to allow CI runs, to be reverted * Revert "Disables api-bc-check dependency" This reverts commit 28aa22c. * Makes function private * Makes function private --------- Co-authored-by: Emanuele De Cupis <[email protected]> Co-authored-by: Nelson Kopliku <[email protected]>
- Loading branch information
1 parent
fed0401
commit 33a61f4
Showing
12 changed files
with
437 additions
and
78 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.