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

feat: show Block Editor Side on Traditional #30585

Merged

Conversation

rjvelazco
Copy link
Contributor

@rjvelazco rjvelazco commented Nov 5, 2024

This pull request includes multiple changes to enhance the block editor functionality and improve the workflow actions in the core-web project. The most important changes include the addition of a new block editor sidebar component, updates to the workflow actions service, and modifications to the event handling and test cases.

Enhancements to Block Editor Functionality:

  • Added a new DotBlockEditorSidebarComponent with its HTML, SCSS, and TypeScript files to handle the block editor sidebar functionality. This component includes methods for saving editor changes, closing the sidebar, and handling events. [1] [2] [3]
  • Updated edit-ema-editor.component.html to include the new block editor sidebar component and handle the onSaved event to reload the store.

Improvements to Workflow Actions Service:

  • Modified dot-workflow-actions-fire.service.ts to use URLSearchParams for appending query parameters and refactored the handling of inode and indexPolicy.
  • Updated test cases in dot-workflow-actions-fire.service.spec.ts to reflect changes in the workflow actions fire service and ensure proper handling of the indexPolicy parameter. [1] [2] [3] [4]

Event Handling and Test Cases:

  • Updated dot-events.service.ts to cast the filtered observable as Observable<DotEvent<T>>.
  • Added new test cases for the DotBlockEditorSidebarComponent to ensure correct behavior of the sidebar, block editor inputs, save functionality, and error handling.
  • Updated edit-ema-editor.component.spec.ts to include the new block editor sidebar component and handle the inline edit block editor event. [1] [2] [3]

Minor Changes:

  • Added a method to inject the inline block editor in dot-edit-content-html.service.ts.

Video

issue-28198-uve-bring-back-inline-editing-for-block-editor-fields.mov

Handle Error

error.mov

This PR fixes: #28198

@rjvelazco rjvelazco marked this pull request as ready for review November 7, 2024 19:57
@rjvelazco rjvelazco added this pull request to the merge queue Nov 11, 2024
@zJaaal zJaaal removed this pull request from the merge queue due to a manual request Nov 11, 2024
@rjvelazco rjvelazco added this pull request to the merge queue Nov 12, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to no response for status checks Nov 12, 2024
@rjvelazco rjvelazco added this pull request to the merge queue Nov 12, 2024
Merged via the queue into main with commit 86a6d84 Nov 12, 2024
36 checks passed
@rjvelazco rjvelazco deleted the issue-28198-uve-bring-back-inline-editing-for-block-editor-fields branch November 12, 2024 18:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

UVE: Bring back inline editing for block editor fields
5 participants