Skip to content

Personalized data on main page #141

Description

@ConcernedHobbit

Add some client-side JS to have some record keeping in localStorage

localStorage.hits: {
  [slug]: {
    lastVisited: number<timestamp>;
    timesVisited: number; 
  }
}
localStorage.favorites: {
  [slug]: number<timestamp>;
}
localStorage.hidden: {
  [slug]: number<timestamp>;
}
  • Show favorites on main page
  • Allow organizing songs by times visited OR alphabetically
  • Hide hidden songs from main page (can be 'show hidden' button at end); if visiting a hidden page, show warning first ("are you sure you want to view?")

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions