Skip to content

Ability to "Star" Goals + Starred Goals shown first in all goals lists & goals columns #20287

@mattab

Description

@mattab

Acceptance criteria

  • on the "Manage Goals" page, there is a new column, in first position, with a "Star" icon
  • it appears empty by default for all goals eg. ⚝
  • and any Write or Admin or Super User can click the star icon to star a Goal and then the star appears yellow: ⭐
  • this is not a per-user preference, but a website setting - so when a goal is starred, the setting is recorded within the website/measurable. So if anyone starred any goals on that website, every user with access to the site will see it as starred
  • read-only users cannot star goals

Design: basic, eg. similar to how Jira does it:

image

Then when one or more Goals have been starred then Matomo will change its display to:

  • for starred goals, show them first at top in "Goals > Overview" page (with star icon shown next to title)
  • for starred goals, show them first in the Goal name in the Goal Selector in left menu (with star icon appended in the Select element)
  • in the “Add widget” selector on dashboard, show first the starred goals reports - then the others goals
    -- (Similar in the Settings > Platform > widgets selector)
  • for starred goals, when viewing Display a table with Goals metrics,
    -- the append a star icon (with white empty background) after all column names for this starred goals
    -- show all starred goals columns first on the left, then show non-starred goals afterwards
  • So whenever we list goals, they are sorted starred goals first, then sorted alphabetically

Related: #17950

Metadata

Metadata

Assignees

No one assigned

    Labels

    EnhancementFor new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc.MajorIndicates the severity or impact or benefit of an issue is much higher than normal but not critical.c: GoalsFor bugs and features related to goals tracking & reporting.c: TeamworkDelightful teamwork with Matomo flexible & intuitive tools.c: UsabilityFor issues that let users achieve a defined goal more effectively or efficiently.

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions