feat(incident timeline): add pagination and interval support#29
Open
balazstasi wants to merge 1 commit intomrshu:masterfrom
Open
feat(incident timeline): add pagination and interval support#29balazstasi wants to merge 1 commit intomrshu:masterfrom
balazstasi wants to merge 1 commit intomrshu:masterfrom
Conversation
49db4e4 to
a884e48
Compare
ad46b8e to
fab54a4
Compare
Replace the binary Show more/fewer toggle with proper page-based pagination (4 date groups per page). Navigation uses prev/next arrow buttons with a 'Page X of Y' label in the top-right corner of the panel header, consistent with the existing Uptime History controls. - Swap showAll boolean for currentPage / ITEMS_PER_PAGE logic - Reuse .icon-button styling for prev/next arrows - Add .pagination and .pagination-label CSS - Remove bottom footer toggle — controls live only in panel header Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
fab54a4 to
016589c
Compare
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Replaces the binary Show more / Show fewer toggle on the Incident Timeline with proper page-based pagination and a simple native calendar interval option to filter for a specific interval
Screenshot
Changes
.icon-buttonstyling for prev/next arrows; adds.paginationand.pagination-labelCSS