Skip to content

DevIndex: Add Total Contributions label to StatusToolbar #9149

@tobiu

Description

@tobiu

This task updates the DevIndex.view.home.StatusToolbar to include a new "Total Contributions" label.

Changes:

  1. Rename updateRowsLabel to updateRowsLabels: Reflecting the fact that it now manages multiple labels.
  2. Add Total Contributions Label: A new label displaying the summed contributions.
  3. Turbo Mode Support: The summation logic handles both Neo.data.Record instances (via totalContributions field) and raw data objects (via tc property) to support the store's lazy instantiation mode.
  4. Separator: Added a bullet separator between the Total Contributions and Visible Rows labels.
  5. Positioning: Placed Total Contributions before Visible Rows for better visual hierarchy.

This enhancement provides researchers and users with immediate aggregate data on the currently filtered view.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions