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

✨improve template editor #44

Merged
merged 5 commits into from
Apr 18, 2024
Merged

✨improve template editor #44

merged 5 commits into from
Apr 18, 2024

Conversation

AntoLC
Copy link
Collaborator

@AntoLC AntoLC commented Apr 18, 2024

Purpose

We created the button Duplicate template, we do this button because a template ìs_public is readable but not editable.
The copy will be editable.

Proposal

  • add template editor json in demo
  • simplify the template builder*
  • can duplicate template

@AntoLC AntoLC self-assigned this Apr 18, 2024
For the demo to be compatible with the new template
editor, we need to add the json file that setup
correctly the editor.
We are able to read and use it, but not edit it,
because the demo is in is_public mode.
Remove some features from the template builder
that are not necessary for the MVP.
@AntoLC AntoLC force-pushed the feature/improve-template-editor branch from ab4d447 to 70a2b41 Compare April 18, 2024 15:42
A component that will be used to display
the tools for the template editor.
We would like to duplicate a template from the frontend.
For that we need to access the css and code of the template.
So we add the css and code to the template endpoint.
Template with mode "is_public" are not editable, except
for the owner. We give the possibility to duplicate a
template, so that the user can edit the new one.
@AntoLC AntoLC force-pushed the feature/improve-template-editor branch from 70a2b41 to fd9c53d Compare April 18, 2024 16:04
@AntoLC AntoLC enabled auto-merge (rebase) April 18, 2024 16:05
@AntoLC AntoLC merged commit 0575c0f into main Apr 18, 2024
15 of 16 checks passed
@AntoLC AntoLC deleted the feature/improve-template-editor branch April 18, 2024 16:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant