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

Add template replace flow to template inspector #54609

Merged
merged 35 commits into from
Oct 3, 2023
Merged

Add template replace flow to template inspector #54609

merged 35 commits into from
Oct 3, 2023

Commits on Oct 3, 2023

  1. Configuration menu
    Copy the full SHA
    40299b2 View commit details
    Browse the repository at this point in the history
  2. fetch template info

    scruffian authored and draganescu committed Oct 3, 2023
    Configuration menu
    Copy the full SHA
    d67576e View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    49301d5 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    5d0c438 View commit details
    Browse the repository at this point in the history
  5. Add columns

    scruffian authored and draganescu committed Oct 3, 2023
    Configuration menu
    Copy the full SHA
    0e5bdaa View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    accc523 View commit details
    Browse the repository at this point in the history
  7. filter for the correct templates

    scruffian authored and draganescu committed Oct 3, 2023
    Configuration menu
    Copy the full SHA
    1947768 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    7e5e8c9 View commit details
    Browse the repository at this point in the history
  9. move to a hook

    scruffian authored and draganescu committed Oct 3, 2023
    Configuration menu
    Copy the full SHA
    ac58a31 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    e1dc6be View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    540dfbc View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    7c9d71a View commit details
    Browse the repository at this point in the history
  13. set the template on click

    draganescu committed Oct 3, 2023
    Configuration menu
    Copy the full SHA
    a00363f View commit details
    Browse the repository at this point in the history
  14. Also set the blocks

    scruffian authored and draganescu committed Oct 3, 2023
    Configuration menu
    Copy the full SHA
    c78d255 View commit details
    Browse the repository at this point in the history
  15. remove calls to set template with the current template, since setting…

    … blocks correctly updates the content in the editor
    draganescu committed Oct 3, 2023
    Configuration menu
    Copy the full SHA
    9b76d30 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    c3a13a4 View commit details
    Browse the repository at this point in the history
  17. remove duplicated code

    scruffian authored and draganescu committed Oct 3, 2023
    Configuration menu
    Copy the full SHA
    5787636 View commit details
    Browse the repository at this point in the history
  18. Remove unnecessary mapping

    scruffian authored and draganescu committed Oct 3, 2023
    Configuration menu
    Copy the full SHA
    59cbfab View commit details
    Browse the repository at this point in the history
  19. refactor

    scruffian authored and draganescu committed Oct 3, 2023
    Configuration menu
    Copy the full SHA
    3c513a3 View commit details
    Browse the repository at this point in the history
  20. memoize the patterns

    scruffian authored and draganescu committed Oct 3, 2023
    Configuration menu
    Copy the full SHA
    a3763ea View commit details
    Browse the repository at this point in the history
  21. combine the useSelect

    scruffian authored and draganescu committed Oct 3, 2023
    Configuration menu
    Copy the full SHA
    af09641 View commit details
    Browse the repository at this point in the history
  22. Update packages/edit-site/src/components/sidebar-edit-mode/page-panel…

    …s/hooks.js
    
    Co-authored-by: Andrei Draganescu <me@andreidraganescu.info>
    scruffian and draganescu committed Oct 3, 2023
    Configuration menu
    Copy the full SHA
    083478b View commit details
    Browse the repository at this point in the history
  23. Fix ESLint error

    Mamaduka authored and draganescu committed Oct 3, 2023
    Configuration menu
    Copy the full SHA
    ca5935a View commit details
    Browse the repository at this point in the history
  24. Configuration menu
    Copy the full SHA
    e7226e4 View commit details
    Browse the repository at this point in the history
  25. Copy update

    scruffian authored and draganescu committed Oct 3, 2023
    Configuration menu
    Copy the full SHA
    f5ef5d7 View commit details
    Browse the repository at this point in the history
  26. Move the hook to a subdir

    scruffian authored and draganescu committed Oct 3, 2023
    Configuration menu
    Copy the full SHA
    59c7c24 View commit details
    Browse the repository at this point in the history
  27. check that there are patterns

    scruffian authored and draganescu committed Oct 3, 2023
    Configuration menu
    Copy the full SHA
    3f1fd65 View commit details
    Browse the repository at this point in the history
  28. move the check

    scruffian authored and draganescu committed Oct 3, 2023
    Configuration menu
    Copy the full SHA
    dd80e09 View commit details
    Browse the repository at this point in the history
  29. remove useCallback

    scruffian authored and draganescu committed Oct 3, 2023
    Configuration menu
    Copy the full SHA
    4b4e835 View commit details
    Browse the repository at this point in the history
  30. Configuration menu
    Copy the full SHA
    6c54a97 View commit details
    Browse the repository at this point in the history
  31. change condition

    scruffian authored and draganescu committed Oct 3, 2023
    Configuration menu
    Copy the full SHA
    0b1af45 View commit details
    Browse the repository at this point in the history
  32. move to use editEntityRecord

    scruffian authored and draganescu committed Oct 3, 2023
    Configuration menu
    Copy the full SHA
    f7a087b View commit details
    Browse the repository at this point in the history
  33. combine filters

    scruffian authored and draganescu committed Oct 3, 2023
    Configuration menu
    Copy the full SHA
    7c7fdfd View commit details
    Browse the repository at this point in the history
  34. add comments

    scruffian authored and draganescu committed Oct 3, 2023
    Configuration menu
    Copy the full SHA
    3521d12 View commit details
    Browse the repository at this point in the history
  35. Update packages/edit-site/src/components/sidebar-edit-mode/template-p…

    …anel/replace-template-button.js
    
    Co-authored-by: Andrei Draganescu <me@andreidraganescu.info>
    scruffian and draganescu committed Oct 3, 2023
    Configuration menu
    Copy the full SHA
    03e26f3 View commit details
    Browse the repository at this point in the history