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

BITMAKER-3465 Stats module: Apply pagination to jobs per day in estela #204

Merged
merged 6 commits into from Jul 10, 2023

Conversation

webtaken
Copy link
Contributor

@webtaken webtaken commented Jul 6, 2023

Description

Description

When the user wants the stats for the jobs executed in a specific date we need to provide a paginated result since the amount of jobs executed in a day could be huge. We'll organize this type of pagination by spiders executed in an specific date (paginated also) and then fetching jobs of those spiders (specific spider) executed that date.

Completion criteria:

  • There are views for different pagination requests.

Note (https://tasks.bitmaker.dev/issues/3465#note-1):

Issue

Checklist before requesting a review

  • I have performed a self-review of my code.
  • My code follows the style guidelines of this project.
  • I have made corresponding changes to the documentation.
  • New and existing tests pass locally with my changes.
  • If this change is a core feature, I have added thorough tests.
  • If this change affects or depends on the behavior of other estela repositories, I have created pull requests with the relevant changes in the affected repositories. Please, refer to our official documentation.
  • I understand that my pull request may be closed if it becomes obvious or I did not perform all of the steps above.

@webtaken webtaken added the enhancement New feature or request label Jul 6, 2023
@webtaken webtaken self-assigned this Jul 6, 2023
estela-web/src/components/Stats/StatsTableSection.tsx Outdated Show resolved Hide resolved
estela-web/src/utils.ts Outdated Show resolved Hide resolved
@webtaken webtaken requested a review from mgonnav July 7, 2023 23:03
Copy link
Contributor Author

@webtaken webtaken left a comment

Choose a reason for hiding this comment

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

I have done all the changes.

@webtaken webtaken merged commit 93af09c into stats-module Jul 10, 2023
1 check passed
@webtaken webtaken deleted the BITMAKER-3465 branch July 10, 2023 16:59
webtaken added a commit that referenced this pull request Jul 13, 2023
#204)

* Added spiders endpoint to global stats and modified the stats serializers schema

* Fixed issues with api generation, changed some schema responses and updated viewsets names

* Added jobs action method to spiders viewset

* Added the integration in frontend with the backend, disabled the expandable feature on the stats table

* Disabling expandable row on stats table section

* Fix issues mentioned on my reviewer's comments
webtaken added a commit that referenced this pull request Jul 17, 2023
#204)

* Added spiders endpoint to global stats and modified the stats serializers schema

* Fixed issues with api generation, changed some schema responses and updated viewsets names

* Added jobs action method to spiders viewset

* Added the integration in frontend with the backend, disabled the expandable feature on the stats table

* Disabling expandable row on stats table section

* Fix issues mentioned on my reviewer's comments
webtaken added a commit that referenced this pull request Jul 19, 2023
* BITMAKER-3465 Stats module: Apply pagination to jobs per day in estela (#204)

* Added spiders endpoint to global stats and modified the stats serializers schema

* Fixed issues with api generation, changed some schema responses and updated viewsets names

* Added jobs action method to spiders viewset

* Added the integration in frontend with the backend, disabled the expandable feature on the stats table

* Disabling expandable row on stats table section

* Fix issues mentioned on my reviewer's comments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants