Skip to content

Dashboard: Orders to fulfill #283

@aforcier

Description

@aforcier

As a store owner I want a quick way to see how many open orders I have, and have a quick way to go directly to a list of them.

dashboard-orders-to-fulfill

Relies on #282, so we can open the order list filtered to 'Processing' orders.

TODO

FluxC

  • Fetch orders filtered by the order status "processing" - these would not be saved in the database, but instead used just to grab a count. We don't want to save these changes in the database because the orders view may currently be filtered by something entirely different and the database is currently refreshed after every filter change.

UI

  • On first load or force refresh of dashboard, grab total count from FluxC
  • Create a new view (not generic, we'll convert it later if variations are needed)
  • Add view to dashboard, visible only if there are orders waiting for fulfillment
  • Add click event to open the orders view filtered by "processing"
    -- this should always force a refresh of the data, even if the view is already filtered by orders.
  • Refresh dashboard on initial load and then anytime an onOrderChanged event that is NOT the event to fetch order count is fired (deferred refresh if dashboard not active)
  • Add unit tests for any Dashboard contract changes

Metadata

Metadata

Assignees

Labels

category: designLayout and style elements in the UI or user interface, including color and animations.

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions