Skip to content

2964: Project Workflow (Create/Edit ) - Add Pagination Component with clickable pages#3086

Open
ijoel wants to merge 6 commits intohackforla:developfrom
ijoel:ijoel/2964-add-page-clickable-pagination
Open

2964: Project Workflow (Create/Edit ) - Add Pagination Component with clickable pages#3086
ijoel wants to merge 6 commits intohackforla:developfrom
ijoel:ijoel/2964-add-page-clickable-pagination

Conversation

@ijoel
Copy link
Copy Markdown
Member

@ijoel ijoel commented Apr 1, 2026

What changes did you make?

The changes enhance the pagination component of the View/Edit Project workflow. The user now has the ability to directly navigate to a page previously visited by clicking the desired page navigation button.

The updated behavior matches the desired state specified on the issue

  • The calculation wizard should have a pagination component that displays clickable link to each page, thereby allowing users to click on the link and navigate directly to the page of concern.
  • If its a Level 0 project, the link to page 4 should be disabled.
  • This should only show up if the project has been saved and the project is a draft owned by the logged-in user.
  • If the project is a draft that has not been saved, it should still show "Page N/5" between the Next and Previous buttons as it does now.

Why did you make the changes (we will use this info to test)?

The changes achieve the requested enhancements to the pagination component.

Issue-Specific User Account

Tested in an unauthentication session and with an authenticated user: ladot@dispostable.com

Screenshots of Proposed Changes Of The Website

Visuals before changes are applied

wizard_footer_pagination_unchanged

Visuals after changes are applied

wizard_footer_new_behavior

ijoel added 5 commits March 29, 2026 23:14
- handle resets if the user opens a different project
- update mapping logic to construct array up to highestPage
The state to track wizard page advancement, highestPage, was lifted to facilitate
passing a boolean to hide the discover tooltips component within its
parent ProjectDescriptions. This is a reasonable workaround, given
that tooltip should the user open a project, advance pagination
forward, and finally return to the first page of the wizards and
discover that the tooltips component is hidden.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Dev: Add Pagination Component with each page clickable to the Create/Edit Project workflow

1 participant