Repository navigation
Add a Notes section in the Dashboard Activity widget #13076
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
mcrisp1972
wants to merge
44
commits into
WordPress:trunk
Choose a base branch
from
mcrisp1972:ticket/65890
base: trunk
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.
Open
Changes from all commits
Commits
Show all changes
44 commits
Select commit
Hold shift + click to select a range
19b54cf
initial function scaffold
mcrisp1972 ca542fb
notes query now actually queries notes
mcrisp1972 ee50531
formatting for notes in dashboard
ammist fea7334
Merge branch 'ticket/65890' of github.com:mcrisp1972/wordpress-develo…
ammist 718a4d3
formatting for notes - first pass
ammist 6488085
cleaned up the styling for the notes activity
ammist ea90ef6
update naming of the variable and fix formating
aosmichenko e8f2308
include notes to widget content check
aosmichenko 7fa824a
merge conflict
mcrisp1972 c104eb1
Update the layout and view
aosmichenko 4acbc98
Dashboard: Cast the note post ID to an integer before use.
adamsilverstein 00da3a9
Merge branch 'ticket/65890' of github.com:mcrisp1972/wordpress-develo…
aosmichenko d529b4b
remove comments
aosmichenko cef6eee
Dashboard: Count open notes with a count query per post.
adamsilverstein 7718c53
Dashboard: Add tests for the Notes section rows.
adamsilverstein 8e1a922
Dashboard: Cover the Notes section listing, and store test notes on h…
adamsilverstein 8162132
Dashboard: Date the Notes section by the last reply to a thread.
adamsilverstein d4d4678
Dashboard: Bound the note paging of the Notes section.
adamsilverstein c8c9b7f
Dashboard: Lay Notes rows out like the sections above them.
adamsilverstein f455b6e
Dashboard: Date the Notes rows with a human-readable time difference.
adamsilverstein 38c132f
Merge remote-tracking branch 'origin/trunk' into pr13076
adamsilverstein b74996a
Merge branch 'trunk' into ticket/65890
adamsilverstein 36bab05
Tests: Trim the Recent Notes tests to the behavior the dashboard adds.
adamsilverstein 2a79ca3
Apply batched suggestions from code review
adamsilverstein 8afe348
Dashboard: Render Recent Notes rows inline with PHP templating.
adamsilverstein 67b924f
Merge branch 'trunk' into ticket/65890
adamsilverstein 1ef3aea
Dashboard: Guard the note date before computing its age.
adamsilverstein dcef80f
Upgrade/Install: Add a default note to the first post.
adamsilverstein c0f4aea
Apply suggestion from @adamsilverstein
adamsilverstein aeff5dc
Merge branch 'trunk' into ticket/65890
westonruter 1273a5c
Fix argument.type PHPStan error when `get_edit_post_link()` returns `…
westonruter 6e6cc5a
Add void return types to wp_dashboard_recent_notes() test methods
westonruter da011b1
Specify the return shape of the recent notes test's render() helper
westonruter 11157bc
Assert the post has an edit link before escaping it in the recent not…
westonruter 5b86d0d
Assert the first post exists in the multisite install defaults tests
westonruter d15b148
Compare whole block attributes in the multisite first post note tests
westonruter c630705
Add native parameter types to the first post note test helpers
westonruter df15644
Add native return and property types to the first post note tests
westonruter 87ae168
Use null for default value for author arg
westonruter b0723a2
Narrow type for admin_id and author_id properties
westonruter 5fe68ed
Add native type hint for $total_items param for wp_dashboard_recent_n…
westonruter 00aac32
Query posts with open notes in one grouped query.
adamsilverstein 146ad24
Only rewrite the first block delimiter when adding the default note.
adamsilverstein 244f4a7
Add a First Note network setting for the default note.
adamsilverstein 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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.