-
Notifications
You must be signed in to change notification settings - Fork 71
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Summary: 1. Remove existing Options dialog a) move SSH Key to Account Settings b) continue using existing REST endpoint: users/${id}/sshpublickeys 2. support following (local) settings via Redux-store: a) showNotifications (do not disturb) b) notificationSnoozeDuration (do not disturb for) 3. add typing for user settings related entities 4. in Settings use data-driven 3-way diff for change detection. Change is detected by comparing current content of Redux store with user changes(draft values) and base values(store content before at the beginning of user settings updates)
- Loading branch information
Showing
38 changed files
with
1,122 additions
and
258 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
// @flow | ||
import * as C from '_/constants' | ||
import type { UserOptionsType } from '_/ovirtapi/types' | ||
|
||
export type LoadUserOptionsActionType = { | ||
type: C.LOAD_USER_OPTIONS, | ||
payload: { | ||
userOptions: UserOptionsType | ||
} | ||
} | ||
|
||
export type SaveGlobalOptionsActionType = { | ||
type: C.SAVE_GLOBAL_OPTIONS, | ||
payload: {| | ||
updateRate?: number, | ||
language?: string, | ||
showNotifications?: boolean, | ||
notificationSnoozeDuration?: number, | ||
sshKey?: string | ||
|}, | ||
meta: {| | ||
transactionId: string | ||
|} | ||
} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.