Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • BMBF 2 BMBF 2
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 11
    • Issues 11
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 1
    • Merge requests 1
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Unicorns
  • BMBF 2BMBF 2
  • Issues
  • #26
Closed
Open
Created Aug 23, 2022 by Unicorn 12@Unicorn12Maintainer

Discussion: File imports/notifications.

Right now, the frontend notifies the user when any *Added websocket messages are received. The *Added/*Removed messages are sent whenever a mod/playlist/song is added/removed within the BMBF backend. This applies to all changes in the mods, songs and playlist collections, which importantly, includes:

  • Automatic mod loading due to dependency installation. This means that when installing a mod with several dependencies, lots of "Mod Added" notifications are received which can overwhelm the user.
  • Adding/removing songs from the playlist folders/song folder - BMBF 2 handles this process automatically, so that the songs within BMBF's cache always reflect those on disk - part of the philosophy of BMBF 2 is that it is never a source of truth. Arguably, this means that changes in playlists/songs not caused by BMBF shouldn't notify within the UI, however this is obviously debatable.

The alternative option (which Unicorn 12 would prefer but again, needs discussion) is that the *Added/*Removed messages would be used only to update the frontend's mods/playlists/songs collection, and would not be used to provide notifications. Notifications for the files imported by a user would still be provided via the FileImportResult returned by the file import endpoint.

Assignee
Assign to
Time tracking