mirror of
https://github.com/coder/coder.git
synced 2026-11-15 04:29:33 +08:00
* chore: revamp Page Utility tests * refactor: simplify component design for PageButton * chore: beef up isNonInitialPage and add tests * docs: clean up comments * chore: quick refactor for buildPagedList * refactor: clean up math calculations for buildPagedList * chore: rename PageButtons file * chore: revamp how nav buttons are defined * fix: remove test disabled state * chore: clean up base nav button * chore: rename props for clarity * refactor: clean up logic for isNonInitialPage * chore: add more tests and catch bugs * docs: fix confusing typo in comments * chore: add one more test case for pagination buttons * refactor: update props definition for PaginationNavButton * fix: remove possible state sync bugs