This commit is contained in:
@@ -45,19 +45,18 @@ CURRENT TODOs
|
||||
@@@@@@@@@@@ ROADMAP STAGE 1 and 2:
|
||||
|
||||
|
||||
|
||||
todo: Make functional user settings form with all overrides so can test shit out
|
||||
- state.locale.languageOverride = "en-US"; state.locale.timeZoneOverride = "America/New_York"; state.locale.currencyName = "USD";
|
||||
- check server for anything else useroptions
|
||||
- public string EmailAddress { get; set; }
|
||||
public int UiColor { get; set; }//gonna need to convert this one
|
||||
//browser forced overrides
|
||||
public string LanguageOverride { get; set; }
|
||||
public string TimeZoneOverride { get; set; }
|
||||
public string CurrencyName { get; set; }
|
||||
public bool Hour12 { get; set; }
|
||||
todo: add set loginpassword option to menu in usersettings form
|
||||
|
||||
todo: modify locale object to use overrides for language, timezone
|
||||
todo: User settings documentation
|
||||
- do it now?
|
||||
- needs section explaining about how locale is displayed so can link to it from other places
|
||||
- is that it's own page? (maybe because each subject should be short and focused and look clean with lots of whitespace, clear large text)
|
||||
- If I do it in parallel it will be done when I'm done
|
||||
- If I wait I won't waste time with changes needing to be udpated
|
||||
- Guess it's a matter of how solid the form is to decide.
|
||||
- Maybe should at least document it this time so I know what's involved for other forms later
|
||||
- screenshots? Old manual had a lot of them, but...
|
||||
|
||||
todo: SEARCH UI
|
||||
|
||||
|
||||
@@ -110,24 +110,7 @@
|
||||
/////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
/* Xeslint-disable */
|
||||
////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
// import UnderConstruction from "../components/underconstruction.vue";
|
||||
|
||||
// export default {
|
||||
// data() {
|
||||
// return {
|
||||
// userLanguage: window.$gz.locale.getBrowserLanguages()
|
||||
// };
|
||||
// },
|
||||
// components: {},
|
||||
// beforeCreate() {
|
||||
// window.$gz.eventBus.$emit("menu-change", {
|
||||
// isMain: true,
|
||||
// icon: "user-cog",
|
||||
// title: window.$gz.locale.get("UserSettings"),
|
||||
// helpUrl: "form-home-user-settings"
|
||||
// });
|
||||
// }
|
||||
// };
|
||||
const FORM_KEY = "home-user-settings";
|
||||
const API_BASE_URL = "Useroptions/";
|
||||
const FORM_CUSTOM_TEMPLATE_KEY = "Useroptions";
|
||||
@@ -178,20 +161,6 @@ export default {
|
||||
// usertypes: []
|
||||
// },
|
||||
obj: {
|
||||
/* //-------------
|
||||
[EmailAddress]
|
||||
public string EmailAddress { get; set; }
|
||||
|
||||
|
||||
[MaxLength(12)]
|
||||
public string UiColor { get; set; }
|
||||
|
||||
//browser forced overrides
|
||||
public string LanguageOverride { get; set; }
|
||||
public string TimeZoneOverride { get; set; }
|
||||
public string CurrencyName { get; set; }
|
||||
public bool Hour12 { get; set; } */
|
||||
|
||||
id: 0,
|
||||
concurrencyToken: 0,
|
||||
emailAddress: null,
|
||||
@@ -201,9 +170,6 @@ export default {
|
||||
currencyName: null,
|
||||
hour12: null
|
||||
},
|
||||
// default:{
|
||||
// language: locale().getBrowserFirstLanguage()
|
||||
// },
|
||||
formState: {
|
||||
ready: false,
|
||||
dirty: false,
|
||||
@@ -391,6 +357,11 @@ function generateMenu(vm) {
|
||||
});
|
||||
}
|
||||
|
||||
//change password and login
|
||||
// icon: "key",
|
||||
// title: window.$gz.locale.get("SetLoginPassword"),
|
||||
// helpUrl: "form-home-password"
|
||||
|
||||
window.$gz.eventBus.$emit("menu-change", menuOptions);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user