-
Notifications
You must be signed in to change notification settings - Fork 108
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support for dynamic pagination (#3386)
* PBENCH-732 Pagination for Browsing Page
- Loading branch information
Showing
10 changed files
with
356 additions
and
173 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
export const DEFAULT_PER_PAGE = 20; | ||
export const INITIAL_PAGE_LIMIT = 60; | ||
export const INITIAL_RESULT_OFFSET = 0; | ||
export const OVERFETCH_FACTOR = 3; | ||
export const PER_PAGE_OPTIONS = [ | ||
{ title: "10", value: 10 }, | ||
{ title: "20", value: 20 }, | ||
{ title: "50", value: 50 }, | ||
]; | ||
export const START_PAGE_NUMBER = 1; |
142 changes: 83 additions & 59 deletions
142
dashboard/src/modules/components/DatePickerComponent/index.jsx
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
5 changes: 5 additions & 0 deletions
5
dashboard/src/modules/components/DatePickerComponent/index.less
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,8 @@ | ||
.filterInputGroup { | ||
margin-left: 10px; | ||
} | ||
.browsing-page-date-picker { | ||
.pf-c-date-picker__helper-text { | ||
color: #c9190b; | ||
} | ||
} |
Oops, something went wrong.