-
Notifications
You must be signed in to change notification settings - Fork 7
WIP: poc admin form #266
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
base: release/3.0.0
Are you sure you want to change the base?
WIP: poc admin form #266
Conversation
@@ -0,0 +1,70 @@ | |||
// Load templates. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Any reason for splitting into template-admin template-slide ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You mean, not putting them in the same file?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes.. they are almost duplicates.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, would you prefer one file to do both? At first they were in the same file but I though the slight differences made it more messy so i split them.
0f134e9
to
3c9fe8f
Compare
39069ca
to
ac5bcd9
Compare
0c8278a
to
bdd5cb5
Compare
2ac7785
to
324eebb
Compare
324eebb
to
0a641eb
Compare
Link to LEANTIME ticket
https://leantime.itkdev.dk/#/tickets/showTicket/5316
Link to Github issue
#267
Description
helper.js
forgetInputFiles
renderAdminForm
like already existingrenderSlide
templates.js
totemplates-slide.js
(as the new admin renderer is calledtemplates-admin.js
)adminForm
inimage-text.json
admin-form.jsx
with the admin form in, add a bit of if/then in the jsx.image-text.jsx
More info on the grand idea, see github issue
Screenshot of the result