Add Cacheability to the toolbar items

Created on 8 February 2021, over 3 years ago
Updated 14 September 2023, 10 months ago

Problem/Motivation

Cacheable Metadata is missing for toolbar items:

  • If tabs are not shown in admin theme then the toolbar item should have theme context.
  • Local task manager Cacheability is not added to the toolbar item.
  • Primary and secondary tabs Cacheability is not added to the toolbar item.

Steps to reproduce

Enable the module via drush and then visit any admin page. Once you go back to the active theme the toolbar item will not be rendered because theme context is missing on the toolbar item.

Proposed resolution

Merge all the Cacheable Metadata and add it to the toolbar item.

Remaining tasks

Review.

User interface changes

Fixed the issue described in STR.

πŸ› Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

πŸ‡΅πŸ‡°Pakistan jibran Sydney, Australia

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024