Skip to content

Conversation

@mstrasinskis
Copy link
Contributor

@mstrasinskis mstrasinskis commented Jul 17, 2025

Motivation

In the new Launchpad feature – Favourite Projects – users should be able to mark SNS projects as favourites and filter to display only those using a "favourite projects" toggle. The user's selected projects are stored in the nns-dapp backend canister. To make them accessible at the component level, new services and a store are introduced.

API PR: #6989

Changes

  • Introduced a new snsFavProjectsStore to hold user selection.
  • Added new services:
    • loadSnsFavProjects
    • saveSnsFavProject
    • addSnsFavProject
    • removeSnsFavProject

Tests

  • Added tests for the new store.
  • Added tests for the new services.
  • Verified that favorite projects are loaded only when the feature flag is enabled.

Todos

  • Accessibility (a11y) – any impact?
  • Changelog – is it needed?

@mstrasinskis mstrasinskis marked this pull request as ready for review July 17, 2025 18:18
@mstrasinskis mstrasinskis requested a review from a team as a code owner July 17, 2025 18:18
@mstrasinskis mstrasinskis marked this pull request as draft July 31, 2025 15:15
@mstrasinskis mstrasinskis changed the title feat(launchpad2): sns fav projects services [ON HOLD] feat(launchpad2): sns fav projects services Jul 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants