Skip to content

Next

  • Projects
  • Groups
  • Snippets
  • Help
  • Sign in / Register
Minds Frontend
Minds Frontend
  • Project overview
  • Repository
  • Issues 809
  • Merge Requests 56
  • CI / CD
  • Security & Compliance
  • Packages
  • Wiki
  • Snippets
  • Members
  • Collapse sidebar
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Minds
  • Minds FrontendMinds Frontend
  • Merge Requests
  • !433

Closed
Opened 3 months ago by Ben Hayward@benhayward.ben
Report abuse

[Sprint/InterestingIguana](feat): Preferred hashtag remembered in local storage #1366

Closes #1302 (closed)

Test that your selection for preferred is remembered in local storage.

  1. Set it to on
  2. Tab over to wallet or another page
  3. Refresh
  4. Visit discovery - it should have remembered the state was on.
  5. Turn it off, and repeat to confirm that is remembers the 'off' state
Edited 2 months ago by Ben Hayward
Request to merge fix/default-preferred-state-1366 into master
Pipeline #93904897 passed with warnings for 0e37e82d on fix/default-preferred-state-1366
              Requires 2 more approvals from Devs and Deployers.
              Mark Harding
              Mark Harding

              Closed by Ben Hayward 17 minutes ago

              The changes were not merged into master

              Did not close #1302 (closed)

              Mentions #1366 (closed)

              Deletes source branch

              • Discussion 7
              • Commits 15
              • Pipelines 12
              • Changes 2
              1/1 thread resolved
              • Brian Hatchet :speech_balloon: @brianhatchet approved this merge request 3 months ago

                approved this merge request

              • Mark Harding
                Mark Harding @markeharding · 3 months ago
                Owner

                Screen_Shot_2019-07-09_at_10.19.00_PM

                all is not being set on the API. The button may be saving but you need to toggle on/off to get the list component to realise.

              • Mark Harding @markeharding added MR::Requires Changes scoped label 3 months ago

                added scoped label

              • Ben Hayward @benhayward.ben added 1 commit 3 months ago

                added 1 commit

                • 1b0e9eec - update for feedback

                Compare with previous version

              • Ben Hayward
                Ben Hayward @benhayward.ben · 3 months ago
                Developer

                Okay, I see what you mean. added that in.

              • Mark Harding
                Mark Harding @markeharding started a thread on an old version of the diff 3 months ago
                Resolved by Ben Hayward 3 months ago
              • Ben Hayward @benhayward.ben added 1 commit 3 months ago

                added 1 commit

                • 04c502a3 - Emit event on load to set querystring properly

                Compare with previous version

              • Ben Hayward @benhayward.ben resolved all threads 3 months ago

                resolved all threads

              • Ben Hayward @benhayward.ben added MR::Awaiting Review scoped label and automatically removed MR::Requires Changes label 3 months ago

                added scoped label and automatically removed label

              • Mark Harding @markeharding added Squad::Green scoped label 3 months ago

                added scoped label

              • Ben Hayward @benhayward.ben added 217 commits 2 months ago

                added 217 commits

                • 04c502a3...d69d2bd0 - 216 commits from branch master
                • 92f471ca - Merge branch 'master' of gitlab.com:minds/front into fix/default-preferred-state-1366

                Compare with previous version

              • Ben Hayward @benhayward.ben changed title from [Sprint/InterestingIguana] Preferred hashtag remembered in local storage #1366 (closed) to [Sprint/InterestingIguana](feat): Preferred hashtag remembered in local storage #1366 (closed) 2 months ago

                changed title from [Sprint/InterestingIguana] Preferred hashtag remembered in local storage to [Sprint/InterestingIguana] Preferred hashtag remembered in local storage

              • Ben Hayward @benhayward.ben changed the description 2 months ago

                changed the description

              • Ben Hayward @benhayward.ben added 1 commit 2 months ago

                added 1 commit

                • 33831f05 - Linted

                Compare with previous version

              • Ben Hayward @benhayward.ben added MR::Requires Changes scoped label and automatically removed MR::Awaiting Review label 1 month ago

                added scoped label and automatically removed label

              • Ben Hayward
                Ben Hayward @benhayward.ben · 1 month ago
                Developer

                Not working correctly.

                Steps to reproduce faulty behaviour:

                1. Turn off preferred in discovery. (This saves the cookie to the off state).
                2. Click over to another page (do not reload)
                3. Go back to discovery - preferred will be switched on when it should not be.
              • Ben Hayward @benhayward.ben added 1 commit 3 weeks ago

                added 1 commit

                • 306c6330 - Removed line causing undesired preferred tag emission.

                Compare with previous version

              • Ben Hayward @benhayward.ben added MR::Awaiting Review scoped label and automatically removed MR::Requires Changes label 3 weeks ago

                added scoped label and automatically removed label

              • Ben Hayward
                Ben Hayward @benhayward.ben · 3 weeks ago
                Developer

                This was caused by src/app/modules/newsfeed/newsfeed.component.html trying to set the value of preferred via the input.

              • Ben Hayward @benhayward.ben added 112 commits 3 weeks ago

                added 112 commits

                • 306c6330...534f449e - 111 commits from branch master
                • 4e6864e1 - Merge branch 'master' of gitlab.com:minds/front into fix/default-preferred-state-1366

                Compare with previous version

              • Ben Hayward @benhayward.ben added 49 commits 2 weeks ago

                added 49 commits

                • 4e6864e1...2647cd27 - 47 commits from branch master
                • 40a4c517 - Merge branch 'master' of gitlab.com:minds/front into fix/default-preferred-state-1366
                • cc971618 - Linted

                Compare with previous version

              • Ben Hayward @benhayward.ben added 1 commit 2 days ago

                added 1 commit

                • abfff287 - Update sidebar-selector.component.ts

                Compare with previous version

              • Mark Harding
                Mark Harding @markeharding · 1 day ago
                Owner

                Note how two calls are made, one with all= and one with all=1. Only one call should be made here. Screenshot_2019-11-05_at_10.02.01

              • Mark Harding @markeharding added MR::Requires Changes scoped label and automatically removed MR::Awaiting Review label 1 day ago

                added scoped label and automatically removed label

              • Ben Hayward @benhayward.ben added 55 commits 1 day ago

                added 55 commits

                • abfff287...9bd84a18 - 52 commits from branch master
                • 4449fcfd - Only run on secondary emission.
                • fcd3c5ff - Merge branch 'master' of gitlab.com:minds/front into fix/default-preferred-state-1366
                • 2d27e664 - Merge branch 'fix/default-preferred-state-1366' of gitlab.com:minds/front into...

                Compare with previous version

                Toggle commit list
              • Ben Hayward @benhayward.ben added 1 commit 1 day ago

                added 1 commit

                • 606efd85 - left in console log

                Compare with previous version

              • Ben Hayward @benhayward.ben added 1 commit 1 day ago

                added 1 commit

                • 0e37e82d - Simplified logic

                Compare with previous version

              • Ben Hayward @benhayward.ben closed 17 minutes ago

                closed

              Please register or sign in to reply
              0 Assignees
              None
              None
              Milestone
              None
              Time tracking
              No estimate or time spent
              2
              Labels
              MR::Requires Changes Squad::Green
              Lock merge request
              Unlocked
              6
              6 participants
              user avatar
              Marcelo Rivera
              user avatar
              Emiliano Balbuena
              user avatar
              Martin Santangelo
              user avatar
              Brian Hatchet
              user avatar
              Mark Harding
              user avatar
              Ben Hayward
              Reference: minds/front!433