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

Pagination refactor #947

Merged
merged 5 commits into from
Nov 9, 2023
Merged

Conversation

mstrlc
Copy link
Contributor

@mstrlc mstrlc commented Aug 29, 2023

This PR aims to refactor Pagination in Airgun.

First step with this commit is to change Pagination in individual views to Widgetastic's implementation. It's methods should be compatible with Airgun's existing Pagination widget, so no need to change code that uses it.

Next step is to look into SatTable and it's Pagination.

@mstrlc mstrlc self-assigned this Aug 29, 2023
@mstrlc mstrlc added 6.12.z CherryPick PR needs CherryPick to previous branches 6.13.z 6.14.z labels Aug 29, 2023
@mstrlc mstrlc force-pushed the pagination-refactor branch from 299014d to 25d0a68 Compare September 20, 2023 13:33
@mstrlc
Copy link
Contributor Author

mstrlc commented Sep 20, 2023

  • Renamed uses of PF4Pagination so Airgun's and Widgetastic's implementations can be told apart in code.
  • The tables implemented as SatTable in Airgun seem to all use PF4 pagination, so they were updated accordingly.
  • No need for some custom classes anymore as they're covered by Widgetastic.

@mstrlc mstrlc marked this pull request as ready for review September 21, 2023 13:21
@omkarkhatavkar
Copy link

trigger: test-robottelo

@omkarkhatavkar
Copy link

@mstrlc Can you please resolve the conflicts and run test manually or dummy PR from PRT

@mstrlc mstrlc force-pushed the pagination-refactor branch from 25d0a68 to 53a1ccf Compare November 6, 2023 09:37
@mstrlc
Copy link
Contributor Author

mstrlc commented Nov 7, 2023

Fixed Pagination in SatTable to not break existing code. Tested manually, found everything works as it should. Running PRT in Robottelo PR with a dummy test.

@mstrlc
Copy link
Contributor Author

mstrlc commented Nov 9, 2023

PRT pass.

@mstrlc mstrlc requested a review from omkarkhatavkar November 9, 2023 09:46
@omkarkhatavkar
Copy link

PRT pass.

Nice Job @mstrlc

@omkarkhatavkar omkarkhatavkar merged commit cd24e60 into SatelliteQE:master Nov 9, 2023
5 checks passed
github-actions bot pushed a commit that referenced this pull request Nov 9, 2023
* update views to use Widgetastic's PF4 Pagination

* rename to PF4Pagination

* fix SatTable locator

* add Pagination to location for testing

* pre-commit

(cherry picked from commit cd24e60)
mstrlc added a commit to mstrlc/airgun that referenced this pull request Nov 14, 2023
* update views to use Widgetastic's PF4 Pagination

* rename to PF4Pagination

* fix SatTable locator

* add Pagination to location for testing

* pre-commit
mstrlc added a commit to mstrlc/airgun that referenced this pull request Nov 14, 2023
* update views to use Widgetastic's PF4 Pagination

* rename to PF4Pagination

* fix SatTable locator

* add Pagination to location for testing

* pre-commit
omkarkhatavkar pushed a commit that referenced this pull request Nov 16, 2023
* update views to use Widgetastic's PF4 Pagination

* rename to PF4Pagination

* fix SatTable locator

* add Pagination to location for testing

* pre-commit

(cherry picked from commit cd24e60)

Co-authored-by: Matyáš Strelec <[email protected]>
omkarkhatavkar pushed a commit that referenced this pull request Nov 16, 2023
* update views to use Widgetastic's PF4 Pagination

* rename to PF4Pagination

* fix SatTable locator

* add Pagination to location for testing

* pre-commit
omkarkhatavkar pushed a commit that referenced this pull request Nov 16, 2023
* update views to use Widgetastic's PF4 Pagination

* rename to PF4Pagination

* fix SatTable locator

* add Pagination to location for testing

* pre-commit
damoore044 pushed a commit to damoore044/airgun that referenced this pull request Jan 12, 2024
* update views to use Widgetastic's PF4 Pagination

* rename to PF4Pagination

* fix SatTable locator

* add Pagination to location for testing

* pre-commit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
6.12.z 6.13.z 6.14.z CherryPick PR needs CherryPick to previous branches
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants