- Issue created by @plopesc
- @plopesc opened merge request.
- Status changed to Needs review
7 months ago 9:19am 29 April 2024 - πͺπΈSpain plopesc Valladolid
Moving to NR.
Instead of adding a pre_render callback, opted for adding a simple placeholder when user is not allowed to see the navigation bar because it's less intrusive with the LB render array generation process.
- Status changed to Needs work
7 months ago 1:05pm 29 April 2024 - πΊπΈUnited States smustgrave
Since this marked major something we can get test coverage for?
- Status changed to Needs review
7 months ago 1:11pm 29 April 2024 - π¬π§United Kingdom catch
It would be possible to write performance tests - i.e. that any extra queries/cache gets don't happen when the module is enabled for anonymous users, but I think that can be moved to a stable-blocking follow-up, rather than this which ought to block beta and is a simple change in itself. There's not really a way to test it other than performance testing because no user-facing bug.
- πΊπΈUnited States smustgrave
Couldn't do a simple test calling the function to see if a render array is returned?
- π¬π§United Kingdom catch
@smustgrave that's too specific - if we fixed it in the build method like earlier MRs on this issue, then calling the hook implementation directly would still get a render array, just not one that would render the toolbar unnecessarily.
- Status changed to RTBC
7 months ago 1:30pm 29 April 2024 - πΊπΈUnited States smustgrave
Gotcha, opened π Add test coverage Active and tagged as a navigation-stable-blocker (new tag)
This MR seems fine then with the early return.
- Status changed to Needs work
7 months ago 1:36pm 29 April 2024 - Status changed to Needs review
7 months ago 2:23pm 29 April 2024 - Status changed to RTBC
7 months ago 5:20pm 29 April 2024 - Status changed to Downport
7 months ago 5:32pm 29 April 2024 - π¬π§United Kingdom catch
Committed/pushed to 11.x, thanks!. Moving to 10.3.x for backport.
- Status changed to Fixed
7 months ago 9:30pm 29 April 2024 Automatically closed - issue fixed for 2 weeks with no activity.