| 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:33 | mstenta[m] | > Why does the breadcrumb say "edit []", but the page looks like the "view" page? |
| 18:33 | mstenta[m] | symbioquine paul121 I confirmed locally that's an existing issue - never noticed it before! |
| 18:33 | mstenta[m] | I'll take a quick look |
| 18:33 | mstenta[m] | But in the meantime, symbioquine how do you feel about me merging github.com/farmOS/farmOS/pull/661 ? |
| 18:34 | mstenta[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:44 | mstenta[m] | > Why does the breadcrumb say "edit []", but the page looks like the "view" page? |
| 18:44 | mstenta[m] | Looks like this is a Gin issue: www.drupal.org/project/gin/issues/328198 |
| 20:26 | paul121[m] | fwiw another breadcrumb issue "Back to site" 😄 farmos.discourse.group/t/back-to-site-br |
| 20:38 | paul121[m] | > <@mstenta:matrix.org> > Why does the breadcrumb say "edit []", but the page looks like the "view" page? |
| 20:38 | paul121[m] | > |
| 20:38 | paul121[m] | > Looks like this is a Gin issue: www.drupal.org/project/gin/issues/328198 |
| 20:38 | paul121[m] | Cool, didn't review code but maybe we just need to test this out and give it RTBC? |
| 20:39 | paul121[m] | If not, maybe we just override what Gin does and provide these ourselves. Then we have control |
| 21:08 | mstenta[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:10 | mstenta[m] | We can add our own preprocess, along with a hook to ensure ours runs after Gin's, and modify what Gin produces |
| 21:10 | mstenta[m] | Might be a bit fragile if Gin changes anything |
| 21:14 | mstenta[m] | But I was thinking the same thing ... lets change "Back to site" :-) |
| 21:28 | paul121[m] | ya! |