Refactor duplicate code from LocalActionDefault/LocalTaskDefault and their interfaces into a shared trait/interface

Created on 26 August 2018, about 6 years ago
Updated 17 October 2023, about 1 year ago

Problem/Motivation

While working on #2912363: LocalTaskDefault/LocalActionDefault ignore parameters when raw parameters are not present. β†’ it became clear that there is a great deal of shared concepts and code between the local actions and local tasks.

Bug fixes for one are needed for the other, which could lead to strange bugs if only one class is changed.

Proposed resolution

Define an interface for the shared portions of code, and provide a trait.

Remaining tasks

N/A

User interface changes

N/A

API changes

API addition:
LocalLinkInterface and LocalLinkTrait are now used by LocalActionDefault and LocalTaskDefault

Data model changes

N/A

πŸ“Œ Task
Status

Needs work

Version

11.0 πŸ”₯

Component
Menu systemΒ  β†’

Last updated 1 day ago

Created by

πŸ‡ΊπŸ‡ΈUnited States tim.plunkett Philadelphia

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.71.5 2024