Skip to content

feat: [WD-33240] Full Site View#315

Merged
Onibenjo merged 36 commits into
feature-task-managementfrom
WD-33240/full-site-view
May 8, 2026
Merged

feat: [WD-33240] Full Site View#315
Onibenjo merged 36 commits into
feature-task-managementfrom
WD-33240/full-site-view

Conversation

@Onibenjo
Copy link
Copy Markdown
Contributor

@Onibenjo Onibenjo commented Apr 23, 2026

Done

Refactored the Full Site View

QA steps

Checkout this pull request
Run the project using task
Access the application on localhost:8104/app
Go to Full Site View
Verify pages are displayed and looks as per figma
Verify clicking on a project shows it's pages
Verify the Side panel appears when you try to click an action
Verify that the search works
Verify that the filter works

Second part of the PR is here
#321

Fixes

Screenshots

image

It could be helpful to provide some screenshots to aid in QAing the change.

Onibenjo added 19 commits April 17, 2026 01:41
- Rename selectedProject to activeProject in IViewsStore to avoid
  naming collision with IStore.selectedProject (different type)
- Fix regex bug in selectTableView test helper
- Move headers to module-level constant
- Remove unnecessary gap: 0 in SCSS
URL cells wrap at any character so long URLs remain fully readable.
Title cells truncate to a single line with ellipsis; a native hover
tooltip exposes the full text.

Also tightens the sidebar: zero horizontal padding on the drawer,
alt background, and a highlighted background for the active project.
- Add FullSiteView.test.tsx with smoke test and mocks for panels/modals
- Include pre-staged table header, status dot, and pagination tweaks
Connects row-level contextual menu to Copy update, Page refresh, and
Remove page actions; renders singleton panels/modal outside the row loop.
MainTable.Header accepts className; classNames was being forwarded to the
<th> DOM element, leaving the Actions column header un-centered and
logging a React prop warning on every render.
@Onibenjo Onibenjo changed the title WD-33240/full-site-view [WD-33240] Full Site View Apr 30, 2026
@Onibenjo Onibenjo changed the title [WD-33240] Full Site View feat: [WD-33240] Full Site View Apr 30, 2026
@Onibenjo Onibenjo requested review from britneywwc and removed request for britneywwc May 1, 2026 14:54
Comment thread static/client/components/Views/FullSiteView/FullSiteView.tsx
{!isLoading && (
<div className="full-site-view__content-table-footer">
<hr className="p-rule" />
<TablePagination
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

The current pagination shows "10 out of Total pages", no matter the current page.

Image

Can we do something like we did on assets pagination, so the count updates to reflect current page?

Image

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

You mean on page 2, showing something like
Showing 20 out of Total pages?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Yes, we've done something similar for assets pagination.

Comment thread static/client/components/Views/FullSiteView/_FullSiteView.scss Outdated
Comment thread static/client/components/Views/FullSiteView/_FullSiteView.scss Outdated
Comment thread static/client/components/Views/FullSiteView/_FullSiteView.scss Outdated
@Onibenjo Onibenjo requested a review from muhammad-ali-pk May 7, 2026 07:39
Copy link
Copy Markdown
Contributor

@muhammad-ali-pk muhammad-ali-pk left a comment

Choose a reason for hiding this comment

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

LGTM! Approving with couple minor comments.

Comment thread static/client/helpers/permissions.ts Outdated
Comment thread static/client/components/RequestCopydocPanel/RequestCopydocPanel.tsx Outdated
Comment thread static/client/components/RequestCopydocPanel/RequestCopydocPanel.tsx Outdated
Comment thread static/client/components/RequestRemovalPanel/RequestRemovalPanel.tsx Outdated
Onibenjo added 2 commits May 8, 2026 12:22
…ssage

- Extract Next button onClick into handleNext useCallback in
  RequestCopydocPanel and RequestRemovalPanel.
- Use the same denial wording across tooltips and toast bodies:
  "Only the page owner, contributors, or an admin can perform actions".
@Onibenjo Onibenjo merged commit d8ea854 into feature-task-management May 8, 2026
9 checks passed
@Onibenjo Onibenjo deleted the WD-33240/full-site-view branch May 8, 2026 12:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants