Modular logistics and supply chain operating system (LSOS)
JavaScript driver-appfleet-managementfreight-managementinfrastructureinventory-managementlast-mile-deliverylogisticsondemandopen-sourceorder-managementroute-optimizationsupply-chain-managementtracking-and-monitoringtransport-management-systemtransportationwarehouse-management
feat: preparing for performance tweaking to page load sub 1s
Ronald A. Richardsonca3050905d2d
diff --git a/console/app/routes/application.js b/console/app/routes/application.jsindex b84c9dde..28aae62e 100644--- a/console/app/routes/application.js+++ b/console/app/routes/application.js@@ -96,7 +96,10 @@ export default class ApplicationRoute extends Route {* @memberof ApplicationRoute*/afterModel() {- if (!this.session.isAuthenticated) removeBootLoader();+ if (!this.session.isAuthenticated) {+ console.log('boot loader removed');+ removeBootLoader();+ }}/**diff --git a/console/app/routes/console.js b/console/app/routes/console.jsindex 11a9b47f..59a0643b 100644--- a/console/app/routes/console.js+++ b/console/app/routes/console.js@@ -39,6 +39,7 @@ export default class ConsoleRoute extends Route {async afterModel(model, transition) {this.hookService.execute('console:after-model', this.session, this.router, model, transition);removeBootLoader();+ console.log('boot loader removed');}/**diff --git a/console/lib/fleetbase-extensions-generator/index.js b/console/lib/fleetbase-extensions-generator/index.jsindex e3c52dd8..9d4d1c0e 100644--- a/console/lib/fleetbase-extensions-generator/index.js+++ b/console/lib/fleetbase-extensions-generator/index.js@@ -13,6 +13,7 @@ module.exports = {name: require('./package').name,getGeneratedFileHeader() {+ const year = (new Date()).getFullYear();return `/*** ███████╗██╗ ███████╗███████╗████████╗██████╗ █████╗ ███████╗███████╗* ██╔════╝██║ ██╔════╝██╔════╝╚══██╔══╝██╔══██╗██╔══██╗██╔════╝██╔════╝@@ -27,7 +28,7 @@ module.exports = {* Any manual changes will be overwritten on the next build.** @generated- * @copyright © 2024 Fleetbase Pte Ltd. All rights reserved.+ * @copyright © ${year} Fleetbase Pte Ltd. All rights reserved.* @license AGPL-3.0-or-later*/@@ -37,17 +38,15 @@ module.exports = {included(app) {this._super.included.apply(this, arguments);- console.log('\n' + '='.repeat(80));+ console.log('\n' + '/'.repeat(70));console.log('[Fleetbase] Extension Build System');- console.log('='.repeat(80));+ console.log('/'.repeat(70));// Generate files on startupthis.generateExtensionFiles();// Watch for changes in developmentthis.watchExtensionFiles();-- console.log('='.repeat(80) + '\n');},async generateExtensionFiles() {