Skip to content

Improve editor to prevent layout breakage#14

Open
timlandolt wants to merge 22 commits into
developfrom
feature/25970-non-breaking-layout
Open

Improve editor to prevent layout breakage#14
timlandolt wants to merge 22 commits into
developfrom
feature/25970-non-breaking-layout

Conversation

@timlandolt

Copy link
Copy Markdown
Collaborator

TICKET-25970

Now, opening a template will open a completely new page containing the content as an iframe as well as the editor.
This also allowed me to remove the error handling logic, as now the templates can still be edited with errors.
Opening the editor now works using a custom JS event that will open the whole new page if not opened yet. Otherwise, it will replace the editor using a turbo stream.

Other changes:

  • Separated JS and CSS into host for the host application and application for the engine views.
  • Added display: content; to make the custom elements less invasive (can be seen with the newly added "grid" in the dummy app)

@timlandolt timlandolt self-assigned this Jun 23, 2026
@timlandolt timlandolt marked this pull request as ready for review June 23, 2026 14:42
@timlandolt timlandolt requested a review from schmijos June 23, 2026 14:42

@schmijos schmijos left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The system tests are still missing? How do you prove to me that "it still all works"?

params.append("template[render_path][]", p),
);

return `/ferbe/template/edit?${params.toString()}`;

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These are still static paths.

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.

2 participants