This commit is contained in:
2021-02-04 23:55:40 +00:00
parent 809befbdb0
commit 951f0fafd6
3 changed files with 15 additions and 14 deletions

View File

@@ -11,29 +11,28 @@ LISTVIEW REPLACE CURRENT <----HERE not THERE ---v
(below this is all past for reference)
TODO (now)
CLIENT
SERVER
DataListSqlFilterCriteriaBuilder - modify to handle date tokens using client timestamp (old filter code already put back in comment form)
API docs - remove the outdated stuff if listview and specs are documented
no need to document the listview shit, let people figure it out if they have to, seems like something we don't need to push out there
as it's our UI specific and they can easily figure it out from the api explorer and examine the fetch ops from client
CLIENT
Implement filter buttons for mobile mode
Need filter drop down to select which columns to filter which triggers opening regular filter items
Needs also to show a filter beside "headings" which are filtered so it's known
Or maybe if it's not too ugly filter on each one, nahh theres no room I think
NON VISIBLE filters?
filter set on column then later hidden??
filter should only apply to visible columns to avoid plenty of confusion that will undoubtedly come from support questions
Mobile view
why does it not switch when switch widths and have to reset?
SERVER
DataListSqlFilterCriteriaBuilder - modify to handle date tokens using client timestamp (old filter code already put back in comment form)
API docs - at least remove the outdated stuff if not outright replacing it
maybe no need to document the listview shit, let people figure it out if they have to, seems like something we don't need to push out there
todo (after)

View File

@@ -629,6 +629,7 @@ async function fetchTranslatedText(vm) {
"DateRangePastYear",
"DateRangePast90Days",
"DateRangePast30Days",
"DateRangePast7Days",
"DateRangePast24Hours",
"DateRangeJanuary",
"DateRangeFebruary",
@@ -706,6 +707,7 @@ function populateSelectionLists(vm) {
{ name: vm.$ay.t("DateRangePastYear"), id: "*pastyear*" }, //last 365 days
{ name: vm.$ay.t("DateRangePast90Days"), id: "*past90days*" },
{ name: vm.$ay.t("DateRangePast30Days"), id: "*past30days*" },
{ name: vm.$ay.t("DateRangePast7Days"), id: "*past7days*" },
{ name: vm.$ay.t("DateRangePast24Hours"), id: "*past24hours*" },
{ name: vm.$ay.t("DateRangeJanuary"), id: "*january*" },

View File

@@ -34,7 +34,7 @@ export default new Vuex.Store({
enums: {}, //all enum values with translated text to match stored as key e.g. enums:={AuthorizationRoles:{0:"no role",1:"Limited role"},UserTypes:{0:"Technician",1:"Client user"}}
userOptions: {
languageOverride: "en-US",
timeZoneOverride: "America/New_York",
timeZoneOverride: null, //use browser tz by default
currencyName: "USD",
hour12: true,
uiColor: "#000000",
@@ -85,7 +85,7 @@ export default new Vuex.Store({
state.formCustomTemplate = {};
state.apiUrl = "";
state.userOptions.languageOverride = "en-US";
state.userOptions.timeZoneOverride = "America/New_York";
state.userOptions.timeZoneOverride = null;
state.userOptions.currencyName = "USD";
state.userOptions.hour12 = true;
state.userOptions.uiColor = "#000000";