-
Notifications
You must be signed in to change notification settings - Fork 204
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
Sidebar Plugin for Block Editor Integration #790
Merged
Merged
Changes from 110 commits
Commits
Show all changes
111 commits
Select commit
Hold shift + click to select a range
f0159c5
feat: add changes from proof of concept
laras126 15196c3
fix: add rest base
laras126 1437ba9
fix: path and rest_base for tax
laras126 5fa553b
fix: rest base
laras126 8c66439
WIP: added stylesheet, autofix
laras126 8e506c5
feat: styling
laras126 1bc5350
refact: move authors selection to component file
laras126 33b6d5e
feat: saving terms is working
laras126 4cd0d39
test: move fixtures
laras126 cc834b3
test: rename dir
laras126 d52536f
test: add unhappy path tests
laras126 82f7d43
test: rename
laras126 2b8a1cc
chore: add scripts
laras126 e2709cf
refact: rename fns, organizing
laras126 46a730a
chore: build
laras126 883e87c
feat: add endpoint scaffold
laras126 0efdf26
feat: hook up data for endpoint
laras126 1cb844a
refact: add regex for query in endpoint
laras126 86156ff
WIP: fetch in on filter change
laras126 f562ffd
feat: show search response in combobox
laras126 873ebbc
fix; rename
laras126 de19e28
feat: add route for single author
laras126 1fe06b9
test: test for adding endpoints
laras126 9480121
feat: add post request, use namespace
laras126 1be03c9
test: stub test cases
laras126 5409370
test: adding coverage and improvements
laras126 3bbf0c5
test: add tests for callback methods, updates to methods
laras126 ed7a09a
wip: refactoring for using endpoints
laras126 5a0ca8d
fix: response for no authors found
laras126 d80239e
feat: update from UI working
laras126 d20e56c
fix: add spinner, auto format js
laras126 0abb419
chore: remove unused tests, methods
laras126 b4b5ea6
chore: remove one more
laras126 dab7d6f
fix: buggy moveItem
laras126 c55a28b
refact: remove setstate from reordering method
laras126 56a29ad
feat: removeItem method
laras126 58db632
fix: rm old method
laras126 224134b
wip: refact to include display name in authorlist
laras126 240e3b7
refact: add method for add item
laras126 a273a47
feat: useeffect working, add response for update endpoint
laras126 a2998d0
feat: add placeholder for updated indication
laras126 e4ad74e
refact: basic store setup
laras126 b586798
feat: update store on clicks
laras126 0bfc098
wip; updateauthors
laras126 5b229b4
refact: organize fns
laras126 6cf2072
refact: consolidate api calls, format js
laras126 2685da8
chore: format js
laras126 50e5052
test: update tests and add mock data
laras126 f047012
chorr: comments and cleanup
laras126 79d238e
chore: endpoint and test clean up
laras126 edf2d35
test: separate method for update
laras126 8c855c0
feat: basic filter logic to enable
laras126 37d783d
feat: add filter, start on tests
laras126 0cd5189
fix: use get_param
laras126 39b0d97
fix: bug
laras126 5c42719
feat: brittle css to hide author select
laras126 b261ec2
fix: test and naming
laras126 0ce4739
fix: better length check with boolean
laras126 349fd25
fix: typo
laras126 5728acb
test: phpcf and test for metabox logic
laras126 9731c13
fix: add logic for coauthors user and post type in editor assets method
laras126 03d821f
chore: comment
laras126 6658042
fix: disable remove and move buttons for single author
laras126 b248690
chore: built assets
laras126 29b26c8
fix: remove old code
laras126 1304d0a
Merge branch 'master' into sidebar-integration
laras126 400d45a
fix: typo
laras126 31e2686
fix: remove logs / dumps
laras126 02004bc
fix: remove vscode file
laras126 f232f11
fix: typo
laras126 c463f25
test: use [] for array syntax, add structure for more tests
laras126 3a4238e
feat: stub of methods to remove author link
laras126 bb45017
refact: use helper method to return filter value
laras126 c827d0e
feat: authors link removal and test
laras126 ee1cf25
chore: remove brittle CSS
laras126 1d1e49f
test: coathors endpoint perms
laras126 59c6d4d
fix: use useeffect when authors updates
laras126 0bc6ac7
Resolve "Hide core author meta box with _links entry, and remove brit…
ethitter eafbe32
Update permissions callback
ethitter b3c4b8e
Protect read-only endpoints
ethitter 50d595b
Update test
ethitter 3c1acb1
Fix test for PHP 7.2
ethitter 263ddc1
Class constants cannot set visibility in PHP 7.0 and earlier
ethitter e8dc33b
Fix PHP compatibility
ethitter ec3e31f
Cannot type in PHP < 7
ethitter ba2e58d
Null coalescing operator added in PHP 7.0
ethitter f359835
Fix tests
ethitter 1a909b8
Not supported before PHP 7
ethitter 8b0eb2e
Fix test
ethitter 30aac63
🤦♂️
ethitter aebdbbe
Randomize value to allow for multiple changes
ethitter 9008d5b
Don't remove metabox from non-Gutenberg post types.
ethitter 0939ea5
Merge branch 'master' of https://github.com/Automattic/Co-Authors-Plu…
aaronjorbin 751033a
Doc: readme
laras126 48eaf91
Merge branch 'master' into sidebar-integration
laras126 d5d6eb2
chore: add type hints
laras126 49bb6df
Chore: Auto fix / format
laras126 642c86c
Chore: Update wp-scripts package
laras126 2678e6c
Chore: Linter fixes, build
laras126 7b79e29
chore: version
laras126 499cbee
chore: version
laras126 ac67cf4
Try: remove type hints
laras126 9f56799
fix: account for new posts using block editor logic
laras126 6f08ebc
refact: use is_block_editor
laras126 a3a0aa8
refact: remove more logic since sidebar is enabled by default
laras126 e1a30a4
chore: add santize email
laras126 fde1116
chore: add default for pre 5.0
laras126 c5c5e54
chore: phpcs
laras126 d3e3110
doc: comment
laras126 b51852c
test: update failure msg
laras126 18c72fc
chore: remove unused constant
laras126 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 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,3 +4,4 @@ | |
wpcom-helper.php | ||
/composer.lock | ||
/vendor | ||
node_modules |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
<?php return array('dependencies' => array('wp-api-fetch', 'wp-components', 'wp-compose', 'wp-data', 'wp-edit-post', 'wp-element', 'wp-i18n', 'wp-plugins', 'wp-primitives'), 'version' => 'afa86f1dcc6c53850df1932fcd09e58c'); |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains 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.
What's the purpose of this constant?
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.
It is outdated! Good catch – I'll update it momentarily.