< 302023-03-31⋎01 >

Topic for #farmOS is: farmOS (farmos.org) is a free and open source, web-based farm management system. User guide: farmos.org/guide/ - Forum: farmOS.discourse.groupSet by mstenta on 2021-06-15 at 12:52
02:38*heartburn has quit (Read error: Connection reset by peer)
02:39*heartbur1 has joined
02:50*heartbur1 is now known as heartbur1
02:54*heartburn has quit (Quit: Reconnecting)
02:57*heartburn has joined
18:33mstenta[m]> Why does the breadcrumb say "edit []", but the page looks like the "view" page?
18:33mstenta[m]symbioquine paul121 I confirmed locally that's an existing issue - never noticed it before!
18:33mstenta[m]I'll take a quick look
18:33mstenta[m]But in the meantime, symbioquine how do you feel about me merging github.com/farmOS/farmOS/pull/661 ?
18:34mstenta[m]Also, I added another commit to github.com/farmOS/farmOS/pull/654 that introduces the `QuickFormElementsTrait` with a `buildInlineContainer()` method. Does that look ready to merge paul121 ?
18:44mstenta[m]> Why does the breadcrumb say "edit []", but the page looks like the "view" page?
18:44mstenta[m]Looks like this is a Gin issue: www.drupal.org/project/gin/issues/328198
20:26paul121[m]fwiw another breadcrumb issue "Back to site" 😄 farmos.discourse.group/t/back-to-site-br
20:38paul121[m]> <@mstenta:matrix.org> > Why does the breadcrumb say "edit []", but the page looks like the "view" page?
20:38paul121[m]>
20:38paul121[m]> Looks like this is a Gin issue: www.drupal.org/project/gin/issues/328198
20:38paul121[m]Cool, didn't review code but maybe we just need to test this out and give it RTBC?
20:39paul121[m]If not, maybe we just override what Gin does and provide these ourselves. Then we have control
21:08mstenta[m]Yea I looked at the Gin code. Both the "Edit [entity-type]" and "Back to site" are added by the same breadcrumb preprocess function
21:10mstenta[m]We can add our own preprocess, along with a hook to ensure ours runs after Gin's, and modify what Gin produces
21:10mstenta[m]Might be a bit fragile if Gin changes anything
21:14mstenta[m]But I was thinking the same thing ... lets change "Back to site" :-)
21:28paul121[m]ya!

< 302023-03-31⋏01 >