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

Messages V1 Pagination #2862

Merged
merged 2 commits into from
Dec 23, 2022
Merged

Messages V1 Pagination #2862

merged 2 commits into from
Dec 23, 2022

Conversation

Mgrdich
Copy link
Contributor

@Mgrdich Mgrdich commented Nov 1, 2022

  • Breaking change? (if so, please describe the impact and migration path for existing application instances)

What changes did you make? (Give an overview)
I have added next and prev pagination to the old messages page.

Is there anything you'd like reviewers to focus on?

How Has This Been Tested? (put an "x" (case-sensitive!) next to an item)

  • No need to
  • Manually (please, describe, if necessary)
  • Unit checks
  • Integration checks
  • Covered by existing automation

Checklist (put an "x" (case-sensitive!) next to all the items, otherwise the build will fail)

  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation (e.g. ENVIRONMENT VARIABLES)
  • My changes generate no new warnings (e.g. Sonar is happy)
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • Any dependent changes have been merged

Check out Contributing and Code of Conduct

A picture of a cute animal (not mandatory but encouraged)

@Mgrdich Mgrdich requested a review from a team as a code owner November 1, 2022 20:20
@Mgrdich Mgrdich self-assigned this Nov 1, 2022
@github-actions github-actions bot added the status/triage Issues pending maintainers triage label Nov 1, 2022
@workshur
Copy link
Member

workshur commented Nov 7, 2022

@Haarolean, this one is ready for QA

@Haarolean Haarolean linked an issue Nov 7, 2022 that may be closed by this pull request
@Haarolean Haarolean added type/bug Something isn't working scope/frontend status/feature_testing This branch/PR has been deployed to a separate PRIVATE environment for testing. type/regression Something that has been previously fixed but got broken again and removed status/triage Issues pending maintainers triage labels Nov 7, 2022
@Haarolean Haarolean assigned armenuikafka and unassigned Mgrdich Nov 7, 2022
@Haarolean Haarolean requested a review from a team November 7, 2022 15:36
Copy link

@armenuikafka armenuikafka left a comment

Choose a reason for hiding this comment

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

seems not all messages are displayed within topic, there are 103 messages but displayed only 19. therefore pagination is not right. as we corrected the limitation for each page should be 100

pagination.mov

@armenuikafka armenuikafka removed their assignment Nov 14, 2022
@armenuikafka armenuikafka removed the status/feature_testing This branch/PR has been deployed to a separate PRIVATE environment for testing. label Nov 14, 2022
@Mgrdich Mgrdich requested review from a team and Haarolean as code owners November 16, 2022 11:30
@Mgrdich
Copy link
Contributor Author

Mgrdich commented Nov 16, 2022

seems not all messages are displayed within topic, there are 103 messages but displayed only 19. therefore pagination is not right. as we corrected the limitation for each page should be 100

pagination.mov

This is an old bug that is not related to the where you navigate to the page from the topic page the url, actually the code does not get updated before the request, once you refresh the page you will see 100 limited element in the messages

But i will see what i can do to fix it , cause the code in that particular is a bit messy. @Haarolean

@Mgrdich Mgrdich force-pushed the issues/2488 branch 2 times, most recently from 697547f to 7e3b7cd Compare November 16, 2022 13:21
add minor test in messages table component

Add Messages pagination

add next feature in the Advanced Filters

Messages Table add Back button navigation

remove un-necessary code from the messages table

minor code refactors to remove unnecessary codes

page parameter fix in the query of the advanced Filters

minor change in the test file to keep uniformity of the project

set default table limit for first request messages v1
@sonarqubecloud
Copy link

SonarCloud Quality Gate failed.    Quality Gate failed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

69.4% 69.4% Coverage
0.0% 0.0% Duplication

@Mgrdich Mgrdich removed request for a team and Haarolean November 16, 2022 19:27
@Haarolean Haarolean closed this Dec 22, 2022
@Haarolean Haarolean added the status/feature_testing This branch/PR has been deployed to a separate PRIVATE environment for testing. label Dec 22, 2022
@Haarolean Haarolean reopened this Dec 22, 2022
@Haarolean Haarolean removed the status/feature_testing This branch/PR has been deployed to a separate PRIVATE environment for testing. label Dec 22, 2022
@github-actions
Copy link

Custom deployment removed

@github-actions
Copy link

Custom deployment will be available at http://pr2862.internal.kafka-ui.provectus.io

@sonarqubecloud
Copy link

SonarCloud Quality Gate failed.    Quality Gate failed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 2 Code Smells

68.6% 68.6% Coverage
0.0% 0.0% Duplication

@Haarolean Haarolean merged commit 33784e3 into master Dec 23, 2022
@Haarolean Haarolean deleted the issues/2488 branch December 23, 2022 11:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
scope/frontend type/bug Something isn't working type/regression Something that has been previously fixed but got broken again
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Messages pagination is missing
4 participants