mirror of
https://github.com/TheAnachronism/docspell.git
synced 2025-06-23 02:48:26 +00:00
Client settings per collective and user
Client settings can be stored at the user and and the collective. The settings used in the application are merged from these two settings, where any user setting takes precedence. The form can now manage both variants. Refs: #838
This commit is contained in:
@ -11,9 +11,7 @@ port module Ports exposing
|
||||
, printElement
|
||||
, receiveCheckQueryResult
|
||||
, receiveServerEvent
|
||||
, receiveUiSettings
|
||||
, removeAccount
|
||||
, requestUiSettings
|
||||
, setAccount
|
||||
, setUiTheme
|
||||
)
|
||||
@ -21,7 +19,6 @@ port module Ports exposing
|
||||
import Api.Model.AuthResult exposing (AuthResult)
|
||||
import Data.QueryParseResult exposing (QueryParseResult)
|
||||
import Data.ServerEvent exposing (ServerEvent)
|
||||
import Data.UiSettings exposing (StoredUiSettings)
|
||||
import Data.UiTheme exposing (UiTheme)
|
||||
import Json.Decode as D
|
||||
|
||||
@ -46,12 +43,6 @@ port receiveCheckQueryResult : (QueryParseResult -> msg) -> Sub msg
|
||||
port initClipboard : ( String, String ) -> Cmd msg
|
||||
|
||||
|
||||
port receiveUiSettings : (StoredUiSettings -> msg) -> Sub msg
|
||||
|
||||
|
||||
port requestUiSettings : AuthResult -> Cmd msg
|
||||
|
||||
|
||||
{-| Creates a new window/tab, writes the contents of the given element
|
||||
and calls the print dialog.
|
||||
-}
|
||||
|
Reference in New Issue
Block a user