Replies: 3 comments 3 replies
-
There has been some decisions about the Tech side of the new UI in #7524. I'll post here some Guidelines that we started working on: Guidelines:
|
Beta Was this translation helpful? Give feedback.
-
Yes for sites with customized themes
We could release a version with copies of old templates like we have in the past for bootstrap updates, but not sure it's worth the support effort
Easy if the site has no or minor theme customizations
Our theming documentation will need to be updated, what other support could we provide?
Not a problem either way
No need for breaking changes but we can add endpoints as required
The plugin interfaces won't need to change but we should consider how we support the old and new themes from extensions. Parallel template directories that we select based on the ckan version could work. Updating extensions that customize templates (most of them) will be a significant effort.
I defer to @pdelboca on this but am unfamiliar with alternatives
ckanext-scheming and more recently the example I've added for #8014 use the form macros and they work well. Since they've been separated into their own templates they're easier to override now. It is useful to have a standard way to render labels, help text and error messages.
👍 but is there a better way to handle adding a class to to a tag in a jinja2 template? Should we have ids on everything and do it with CSS instead?
💯 |
Beta Was this translation helpful? Give feedback.
-
Is there any decision, or guidelines, for the extent to which the UI work will impact the implementation in HTML, JavaScript, CSS, and logic in Jinja at all? I think it is important to make this clear, for the project itself and also for the type of questions raised here by @pdelboca Is this project also, by definition, a revamp of the templating layer, or, as much as possible, is it just about "look and feel"? If it is primarily or completely about look and feel then issues around macros and blocks etc are almost unrelated. If we think those things are part of the scope of the project then it probably requires quite a lot of thinking and planning. Either direction is fine, but, I'd like to understand better to see how I could best contribute. |
Beta Was this translation helpful? Give feedback.
-
Hi, for now we're far away from new UI implementation which marks a perfect time for discussing what are technological opportunities and constraints.
First I propose to discuss the framework using which we can assess technology side of UI Revamp.
Second, do you think usual checklist is applicable here?
Third, what tech you'd suggest and why?
Thanks! We have time so can have a relaxed discussion over whole February.
Beta Was this translation helpful? Give feedback.
All reactions