Skip to content

Bug: The same item (insight, product etc.) can be added to shortcuts multiple times. #38973

@HaynesPostHog

Description

@HaynesPostHog

Bug Description

Bug description

Users can accidentally add the same item to the shortcuts panel multiple times, creating duplicate entries.

Image

It would be much better for the prompt to change to "remove from shortcuts" or to be greyed out when the item is already a shortcut

How to reproduce

Add an item to shortcuts panel
Attempt to add the same item again
Observe duplicate entry is created

Additional context

From: https://posthoghelp.zendesk.com/agent/tickets/38791

Debug info

Kind: feedback

Target area: analytics

Report event: http://go/ticketByUUID/075c5254-40ad-4da1-84ef-8ec983b6e38b

Session: https://us.posthog.com/project/sTMFPsFhdP1Ssg/replay/019991a9-7f73-70a5-aeed-c2c9be2cb5eb?t=3324

Exceptions: https://us.posthog.com/project/2/error_tracking?filterGroup=%7B%22type%22%3A%22AND%22%2C%22values%22%3A%5B%7B%22type%22%3A%22AND%22%2C%22values%22%3A%5B%7B%22key%22%3A%22%24session_id%22%2C%22value%22%3A%5B%22019991a9-7f73-70a5-aeed-c2c9be2cb5eb%22%5D%2C%22operator%22%3A%22exact%22%2C%22type%22%3A%22event%22%7D%5D%7D%5D%7D

Location: https://us.posthog.com/project/38983/insights/B0onilFd

Persons-on-events mode for project: person_id_override_properties_joined

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working rightteam-devexuxchanges concerning the users experience

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions