I spotted that there's a branch of v8 called 'Grid 2' in Github. I believe there may have been some discussion about this at CodeGarden and some focus on this at the retreat, but alas I wasn't there, and I'd like to know a bit more about it.
Short of poking around in the codebase I wondered if anyone had any insight into what changes to expect with regards to the new grid, and also whether it's likely to be launched early in the v8 lifecycle or if it's something for later down the line.
Specifically, I use the DocType Grid Editor package extensively, so I'd like to try to prepare myself for the changes coming with the new grid. I'm wondering if that package will effectively be incorporated into the core?
At the start of this year's CG retreat we rolled the idea of what if doctypes were central to the Grid, much like they are with Nested Content. Instead of relying of the JS config to define a grid-editor, we could reuse doctypes?
During the retreat, we prototyped a Grid "v2", which did just that. The "v2" part is there because there is such a fundamental difference from the Grid "v1". The idea being that "Grid v1" will remain, (for backwards-compat), and "Grid v2" will be for new installations. (This was all for Umbraco v8).
By the end of the retreat, we had a working proof-of-concept, from picking doctypes, the grid-editor, row configurations (also doctypes), through to the strong-typed view-models/partial-views. Much like how DTGE works.
Except we use something called IPublishedElement instead of IPublishedContent, (it's basically a subset of it).
As far as DTGE is concerned, it would be redundant with Grid v2! (YEY!)
Since the retreat, to my knowledge, no further work has happened on Grid v2. Some discussion needs to be had around "schema types", (basically doctypes without templates and other page-based properties), but I'm not sure where HQ are with that.
IMHO, I don't think Grid v2 will be released as part of Umbraco v8.0, it would more likely be a v8.1, v8.2 feature, (that's purely my personal opinion).
There is a super brief mention of schema types and grid v2 by Shannon in this weeks unicorner here https://youtu.be/upRgGTM8sJU?t=134 sounds like it's something that is still cooking :-)
Really nice description Lee - I'm beginning to like it already!
Hi Søren, the branch is temp8-grid2 (which I'm sure that's the one you've been using). From looking at the commits, no further work has happened to it since the CG18 Retreat weekend.
The last I looked at it was at CG18 when we demo'd it during the Retreat review session. I haven't been involved in any further discussions about it. Not sure who "owns" the feature over at HQ, I assume all current focus is on getting v8.0.0 shipped.
But I think opening a ticket on GitHub might be a good place to have any further discussion?
Grid v2 — what to expect
Hello,
I spotted that there's a branch of v8 called 'Grid 2' in Github. I believe there may have been some discussion about this at CodeGarden and some focus on this at the retreat, but alas I wasn't there, and I'd like to know a bit more about it.
Short of poking around in the codebase I wondered if anyone had any insight into what changes to expect with regards to the new grid, and also whether it's likely to be launched early in the v8 lifecycle or if it's something for later down the line.
Specifically, I use the DocType Grid Editor package extensively, so I'd like to try to prepare myself for the changes coming with the new grid. I'm wondering if that package will effectively be incorporated into the core?
Any insights most welcome, thanks folks.
Hi Dan,
At the start of this year's CG retreat we rolled the idea of what if doctypes were central to the Grid, much like they are with Nested Content. Instead of relying of the JS config to define a grid-editor, we could reuse doctypes?
During the retreat, we prototyped a Grid "v2", which did just that. The "v2" part is there because there is such a fundamental difference from the Grid "v1". The idea being that "Grid v1" will remain, (for backwards-compat), and "Grid v2" will be for new installations. (This was all for Umbraco v8).
By the end of the retreat, we had a working proof-of-concept, from picking doctypes, the grid-editor, row configurations (also doctypes), through to the strong-typed view-models/partial-views. Much like how DTGE works. Except we use something called
IPublishedElement
instead ofIPublishedContent
, (it's basically a subset of it).As far as DTGE is concerned, it would be redundant with Grid v2! (YEY!)
Since the retreat, to my knowledge, no further work has happened on Grid v2. Some discussion needs to be had around "schema types", (basically doctypes without templates and other page-based properties), but I'm not sure where HQ are with that.
IMHO, I don't think Grid v2 will be released as part of Umbraco v8.0, it would more likely be a v8.1, v8.2 feature, (that's purely my personal opinion).
Cheers,
- Lee
There is a super brief mention of schema types and grid v2 by Shannon in this weeks unicorner here https://youtu.be/upRgGTM8sJU?t=134 sounds like it's something that is still cooking :-)
Really nice description Lee - I'm beginning to like it already!
/Jan
Hi Lee
I have been playing around with the grid-v2 branch on v8, but can't find out how to use Grid v2. Did it the POC ever get pushed to the branch?
Would love to see how far you got, and be a part of the discussion :)
Hi Søren, the branch is
temp8-grid2
(which I'm sure that's the one you've been using). From looking at the commits, no further work has happened to it since the CG18 Retreat weekend.The last I looked at it was at CG18 when we demo'd it during the Retreat review session. I haven't been involved in any further discussions about it. Not sure who "owns" the feature over at HQ, I assume all current focus is on getting v8.0.0 shipped.
But I think opening a ticket on GitHub might be a good place to have any further discussion?
Cheers,
- Lee
Hi Lee, thanks for answering.
Unfortunately I didn't go to that session, and there is no video available.
If anyone can help me use Grid 2 from
temp8-grid2
please chip in :)I actually got it working now. Must have failed the build before.
There is some bugs though, but it's a POC :)
Hi Jan, are there any updates to this? Thanks!
Wonderful! Makes perfect sense (both the direction and the explanation). Thank you muchly, squire :)
You're welcome! Hope to catch up soon.... we miss you!!!
Ditto!
Really want to get to the next umBristol as I've missed 2 in a row now. Got some kid logistics to wrangle but I'm on it!
I added a Feature Request to the Issue tracker to perhaps put this back on the agenda: https://github.com/umbraco/Umbraco-CMS/issues/5839
is working on a reply...