- Introduced PageLoadTimeController to measure and display page load times. - Moved the footer content into a partial for better code organization. - Added 'bullet' gem for performance monitoring. This commit enhances the application by providing useful information about load time directly in the UI and refactoring the layout code for maintainability.
17 lines
825 B
JavaScript
17 lines
825 B
JavaScript
// This file is auto-generated by ./bin/rails stimulus:manifest:update
|
|
// Run that command whenever you add a new controller or create them with
|
|
// ./bin/rails generate stimulus controllerName
|
|
|
|
import { application } from "./application"
|
|
import HelloController from "./hello_controller"
|
|
import PhotoSwipeLightBoxController from "./photo_swipe_lightbox_controller"
|
|
import FlashMessageController from "./flash_controller"
|
|
import SearchController from "./search_controller"
|
|
import PageLoadTimeController from "./page_load_time_controller"
|
|
|
|
application.register("hello", HelloController)
|
|
application.register("photo-swipe-lightbox", PhotoSwipeLightBoxController)
|
|
application.register("flash", FlashMessageController)
|
|
application.register("search", SearchController)
|
|
application.register("page-load-time", PageLoadTimeController)
|