-
-
Notifications
You must be signed in to change notification settings - Fork 11.9k
Ported the posts and pages lists to React behind a flag #29785
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
Open
peterzimon
wants to merge
80
commits into
main
Choose a base branch
from
react-posts-pages-list
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+12,993
−191
Open
Changes from all commits
Commits
Show all changes
80 commits
Select commit
Hold shift + click to select a range
d4a18c1
Added postsListReact flag gating the posts and pages lists
peterzimon 362831f
Added acceptance coverage for the posts and pages list flag
peterzimon c0ccf12
Added the posts list query and filter param layer
peterzimon 2b445f6
Added the posts and pages list data layer
peterzimon 7df6f29
Fixed an incorrect claim about the posts list request params
peterzimon 3a0be4a
Fixed sequencing, author scoping and paging in the posts list data layer
peterzimon a21ee4d
Reverted premature rendering of partially loaded post buckets
peterzimon 667f132
Added the post row copy as pure functions
peterzimon 4b94eca
Added post rows and the two empty states
peterzimon f41cd1f
Changed post status colours to Shade's semantic state tokens
peterzimon eebb1f3
Fixed post row parity issues found in review
peterzimon 7034b8c
Added the posts and pages filter bar and sort control
peterzimon 6844fff
Fixed duplicate filter chips on the posts list
peterzimon 3a587e9
Fixed unknown filter values, author paging and typing on the posts list
peterzimon a954a26
Fixed sidebar highlighting for the React posts list
peterzimon b208c05
Added sticky filters to the React posts sidebar
peterzimon 65edcad
Added save-as-view to the React posts list
peterzimon 5a9e41e
Added the analytics metric columns to post rows
peterzimon 9f63552
Fixed data loss and regressions in posts saved views
peterzimon 5abbfae
Added visitor and member counts to the posts list metrics
peterzimon 8b91fba
Added metric hover panels and row actions to the React posts list
peterzimon 70aa219
Added modifier-click selection to the React posts list
peterzimon 83e7026
Fixed selected rows reading as unselected while hovered
peterzimon 3058ff8
Added the right-click menu to the React posts list
peterzimon 6daf940
Added bulk delete, unpublish and feature to the React posts list
peterzimon dee4939
Added bulk tagging and access changes to the React posts list
peterzimon 2509e0f
Fixed the posts list freezing after a bulk edit
peterzimon 58e134a
Removed a bad Ember store invalidation from the posts list
peterzimon 0841a1f
Added the publish-celebration handoff to the React posts list
peterzimon 1072977
Fixed the publish celebration never firing under StrictMode
peterzimon cc16c05
Fixed the publish celebration never firing for pages
peterzimon 81985ed
Merged main into the React posts list branch
peterzimon e6ba244
Added a dual-implementation e2e suite for the posts list
peterzimon 9974df9
Expanded the dual-implementation e2e suite for the posts list
peterzimon fc2ea36
Added selection and bulk-delete coverage to the posts list e2e suite
peterzimon 76edafd
Fixed the sidebar staying visible in the editor
peterzimon 23ec939
Fixed a tag made in the editor missing from the posts list filter
peterzimon f7ae54b
Fixed the posts list gate tests broken by the main merge
peterzimon 811a61e
Merge remote-tracking branch 'origin/main' into react-posts-pages-list
peterzimon 4983b83
Merged main into the React posts list branch
peterzimon de5ae74
Moved selection and menu coverage into the dual e2e suite
peterzimon 044d957
Improved posts list selection speed by rendering the menu inside the row
peterzimon 2fa3e59
Added selection and context menu coverage to the dual e2e suite
peterzimon 216ac33
Added delete coverage to the dual posts list e2e suite
peterzimon f04d7a7
Removed build output accidentally committed in a merge
peterzimon a57cf8c
Improved the visual details of the React posts list rows
peterzimon 68ff06f
Fixed reopening the same post rendering an empty screen
peterzimon 845abe2
Changed the React posts list header to match the members list
peterzimon 0f63865
Improved the filter and sort controls on the React posts list
peterzimon a9c2c59
Fixed the editor back button pointing at Analytics from the posts list
peterzimon 45f8380
Changed the React posts list selected row to a light blue
peterzimon 8136a85
Improved the React posts list right-click menu
peterzimon 24350f8
Fixed the Ember posts list losing its gift-link modal behind the Reac…
9larsons e9d708e
Fixed stale caches and wrong-bucket rows after posts list bulk actions
9larsons c3d3070
Fixed the e2e posts filter helper racing Ember re-renders
9larsons 20f206d
Merge remote-tracking branch 'origin/main' into react-posts-pages-list
peterzimon bc0b2fe
Merge remote-tracking branch 'origin/react-posts-pages-list' into rea…
peterzimon 5ec97d9
Fixed the posts list analytics counts blanking while the next page loads
9larsons 8ba4c93
Added accessible descriptions to the bulk tag and access modals
9larsons ac387dc
Cleaned dead code and a stale docblock from the posts list
9larsons 7e68475
Moved the posts list testids into the shared selectors package
9larsons 0ce4871
Cleaned the duplicated boot fakes from the posts list acceptance tests
9larsons 896bc2e
Fixed the clipboard stub leaking across context-menu tests
9larsons 05562fc
Changed the Ember posts route flag check to strict boolean
9larsons 538d1fd
Fixed parking the Ember router wiping react-router's history state
9larsons a390361
Fixed bulk-action totals drifting on edits and inverted deletes
9larsons be993ae
Fixed a stray menu separator for a single public published post
9larsons 1e007b8
Changed the e2e posts filter helpers to branch by implementation ever…
9larsons a25dcf0
Removed a mis-attributed perf note from the selection hook
9larsons bbfe422
Removed two e2e posts tests already covered by acceptance
9larsons b72ede2
Added the unfiltered-unpublish divergence to the e2e divergences suite
9larsons 1253a20
Cleaned narrative comments and a dead memo from the posts list
9larsons a60091d
Added unit coverage for the bulk-action cache totals
9larsons c8736cf
Improved the analytics popover on the React posts list
peterzimon 3f6c192
Changed the per-row analytics to Ember's icon style
peterzimon 1d899fe
Changed the add-tag modal to a chip picker
peterzimon a1ca916
Fixed new tags missing from the list until a refresh
peterzimon 95bf1ba
Improved the tag picker's keyboard and selection behaviour
peterzimon 1c873dc
Fixed same-named filter options highlighting together
peterzimon 1f0473d
Merge remote-tracking branch 'origin/main' into react-posts-pages-list
peterzimon File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
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
2 changes: 1 addition & 1 deletion
2
apps/admin/src/analytics/views/stats/overview/components/top-posts.tsx
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
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
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🎯 Functional Correctness | 🟡 Minor | ⚡ Quick win
Assert
PagesResponseTypeinvalidation for a page save.This test only checks
TagsResponseType. It passes ifpagemaps to any configured data type, including an incorrect one. Seed aPagesResponseTypequery and assert that the page event invalidates it.🤖 Prompt for AI Agents