Skip to content
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

Blocks for Co-Authors #997

Merged

Commits on Dec 13, 2023

  1. Configuration menu
    Copy the full SHA
    9c7a6bb View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2efcc43 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    a2fb1c0 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    15cc2d2 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    2c1524c View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    57cd915 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    03d45bf View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    752c06e View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    b90c30e View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    ae5c3d9 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    e9d4109 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    df51b94 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    dff5263 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    5e4999b View commit details
    Browse the repository at this point in the history
  15. tabs fix

    douglas-johnson committed Dec 13, 2023
    Configuration menu
    Copy the full SHA
    26fa69d View commit details
    Browse the repository at this point in the history
  16. add avatar block

    douglas-johnson committed Dec 13, 2023
    Configuration menu
    Copy the full SHA
    c14d406 View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    353b87a View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    0d9abee View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    88b0df2 View commit details
    Browse the repository at this point in the history
  20. build coauthors block

    douglas-johnson committed Dec 13, 2023
    Configuration menu
    Copy the full SHA
    fc40fb7 View commit details
    Browse the repository at this point in the history
  21. Configuration menu
    Copy the full SHA
    dba39d4 View commit details
    Browse the repository at this point in the history
  22. wip fse

    douglas-johnson committed Dec 13, 2023
    Configuration menu
    Copy the full SHA
    eea9905 View commit details
    Browse the repository at this point in the history
  23. Configuration menu
    Copy the full SHA
    2b73d4b View commit details
    Browse the repository at this point in the history
  24. Configuration menu
    Copy the full SHA
    4a7550d View commit details
    Browse the repository at this point in the history
  25. Configuration menu
    Copy the full SHA
    8cb50ad View commit details
    Browse the repository at this point in the history
  26. Configuration menu
    Copy the full SHA
    d35ecd2 View commit details
    Browse the repository at this point in the history
  27. Configuration menu
    Copy the full SHA
    1530916 View commit details
    Browse the repository at this point in the history
  28. Configuration menu
    Copy the full SHA
    820cf89 View commit details
    Browse the repository at this point in the history
  29. Configuration menu
    Copy the full SHA
    4db7e75 View commit details
    Browse the repository at this point in the history
  30. Configuration menu
    Copy the full SHA
    9fd178d View commit details
    Browse the repository at this point in the history
  31. Configuration menu
    Copy the full SHA
    92fc4b2 View commit details
    Browse the repository at this point in the history
  32. Configuration menu
    Copy the full SHA
    4ac7ea5 View commit details
    Browse the repository at this point in the history
  33. typo and whitespace

    douglas-johnson committed Dec 13, 2023
    Configuration menu
    Copy the full SHA
    d248c18 View commit details
    Browse the repository at this point in the history
  34. Configuration menu
    Copy the full SHA
    01815d2 View commit details
    Browse the repository at this point in the history
  35. Configuration menu
    Copy the full SHA
    3eeedb2 View commit details
    Browse the repository at this point in the history
  36. Configuration menu
    Copy the full SHA
    9cf110e View commit details
    Browse the repository at this point in the history
  37. build coauthors block

    douglas-johnson committed Dec 13, 2023
    Configuration menu
    Copy the full SHA
    e85f1c5 View commit details
    Browse the repository at this point in the history
  38. Configuration menu
    Copy the full SHA
    0dd33a2 View commit details
    Browse the repository at this point in the history
  39. Configuration menu
    Copy the full SHA
    10bd299 View commit details
    Browse the repository at this point in the history
  40. Configuration menu
    Copy the full SHA
    a2b37e8 View commit details
    Browse the repository at this point in the history
  41. Configuration menu
    Copy the full SHA
    0551abe View commit details
    Browse the repository at this point in the history
  42. Configuration menu
    Copy the full SHA
    027fd82 View commit details
    Browse the repository at this point in the history
  43. Configuration menu
    Copy the full SHA
    5e6ec6d View commit details
    Browse the repository at this point in the history
  44. Configuration menu
    Copy the full SHA
    2ce029c View commit details
    Browse the repository at this point in the history
  45. Configuration menu
    Copy the full SHA
    984e92c View commit details
    Browse the repository at this point in the history
  46. Configuration menu
    Copy the full SHA
    09af020 View commit details
    Browse the repository at this point in the history
  47. Configuration menu
    Copy the full SHA
    4e489f1 View commit details
    Browse the repository at this point in the history
  48. Configuration menu
    Copy the full SHA
    802c781 View commit details
    Browse the repository at this point in the history
  49. Configuration menu
    Copy the full SHA
    4826d38 View commit details
    Browse the repository at this point in the history
  50. Configuration menu
    Copy the full SHA
    17fcb21 View commit details
    Browse the repository at this point in the history
  51. Configuration menu
    Copy the full SHA
    2cfe150 View commit details
    Browse the repository at this point in the history
  52. Configuration menu
    Copy the full SHA
    f3fdbda View commit details
    Browse the repository at this point in the history
  53. Configuration menu
    Copy the full SHA
    55469c0 View commit details
    Browse the repository at this point in the history
  54. Configuration menu
    Copy the full SHA
    dea6f5b View commit details
    Browse the repository at this point in the history
  55. Configuration menu
    Copy the full SHA
    c418f57 View commit details
    Browse the repository at this point in the history
  56. Configuration menu
    Copy the full SHA
    1835bae View commit details
    Browse the repository at this point in the history
  57. Configuration menu
    Copy the full SHA
    25401fa View commit details
    Browse the repository at this point in the history
  58. Configuration menu
    Copy the full SHA
    b118908 View commit details
    Browse the repository at this point in the history
  59. Configuration menu
    Copy the full SHA
    20d7228 View commit details
    Browse the repository at this point in the history
  60. start documenting

    douglas-johnson committed Dec 13, 2023
    Configuration menu
    Copy the full SHA
    628a051 View commit details
    Browse the repository at this point in the history
  61. Configuration menu
    Copy the full SHA
    771748c View commit details
    Browse the repository at this point in the history
  62. naming conventions

    douglas-johnson committed Dec 13, 2023
    Configuration menu
    Copy the full SHA
    a9abea5 View commit details
    Browse the repository at this point in the history
  63. Configuration menu
    Copy the full SHA
    0a9b0d9 View commit details
    Browse the repository at this point in the history
  64. Configuration menu
    Copy the full SHA
    8310210 View commit details
    Browse the repository at this point in the history
  65. Configuration menu
    Copy the full SHA
    ac35c66 View commit details
    Browse the repository at this point in the history
  66. Configuration menu
    Copy the full SHA
    4fd5543 View commit details
    Browse the repository at this point in the history
  67. use int consistently

    douglas-johnson committed Dec 13, 2023
    Configuration menu
    Copy the full SHA
    4c09f80 View commit details
    Browse the repository at this point in the history
  68. Configuration menu
    Copy the full SHA
    67709d8 View commit details
    Browse the repository at this point in the history
  69. Configuration menu
    Copy the full SHA
    9db703c View commit details
    Browse the repository at this point in the history
  70. Configuration menu
    Copy the full SHA
    3dc96e0 View commit details
    Browse the repository at this point in the history
  71. Configuration menu
    Copy the full SHA
    76b1547 View commit details
    Browse the repository at this point in the history
  72. Configuration menu
    Copy the full SHA
    35526e6 View commit details
    Browse the repository at this point in the history
  73. remove viewScript

    douglas-johnson committed Dec 13, 2023
    Configuration menu
    Copy the full SHA
    e4a4d45 View commit details
    Browse the repository at this point in the history
  74. Configuration menu
    Copy the full SHA
    fa72a2f View commit details
    Browse the repository at this point in the history
  75. Configuration menu
    Copy the full SHA
    bb1be44 View commit details
    Browse the repository at this point in the history
  76. Configuration menu
    Copy the full SHA
    c10a920 View commit details
    Browse the repository at this point in the history
  77. Configuration menu
    Copy the full SHA
    e74e2f4 View commit details
    Browse the repository at this point in the history
  78. Configuration menu
    Copy the full SHA
    55b5f08 View commit details
    Browse the repository at this point in the history
  79. Configuration menu
    Copy the full SHA
    0f0cd64 View commit details
    Browse the repository at this point in the history
  80. Configuration menu
    Copy the full SHA
    b0f482c View commit details
    Browse the repository at this point in the history
  81. Configuration menu
    Copy the full SHA
    0a7304c View commit details
    Browse the repository at this point in the history
  82. Configuration menu
    Copy the full SHA
    78addc6 View commit details
    Browse the repository at this point in the history
  83. Configuration menu
    Copy the full SHA
    54d2ddc View commit details
    Browse the repository at this point in the history
  84. Configuration menu
    Copy the full SHA
    df0d892 View commit details
    Browse the repository at this point in the history
  85. Configuration menu
    Copy the full SHA
    1385574 View commit details
    Browse the repository at this point in the history
  86. Configuration menu
    Copy the full SHA
    c91405d View commit details
    Browse the repository at this point in the history
  87. Configuration menu
    Copy the full SHA
    0e61ba5 View commit details
    Browse the repository at this point in the history
  88. Configuration menu
    Copy the full SHA
    0dbbd85 View commit details
    Browse the repository at this point in the history
  89. Configuration menu
    Copy the full SHA
    d977c42 View commit details
    Browse the repository at this point in the history
  90. Configuration menu
    Copy the full SHA
    3bd50f9 View commit details
    Browse the repository at this point in the history
  91. Configuration menu
    Copy the full SHA
    463b1f2 View commit details
    Browse the repository at this point in the history
  92. Configuration menu
    Copy the full SHA
    7735e6a View commit details
    Browse the repository at this point in the history
  93. Configuration menu
    Copy the full SHA
    a71a22b View commit details
    Browse the repository at this point in the history
  94. Configuration menu
    Copy the full SHA
    cdc0c09 View commit details
    Browse the repository at this point in the history
  95. Configuration menu
    Copy the full SHA
    8d2654b View commit details
    Browse the repository at this point in the history
  96. Configuration menu
    Copy the full SHA
    29de04d View commit details
    Browse the repository at this point in the history
  97. Configuration menu
    Copy the full SHA
    80533d0 View commit details
    Browse the repository at this point in the history
  98. Configuration menu
    Copy the full SHA
    e81c7c4 View commit details
    Browse the repository at this point in the history
  99. Configuration menu
    Copy the full SHA
    5cef443 View commit details
    Browse the repository at this point in the history
  100. Configuration menu
    Copy the full SHA
    8876417 View commit details
    Browse the repository at this point in the history
  101. Configuration menu
    Copy the full SHA
    ef41034 View commit details
    Browse the repository at this point in the history
  102. Configuration menu
    Copy the full SHA
    72a4a7b View commit details
    Browse the repository at this point in the history
  103. Configuration menu
    Copy the full SHA
    6d4684f View commit details
    Browse the repository at this point in the history
  104. Update block namespace, simplify author context

    - Changed block namespaces from cap to co-authors-plus.
    - Removed the coauthor- prefix from individual block names and reduced their length overall.
    - Updated the functions related to providing author context in archive templates so they don’t rely on the coauthor- prefix, instead using metadata from the block registry.
    douglas-johnson committed Dec 13, 2023
    Configuration menu
    Copy the full SHA
    44add83 View commit details
    Browse the repository at this point in the history
  105. Configuration menu
    Copy the full SHA
    7032b14 View commit details
    Browse the repository at this point in the history
  106. Configuration menu
    Copy the full SHA
    6362e81 View commit details
    Browse the repository at this point in the history
  107. Configuration menu
    Copy the full SHA
    c70ecca View commit details
    Browse the repository at this point in the history
  108. Configuration menu
    Copy the full SHA
    bb06e70 View commit details
    Browse the repository at this point in the history
  109. Configuration menu
    Copy the full SHA
    0c3ddcf View commit details
    Browse the repository at this point in the history
  110. Configuration menu
    Copy the full SHA
    b66d2f4 View commit details
    Browse the repository at this point in the history
  111. Configuration menu
    Copy the full SHA
    509ce20 View commit details
    Browse the repository at this point in the history
  112. Configuration menu
    Copy the full SHA
    954638c View commit details
    Browse the repository at this point in the history
  113. Configuration menu
    Copy the full SHA
    90be7a9 View commit details
    Browse the repository at this point in the history
  114. Configuration menu
    Copy the full SHA
    e36b07e View commit details
    Browse the repository at this point in the history
  115. Update GET coauthors API endpoint to be public

    * Adds `get_authors_with_api_schema` function that returns the co-authors from the WP_REST_Server so the schema and data match the editor.
    * Uses that new function in the Co-Authors Block when getting the authors for a post.
    douglas-johnson committed Dec 13, 2023
    Configuration menu
    Copy the full SHA
    dd52632 View commit details
    Browse the repository at this point in the history
  116. Fix error in featured_media property for WP_User

    Co-authors who are WordPress users do not have a type property. So checking it to make sure they are a guest author fails.
    douglas-johnson committed Dec 13, 2023
    Configuration menu
    Copy the full SHA
    f262210 View commit details
    Browse the repository at this point in the history
  117. Address review of layout settings for avatar block

    - Switch from figure element to div to eliminate need for removing margin. Same as default WP avatar.
    - Eliminated redundant display:inline, handled by parent.
    - Removed alignfull and alignwide styles which are not supported.
    - Updated render function to correctly support vertical-align styles.
    douglas-johnson committed Dec 13, 2023
    Configuration menu
    Copy the full SHA
    972f872 View commit details
    Browse the repository at this point in the history
  118. Configuration menu
    Copy the full SHA
    69ea0a6 View commit details
    Browse the repository at this point in the history
  119. Address apiVersion and naming convention feedback

    - Updated all blocks to use apiVersion 3.
    - Updated use of `Co-Authors` for consistency.
    - Updated readme for consistency with block UI.
    douglas-johnson committed Dec 13, 2023
    Configuration menu
    Copy the full SHA
    fbacc98 View commit details
    Browse the repository at this point in the history
  120. Configuration menu
    Copy the full SHA
    bf8b4a9 View commit details
    Browse the repository at this point in the history

Commits on Jan 10, 2024

  1. Allow more layouts, only align where applicable

    - Added block layout controls to the Co-Authors block.
    - Updated Co-Authors block CSS so the default / flow layout displays co-authors in an inline style suitable for bylines.
    - Added context that is passed from Co-Authors block to its descendants so controls only relevant to the inline style can be hidden when using other layouts.
    - Removed support for align from the block.json file of the image and avatar blocks, instead adding it manually in the block’s edit.js so it can be omitted when using the defaut layout. When using other layouts the align controls will be removed where not applicable by `useAvailableAlignments`.
    douglas-johnson committed Jan 10, 2024
    Configuration menu
    Copy the full SHA
    bfd1244 View commit details
    Browse the repository at this point in the history

Commits on Jan 16, 2024

  1. Use remove-outline to see cursor in site editor

    While using the site editor `outlineMode` is enabled, which can obscure the cursor when hovering over the RichText field for the prefix attribute of the Co-Authors Block. The missing cursor makes it unclear you can type in the prefix field.
    douglas-johnson committed Jan 16, 2024
    Configuration menu
    Copy the full SHA
    028e14a View commit details
    Browse the repository at this point in the history

Commits on Feb 8, 2024

  1. Default feature image block to thumbnail not full

    Full was considered too big, especially in template editor contexts.
    douglas-johnson committed Feb 8, 2024
    Configuration menu
    Copy the full SHA
    2de42ac View commit details
    Browse the repository at this point in the history