Skip to content

runWithLoadingIndicator declaratively #1535

Open
@josh-griffin

Description

@josh-griffin

Is your feature request related to a problem? Please describe.

Drilling runWithLoadingIndicator callback down is not great and also makes coding with messages a lot harder.

Describe the solution you'd like

remove runWithLoadingIndicator prop. Add a SpinnerReducer which listens to events, if add from master list action is triggered, set open: true. Root component subscribes to Spinner state, opening the <Spinner/> component

Describe alternatives you've considered

Not doing this

Additional context

N/A

Metadata

Metadata

Assignees

No one assigned

    Labels

    Docs: not neededEffort: smallSmall effort story/task, estimated 0-2 daysPriority: normalType: RefactorThe issue relates to restructuring code without affecting functionality (hopefully)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions