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

Introduce experimental form & inputs blocks to allow building basic forms #44214

Merged
merged 133 commits into from
Oct 5, 2023

Commits on Oct 2, 2023

  1. Initial forms POC

    aristath committed Oct 2, 2023
    Configuration menu
    Copy the full SHA
    cb1d87c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e3f0028 View commit details
    Browse the repository at this point in the history
  3. Use RichText for labels

    aristath committed Oct 2, 2023
    Configuration menu
    Copy the full SHA
    f54a4a8 View commit details
    Browse the repository at this point in the history
  4. Make things editable

    aristath committed Oct 2, 2023
    Configuration menu
    Copy the full SHA
    3604793 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    e57a178 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    0a72468 View commit details
    Browse the repository at this point in the history
  7. rename action

    aristath committed Oct 2, 2023
    Configuration menu
    Copy the full SHA
    9e58c75 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    d9f587e View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    c47ee84 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    68d4322 View commit details
    Browse the repository at this point in the history
  11. Add checkbox field-type

    aristath committed Oct 2, 2023
    Configuration menu
    Copy the full SHA
    031e301 View commit details
    Browse the repository at this point in the history
  12. update block.json

    aristath committed Oct 2, 2023
    Configuration menu
    Copy the full SHA
    ccbd777 View commit details
    Browse the repository at this point in the history
  13. Add a class on labels

    aristath committed Oct 2, 2023
    Configuration menu
    Copy the full SHA
    f0f5fc8 View commit details
    Browse the repository at this point in the history
  14. Add test stylesheet

    aristath committed Oct 2, 2023
    Configuration menu
    Copy the full SHA
    44fa12a View commit details
    Browse the repository at this point in the history
  15. fix input styles loading

    aristath committed Oct 2, 2023
    Configuration menu
    Copy the full SHA
    9cb6468 View commit details
    Browse the repository at this point in the history
  16. basic styles

    aristath committed Oct 2, 2023
    Configuration menu
    Copy the full SHA
    ca6275a View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    26a5caf View commit details
    Browse the repository at this point in the history
  18. add ALLOWED_BLOCKS in forms

    aristath committed Oct 2, 2023
    Configuration menu
    Copy the full SHA
    a98ba8f View commit details
    Browse the repository at this point in the history
  19. Add input fields variations

    aristath committed Oct 2, 2023
    Configuration menu
    Copy the full SHA
    ea55791 View commit details
    Browse the repository at this point in the history
  20. fix admin styles for inputs

    aristath committed Oct 2, 2023
    Configuration menu
    Copy the full SHA
    2cfd077 View commit details
    Browse the repository at this point in the history
  21. Configuration menu
    Copy the full SHA
    0aed66e View commit details
    Browse the repository at this point in the history
  22. Configuration menu
    Copy the full SHA
    a5423ab View commit details
    Browse the repository at this point in the history
  23. Allow defining a form-ID

    aristath committed Oct 2, 2023
    Configuration menu
    Copy the full SHA
    f4118df View commit details
    Browse the repository at this point in the history
  24. generate fixtures

    aristath committed Oct 2, 2023
    Configuration menu
    Copy the full SHA
    08f761e View commit details
    Browse the repository at this point in the history
  25. typo

    aristath committed Oct 2, 2023
    Configuration menu
    Copy the full SHA
    5d6a8e4 View commit details
    Browse the repository at this point in the history
  26. forgot to rename these 2

    aristath committed Oct 2, 2023
    Configuration menu
    Copy the full SHA
    6022f68 View commit details
    Browse the repository at this point in the history
  27. Add a template

    aristath committed Oct 2, 2023
    Configuration menu
    Copy the full SHA
    00e6211 View commit details
    Browse the repository at this point in the history
  28. Add block supports

    aristath committed Oct 2, 2023
    Configuration menu
    Copy the full SHA
    f13aa48 View commit details
    Browse the repository at this point in the history
  29. Styling tweak

    aristath committed Oct 2, 2023
    Configuration menu
    Copy the full SHA
    d91871f View commit details
    Browse the repository at this point in the history
  30. Mark as an experiment

    aristath committed Oct 2, 2023
    Configuration menu
    Copy the full SHA
    9fad79b View commit details
    Browse the repository at this point in the history
  31. fixtures

    aristath committed Oct 2, 2023
    Configuration menu
    Copy the full SHA
    774f31e View commit details
    Browse the repository at this point in the history
  32. Configuration menu
    Copy the full SHA
    2b781a0 View commit details
    Browse the repository at this point in the history
  33. Configuration menu
    Copy the full SHA
    2561516 View commit details
    Browse the repository at this point in the history
  34. Use WP_HTML_Tag_Processor

    aristath committed Oct 2, 2023
    Configuration menu
    Copy the full SHA
    7812b80 View commit details
    Browse the repository at this point in the history
  35. use the HTML for the label

    aristath committed Oct 2, 2023
    Configuration menu
    Copy the full SHA
    791490e View commit details
    Browse the repository at this point in the history
  36. Configuration menu
    Copy the full SHA
    06faa93 View commit details
    Browse the repository at this point in the history
  37. fix for submit button label

    aristath committed Oct 2, 2023
    Configuration menu
    Copy the full SHA
    86427f0 View commit details
    Browse the repository at this point in the history
  38. Add placeholder to inputs

    aristath committed Oct 2, 2023
    Configuration menu
    Copy the full SHA
    7316fb4 View commit details
    Browse the repository at this point in the history
  39. Revert "Add placeholder to inputs"

    This reverts commit c0e6e63.
    aristath committed Oct 2, 2023
    Configuration menu
    Copy the full SHA
    cdbf8ba View commit details
    Browse the repository at this point in the history
  40. Remove identifier

    aristath committed Oct 2, 2023
    Configuration menu
    Copy the full SHA
    dd3b81f View commit details
    Browse the repository at this point in the history
  41. cleanup

    aristath committed Oct 2, 2023
    Configuration menu
    Copy the full SHA
    6fedc10 View commit details
    Browse the repository at this point in the history
  42. re-introduce placeholders

    aristath committed Oct 2, 2023
    Configuration menu
    Copy the full SHA
    24280db View commit details
    Browse the repository at this point in the history
  43. Configuration menu
    Copy the full SHA
    3dcedc0 View commit details
    Browse the repository at this point in the history
  44. Configuration menu
    Copy the full SHA
    e2a9153 View commit details
    Browse the repository at this point in the history
  45. Configuration menu
    Copy the full SHA
    b6c8210 View commit details
    Browse the repository at this point in the history
  46. Configuration menu
    Copy the full SHA
    56d8240 View commit details
    Browse the repository at this point in the history
  47. Configuration menu
    Copy the full SHA
    21344a5 View commit details
    Browse the repository at this point in the history
  48. Configuration menu
    Copy the full SHA
    9850eff View commit details
    Browse the repository at this point in the history
  49. Configuration menu
    Copy the full SHA
    82a6319 View commit details
    Browse the repository at this point in the history
  50. Configuration menu
    Copy the full SHA
    50a9692 View commit details
    Browse the repository at this point in the history
  51. fix HTML escaping in labels

    aristath committed Oct 2, 2023
    Configuration menu
    Copy the full SHA
    54e3888 View commit details
    Browse the repository at this point in the history
  52. CSS fixes

    aristath committed Oct 2, 2023
    Configuration menu
    Copy the full SHA
    d407c4d View commit details
    Browse the repository at this point in the history
  53. Configuration menu
    Copy the full SHA
    4d11133 View commit details
    Browse the repository at this point in the history
  54. Configuration menu
    Copy the full SHA
    bbfe6e9 View commit details
    Browse the repository at this point in the history
  55. Configuration menu
    Copy the full SHA
    dec8682 View commit details
    Browse the repository at this point in the history
  56. Add support for link-colors

    aristath committed Oct 2, 2023
    Configuration menu
    Copy the full SHA
    bb5b623 View commit details
    Browse the repository at this point in the history
  57. Configuration menu
    Copy the full SHA
    9a18c9b View commit details
    Browse the repository at this point in the history
  58. Add icons

    aristath committed Oct 2, 2023
    Configuration menu
    Copy the full SHA
    51b0243 View commit details
    Browse the repository at this point in the history
  59. fix alignment of checkboxes

    aristath committed Oct 2, 2023
    Configuration menu
    Copy the full SHA
    1ed94f1 View commit details
    Browse the repository at this point in the history
  60. Configuration menu
    Copy the full SHA
    2134093 View commit details
    Browse the repository at this point in the history
  61. Configuration menu
    Copy the full SHA
    92b0dfc View commit details
    Browse the repository at this point in the history
  62. Configuration menu
    Copy the full SHA
    0fbaa3a View commit details
    Browse the repository at this point in the history
  63. Configuration menu
    Copy the full SHA
    10632be View commit details
    Browse the repository at this point in the history
  64. Configuration menu
    Copy the full SHA
    7e907cd View commit details
    Browse the repository at this point in the history
  65. Configuration menu
    Copy the full SHA
    d3fee69 View commit details
    Browse the repository at this point in the history
  66. change since to 6.3.0

    aristath committed Oct 2, 2023
    Configuration menu
    Copy the full SHA
    a534371 View commit details
    Browse the repository at this point in the history
  67. Fix method comment

    aristath committed Oct 2, 2023
    Configuration menu
    Copy the full SHA
    65aa09d View commit details
    Browse the repository at this point in the history
  68. Configuration menu
    Copy the full SHA
    a66a8c4 View commit details
    Browse the repository at this point in the history
  69. Configuration menu
    Copy the full SHA
    fc6a8e4 View commit details
    Browse the repository at this point in the history
  70. Configuration menu
    Copy the full SHA
    030f90e View commit details
    Browse the repository at this point in the history
  71. update the docs

    aristath committed Oct 2, 2023
    Configuration menu
    Copy the full SHA
    c6e57bc View commit details
    Browse the repository at this point in the history
  72. Update packages/block-library/src/form-input/style.scss

    Co-authored-by: Carolina Nymark <myazalea@hotmail.com>
    aristath and carolinan committed Oct 2, 2023
    Configuration menu
    Copy the full SHA
    98785dd View commit details
    Browse the repository at this point in the history
  73. Move to experimental

    aristath committed Oct 2, 2023
    Configuration menu
    Copy the full SHA
    4175273 View commit details
    Browse the repository at this point in the history
  74. Configuration menu
    Copy the full SHA
    ed2174f View commit details
    Browse the repository at this point in the history
  75. Tweak for comment-forms

    aristath committed Oct 2, 2023
    Configuration menu
    Copy the full SHA
    44462ff View commit details
    Browse the repository at this point in the history
  76. fix rebase conflict

    aristath committed Oct 2, 2023
    Configuration menu
    Copy the full SHA
    b40793e View commit details
    Browse the repository at this point in the history
  77. Use the sitename

    aristath committed Oct 2, 2023
    Configuration menu
    Copy the full SHA
    6c93881 View commit details
    Browse the repository at this point in the history
  78. Fix URL

    aristath committed Oct 2, 2023
    Configuration menu
    Copy the full SHA
    cf32b38 View commit details
    Browse the repository at this point in the history
  79. Configuration menu
    Copy the full SHA
    8cf086e View commit details
    Browse the repository at this point in the history
  80. Configuration menu
    Copy the full SHA
    3a90982 View commit details
    Browse the repository at this point in the history
  81. Add back empty line

    aristath committed Oct 2, 2023
    Configuration menu
    Copy the full SHA
    48691fe View commit details
    Browse the repository at this point in the history
  82. Configuration menu
    Copy the full SHA
    93da56c View commit details
    Browse the repository at this point in the history
  83. Handle contact forms

    aristath committed Oct 2, 2023
    Configuration menu
    Copy the full SHA
    b846130 View commit details
    Browse the repository at this point in the history
  84. Configuration menu
    Copy the full SHA
    680e79f View commit details
    Browse the repository at this point in the history
  85. fix doc

    aristath committed Oct 2, 2023
    Configuration menu
    Copy the full SHA
    10781a9 View commit details
    Browse the repository at this point in the history
  86. Add comment-form variation

    aristath committed Oct 2, 2023
    Configuration menu
    Copy the full SHA
    bd47c0c View commit details
    Browse the repository at this point in the history
  87. Configuration menu
    Copy the full SHA
    e540608 View commit details
    Browse the repository at this point in the history
  88. Configuration menu
    Copy the full SHA
    f9d4504 View commit details
    Browse the repository at this point in the history
  89. Configuration menu
    Copy the full SHA
    75ac288 View commit details
    Browse the repository at this point in the history
  90. Configuration menu
    Copy the full SHA
    c19ff54 View commit details
    Browse the repository at this point in the history
  91. Configuration menu
    Copy the full SHA
    e748cda View commit details
    Browse the repository at this point in the history
  92. Configuration menu
    Copy the full SHA
    2c34b2d View commit details
    Browse the repository at this point in the history
  93. Configuration menu
    Copy the full SHA
    325e4c3 View commit details
    Browse the repository at this point in the history
  94. manually update fixtures

    aristath committed Oct 2, 2023
    Configuration menu
    Copy the full SHA
    82dd142 View commit details
    Browse the repository at this point in the history
  95. Configuration menu
    Copy the full SHA
    1c5e437 View commit details
    Browse the repository at this point in the history
  96. Configuration menu
    Copy the full SHA
    b22b075 View commit details
    Browse the repository at this point in the history
  97. Configuration menu
    Copy the full SHA
    e5f9158 View commit details
    Browse the repository at this point in the history
  98. Configuration menu
    Copy the full SHA
    6de676c View commit details
    Browse the repository at this point in the history
  99. Configuration menu
    Copy the full SHA
    6eac41a View commit details
    Browse the repository at this point in the history
  100. Configuration menu
    Copy the full SHA
    2ba5cc3 View commit details
    Browse the repository at this point in the history
  101. Code improvement

    aristath committed Oct 2, 2023
    Configuration menu
    Copy the full SHA
    474aa80 View commit details
    Browse the repository at this point in the history
  102. Configuration menu
    Copy the full SHA
    e6e92e9 View commit details
    Browse the repository at this point in the history
  103. Configuration menu
    Copy the full SHA
    e7745d6 View commit details
    Browse the repository at this point in the history
  104. Add a hidden input-type

    aristath committed Oct 2, 2023
    Configuration menu
    Copy the full SHA
    55168e3 View commit details
    Browse the repository at this point in the history
  105. remove columns and groups for now

    There's an issue and we can't add input fields inside columns and/or groups etc. Inputs can only be added as a direct descendant of the form block.
    aristath committed Oct 2, 2023
    Configuration menu
    Copy the full SHA
    115de36 View commit details
    Browse the repository at this point in the history
  106. Configuration menu
    Copy the full SHA
    f5aba1a View commit details
    Browse the repository at this point in the history
  107. Configuration menu
    Copy the full SHA
    da0d125 View commit details
    Browse the repository at this point in the history
  108. coding fix

    aristath committed Oct 2, 2023
    Configuration menu
    Copy the full SHA
    2d7562c View commit details
    Browse the repository at this point in the history
  109. Configuration menu
    Copy the full SHA
    c9b132c View commit details
    Browse the repository at this point in the history
  110. Add a privacy-request form

    aristath committed Oct 2, 2023
    Configuration menu
    Copy the full SHA
    237ef10 View commit details
    Browse the repository at this point in the history
  111. Make methods hookable

    aristath committed Oct 2, 2023
    Configuration menu
    Copy the full SHA
    00fa2ea View commit details
    Browse the repository at this point in the history
  112. Configuration menu
    Copy the full SHA
    1f87413 View commit details
    Browse the repository at this point in the history
  113. Configuration menu
    Copy the full SHA
    1cab064 View commit details
    Browse the repository at this point in the history
  114. Configuration menu
    Copy the full SHA
    eb2cfa0 View commit details
    Browse the repository at this point in the history
  115. Configuration menu
    Copy the full SHA
    cf2fbee View commit details
    Browse the repository at this point in the history
  116. Configuration menu
    Copy the full SHA
    c37baab View commit details
    Browse the repository at this point in the history
  117. Configuration menu
    Copy the full SHA
    3b3bf18 View commit details
    Browse the repository at this point in the history
  118. Configuration menu
    Copy the full SHA
    320d427 View commit details
    Browse the repository at this point in the history
  119. condition is not necessary

    aristath committed Oct 2, 2023
    Configuration menu
    Copy the full SHA
    b4c93aa View commit details
    Browse the repository at this point in the history
  120. Configuration menu
    Copy the full SHA
    ce6c9b7 View commit details
    Browse the repository at this point in the history
  121. Configuration menu
    Copy the full SHA
    c18d3bf View commit details
    Browse the repository at this point in the history
  122. Configuration menu
    Copy the full SHA
    50a5528 View commit details
    Browse the repository at this point in the history
  123. rename functions

    aristath committed Oct 2, 2023
    Configuration menu
    Copy the full SHA
    45c61d8 View commit details
    Browse the repository at this point in the history
  124. Configuration menu
    Copy the full SHA
    1f315d6 View commit details
    Browse the repository at this point in the history
  125. remove hidden variation

    aristath committed Oct 2, 2023
    Configuration menu
    Copy the full SHA
    39be966 View commit details
    Browse the repository at this point in the history
  126. Configuration menu
    Copy the full SHA
    dabde4c View commit details
    Browse the repository at this point in the history
  127. Configuration menu
    Copy the full SHA
    669ee86 View commit details
    Browse the repository at this point in the history
  128. CS fix

    aristath committed Oct 2, 2023
    Configuration menu
    Copy the full SHA
    dda5880 View commit details
    Browse the repository at this point in the history

Commits on Oct 4, 2023

  1. Configuration menu
    Copy the full SHA
    0d64f85 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3e480b6 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    77d132a View commit details
    Browse the repository at this point in the history
  4. fix filter return

    aristath committed Oct 4, 2023
    Configuration menu
    Copy the full SHA
    695de74 View commit details
    Browse the repository at this point in the history
  5. Add experiment to the tests

    aristath committed Oct 4, 2023
    Configuration menu
    Copy the full SHA
    8f7fc17 View commit details
    Browse the repository at this point in the history