Skip to content

limel-action-bar: support condtional disabling of action-bar-items #4185

Description

@paulinewahle

New feature motivation

Marketing in CRM uses the promoted actions bar (limec-contextual-action-bar) for email sending actions. The send action can only be triggered when recipients and content have been added and should be disabled until then. The only current option to conditionally hide the action makes for poor UX because the user is expecting to find a send action and by hiding the action, the user doesn't receive contextual clues why the action isn't available.

New feature description

Part 1: Disabled state
Limel-action-bar-item already supports disabled state, the same state should get support in the floating action bar.

Part 2: Disabled feedback
Any unavailable action is there to point to its cause. The tooltip already in place for enabled chips can hold the reason for the disabled state.
Touch-screen affordance: This is covered by the existing behavior of the tooltip rendering on tap for both enabled and disabled action buttons.

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions