Skip to content
Snippets Groups Projects

fix disabled create insight button

Created by: unclejustin

The create insight button on the create insight screen was erroneously counting all insights instead of just nonfrozen insights. This caused the create insight button to be disabled if there was more than 2 insights total.

This PR filters the insight count to only include non-frozen insights.

Test plan

  • Set up local instance with starter license.
  • Go to insights
  • Create insights until you have two unlocked insights
  • Should not be able to create any more

App preview:

Check out the client app preview documentation to learn more.

Merge request reports

Approval is optional

Merged by avatar (Sep 23, 2025 12:03am UTC)

Merge details

  • Changes merged into main with 543f8145.
  • Deleted the source branch.

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading