Opened 5 years ago

Last modified 3 years ago

#3087 new enhancement

User settings system

Reported by: tardyp Owned by:
Priority: major Milestone: 0.9.+
Version: master Keywords: www, easy


Some feature are not something that everybody would want. We need to allow people to enable, disable stuff directly in the UI.

Storing the settings could be done in the buildbot DB, but it is much more simple to store it in browser LocalStorage?:

The setting system can be added to the User menu (which will need to be activated even if no authentication is enabled in master.cfg)

It will display a small bootstrap dialog, with all parameter configurable here.

Change History (4)

comment:1 Changed 5 years ago by Ben

Which settings do you have in mind there ?

comment:2 Changed 5 years ago by tardyp

Settings like:

[x] Enable notifications

[x] Only Failed builds [x] Use Desktop notifications

[ 20 ] Number of recent builds in home page [ 5 ] Number of recent builders in home page

There should be a service for letting plugins define user settings:

  • in a config:

settingsServiceProvider.defineSettings "metrics", [

name: "build_history" label: "Build history" description: "how much builds should metrics plugin analyse" type: "integer"


  • in a controller

settingsServiceProvider.bindSettings($scope, "metrics", "build_history")

comment:3 Changed 5 years ago by sa2ajj

Note: See TracTickets for help on using tickets.