This commit is contained in:
2020-03-10 22:59:45 +00:00
parent f88416ca94
commit a5deb19177
2 changed files with 3 additions and 4 deletions

View File

@@ -4,7 +4,6 @@
## IMMEDIATE ITEMS
TODO: DataDump plugin make sure locale export json files are named "translation" instead as raven only sees "translation" when importing
TODO: BizRoles.cs seems to get hammered on every single request, is it efficient?

View File

@@ -655,13 +655,13 @@ namespace AyaNova.Biz
i.UserOptions.EmailAddress = j["EmailAddress"].Value<string>();
//UI colour
//TODO: this needs to be switched to a web friendly value
//TODO: this needs to be tested now that it's a web friendly value in the dbdump file
/*
Hexadecimal notation: #RGB[A]
R (red), G (green), B (blue), and A (alpha) are hexadecimal characters (09, AF). A is optional. The three-digit notation (#RGB) is a shorter version of the six-digit form (#RRGGBB). For example, #f09 is the same color as #ff0099. Likewise, the four-digit RGB notation (#RGBA) is a shorter version of the eight-digit form (#RRGGBBAA). For example, #0f38 is the same color as #00ff3388.
*/
throw new ArgumentOutOfRangeException("UserBiz::ImportV7Async - UI color needs to be pre-converted in DataDump to RGB values");
//i.UserOptions.UiColor = j["ScheduleBackColor"].Value<int>();
// This is untested as of now, but should work, maybe if it doesn't the selector needs to be combined with dot notation instead of two array notations?
i.UserOptions.UiColor = j["jextra"]["hexaScheduleBackColor"].Value<string>();
//Set unusable random login credentials