Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
  • Sign in / Register
Minds Frontend
Minds Frontend
  • Project overview
  • Repository
  • Issues 412
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 58
  • CI / CD
  • Security & Compliance
  • Packages
  • Wiki
  • Snippets
  • Members
  • Collapse sidebar
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Minds
  • Minds FrontendMinds Frontend
  • Issues
  • #2351

Closed
Open
Opened 16 minutes ago by Ben Hayward@benhayward.ben
Report abuse New issue

Wrapper for local storage interaction with user preferences

Was chatting with @edgebal and noticed some weak areas in the local storage that rely on 0's and 1's. It'd be nice if we could clean this up and put it into its own service to make interaction cleaner.

I'd also suggest consideration be paid to looking into something like https://github.com/gruns/ImmortalDB for the sake of data integrity.

Example calls to the service could be as simple as (Emi's examples):

  • this.userPrefs.set('recurring-wire', true)
  • this.userPrefs.set('recurring-wire', false)
  • this.userPrefs.set('foo', { bar: 'baz' })
Edited 14 minutes ago by Ben Hayward

Related issues
0

  • Discussion 0
  • Designs 0
  • Ben Hayward @benhayward.ben changed the description 15 minutes ago

    changed the description

  • Ben Hayward @benhayward.ben added Priority::2 - Normal Product::Platform Type::Feature scoped labels 15 minutes ago

    added scoped labels

  • Ben Hayward @benhayward.ben added Status::Validation scoped label 15 minutes ago

    added scoped label

  • Ben Hayward @benhayward.ben changed title from Wrapper for local storage interaction for user preferences to Wrapper for local storage interaction with user preferences 14 minutes ago

    changed title from Wrapper for local storage interaction user preferences to Wrapper for local storage interaction user preferences

Please register or sign in to reply
0 Assignees
None
none
Epic
None
None
Milestone
None
Time tracking
No estimate or time spent
None
Due date
None
4
Labels
Priority::2 - Normal Product::Platform Status::Validation Type::Feature
None
Weight
None
Confidentiality
Not confidential
Lock issue
Unlocked
2
2 participants
user avatar
Ben Hayward
user avatar
Emiliano Balbuena
Reference: minds/front#2351