General clean up. Trying to make things load faster and more smoothly.
This commit is contained in:
@@ -45,17 +45,21 @@ export let ae_snip = string_snippets;
|
||||
// 'classes__events_pres_mgmt_menu': classes__events_pres_mgmt_menu
|
||||
// };
|
||||
|
||||
// Set the version for the app data. Changing this should force a notification and ask the user to clear and reload the page.
|
||||
let ver = '2024-08-21_1736';
|
||||
let ver_idb = '2024-08-21_1735';
|
||||
|
||||
// *** BEGIN *** Longer-term app data. This should be stored to local storage.
|
||||
export let ae_app_local_data_struct: key_val = {
|
||||
'ver': '2024-08-16_1821',
|
||||
'ver_idb': '2024-08-16_1826', // Clear if date IndexedDB version
|
||||
'name': 'Aether - App Hub (SvelteKit 2.x Svelte 4.x)',
|
||||
'theme': 'light',
|
||||
'iframe': false,
|
||||
'title': `OSIT's Æ`, // - Dev SvelteKit`, // Æ
|
||||
ver: ver, // Clear local storage if date does not match the session ver value.
|
||||
ver_idb: ver_idb, // Clear if date IndexedDB version
|
||||
name: 'Aether - App Hub (SvelteKit 2.x Svelte 4.x)',
|
||||
theme: 'light',
|
||||
iframe: false,
|
||||
title: `OSIT's Æ`, // - Dev SvelteKit`, // Æ
|
||||
|
||||
'debug': false, // A simple flag to know if we should show debug information.
|
||||
'edit_mode': false, // A simple flag to know if we should show edit mode options.
|
||||
debug: false, // A simple flag to know if we should show debug information.
|
||||
edit_mode: false, // A simple flag to know if we should show edit mode options.
|
||||
|
||||
'account_id': ae_account_id, // OSIT Demo _XY7DXtc9MY
|
||||
'account_code': 'not_set',
|
||||
@@ -173,6 +177,8 @@ export let ae_app_local_data_struct: key_val = {
|
||||
'person': {
|
||||
show_content__person_page_help: false,
|
||||
},
|
||||
|
||||
test: true,
|
||||
}
|
||||
// console.log(`AE Stores - App Local Storage Data:`, ae_app_local_data_struct);
|
||||
|
||||
@@ -186,11 +192,10 @@ export let ae_loc: Writable<key_val> = localStorageStore('ae_loc', ae_app_local_
|
||||
|
||||
// *** BEGIN *** Temporary app data. This should be stored to session storage.
|
||||
export let ae_app_session_data_struct: key_val = {
|
||||
'ver': '2024-02-27_13',
|
||||
'log_lvl': 0,
|
||||
// 'name': 'Aether App Template',
|
||||
// 'theme': 'light',
|
||||
// 'account_id': ae_account_id,
|
||||
ver: ver,
|
||||
ver_idb: ver_idb,
|
||||
log_lvl: 0,
|
||||
|
||||
'ds': {
|
||||
'submit_status': null,
|
||||
},
|
||||
@@ -235,6 +240,8 @@ export let ae_app_session_data_struct: key_val = {
|
||||
'api_download_kv': {},
|
||||
// Example: {example_file_id: {status: 'downloading', endpoint: '/event/file/abc123/download', filename: 'example_file_name.ext', size_total: 0, size_loaded: 0, percent_completed: 0}}
|
||||
'api_upload_kv': {}, // {example_temp_id: {status: 'uploading', endpoint: '/event/file/abc123/upload', filename: 'example_file_name.ext', size_total: 0, size_loaded: 0, percent_completed: 0}}
|
||||
|
||||
test: true,
|
||||
};
|
||||
// console.log(`AE Stores - App Session Storage Data:`, ae_app_session_data_struct);
|
||||
export let ae_sess = writable(ae_app_session_data_struct);
|
||||
@@ -242,7 +249,7 @@ export let ae_sess = writable(ae_app_session_data_struct);
|
||||
|
||||
// *** BEGIN *** Temporary API data. This should be stored to session storage.
|
||||
export let ae_api_data_struct: key_val = {
|
||||
'ver': '2024-02-22_17',
|
||||
'ver': '2024-08-11_11',
|
||||
'base_url': api_base_url,
|
||||
'base_url_bak': api_base_url_bak,
|
||||
'api_secret_key': api_secret_key, // 'YOUR_API_SECRET_KEY',
|
||||
|
||||
Reference in New Issue
Block a user