I've got a project where I'm migrating a grid layout/nested content-based site to the newer block grid / block list. I've got more or less everything done with one exception - rendering on the backoffice.
Not having the rendering would be a problem as the content editors would not be able to see the page as they're editing it on backoffice. However, afaik, the only way to render the blocks on backoffice is by creating AngularJs html files for each of the blocks.
I have a number of issues with block grid being built like this:
It has been a couple of years since end of life for AngularJs. I can't say I'm too comfortable spending time building out all of these files in AngularJs when it is no longer supported.
I have around 80 block types that will need these files. Some of them were straightforward to make, but the remaining all utilize more complex cshtml for the frontend rendering. Converting all of these to AngularJs will be challenging and time consuming.
The maintainability for these blocks is now significantly less great. Changes made to a block's cshtml will now also need to be made on the html file. With there being two files, keeping them in sync is now always a potential problem whenever updates are made.
Additionally, I'm having issues with there being only one possible css file to assign to a block. The site is built on bootstrap and of course has its own styling, so right off the bat I'm needing at least css two files to be applied for styling. Even if I get all the cshtml's converted, they still don't look correct due to needed styling being missing.
This isn't an issue I've looked too deeply into so there might be a way for me to get the files (which are bundled with Smidge) applied some other way. Regardless, I should be able to just apply multiple css files instead of looking for workarounds.
My situation aside, that leaves the question I have: is there a way for me to use the existing cshtml files for rendering the block grid on backoffice? Or is the current implementation only allowing for these AngularJs files to be used?
And a side question: will Umbraco backoffice ever be upgraded from AngularJs considering it is no longer supported? This is somewhat relevant to my cshtml --> html conversion problem as I might reconsider implementing the backoffice rendering for now if there are plans to upgrade from the now-dead AngularJs.
Block Grid cshtml Backoffice Rendering
I've got a project where I'm migrating a grid layout/nested content-based site to the newer block grid / block list. I've got more or less everything done with one exception - rendering on the backoffice.
Not having the rendering would be a problem as the content editors would not be able to see the page as they're editing it on backoffice. However, afaik, the only way to render the blocks on backoffice is by creating AngularJs html files for each of the blocks.
I have a number of issues with block grid being built like this:
It has been a couple of years since end of life for AngularJs. I can't say I'm too comfortable spending time building out all of these files in AngularJs when it is no longer supported.
I have around 80 block types that will need these files. Some of them were straightforward to make, but the remaining all utilize more complex cshtml for the frontend rendering. Converting all of these to AngularJs will be challenging and time consuming.
The maintainability for these blocks is now significantly less great. Changes made to a block's cshtml will now also need to be made on the html file. With there being two files, keeping them in sync is now always a potential problem whenever updates are made.
Additionally, I'm having issues with there being only one possible css file to assign to a block. The site is built on bootstrap and of course has its own styling, so right off the bat I'm needing at least css two files to be applied for styling. Even if I get all the cshtml's converted, they still don't look correct due to needed styling being missing.
This isn't an issue I've looked too deeply into so there might be a way for me to get the files (which are bundled with Smidge) applied some other way. Regardless, I should be able to just apply multiple css files instead of looking for workarounds.
My situation aside, that leaves the question I have: is there a way for me to use the existing cshtml files for rendering the block grid on backoffice? Or is the current implementation only allowing for these AngularJs files to be used?
And a side question: will Umbraco backoffice ever be upgraded from AngularJs considering it is no longer supported? This is somewhat relevant to my cshtml --> html conversion problem as I might reconsider implementing the backoffice rendering for now if there are plans to upgrade from the now-dead AngularJs.
is working on a reply...