🔧 Update package.json Scripts for Production Deployment - #1
Open
antonioap101 wants to merge 58 commits into
Open
🔧 Update package.json Scripts for Production Deployment #1antonioap101 wants to merge 58 commits into
package.json Scripts for Production Deployment #1antonioap101 wants to merge 58 commits into
Conversation
Website translated to english and spanish, enabling an option to select the desired language. Must add a cookie to permanently select a language within a browsers context.
Added centralized const routes for backend endpoints and internal app routes, to avoid hardcoding.
…ronments configuration
…ronments configuration
# Conflicts: # src/app/components/cards/card/card.component.ts
…ations - Refactored WebSocket service to dynamically handle incoming notifications. - Improved type checking and parsing of WebSocket messages. - Updated notification handling to properly display different notification types. - Ensured real-time updates work seamlessly with the new backend WebSocket implementation. - Improved error handling and logging for WebSocket disconnections. This update improves the real-time notification experience, ensuring correct message handling and better UI responsiveness.
- Replaced `setTimeout(invalidateSize, 100)` with `ResizeObserver` for automatic resizing. - Moved map initialization to `ngAfterViewInit()` to ensure DOM is fully loaded before rendering. - Removed unnecessary `ChangeDetectorRef.detectChanges()` since it was not needed. - Improved performance by ensuring Leaflet's `invalidateSize()` is only triggered when the container resizes. This fix ensures that the map properly resizes and renders correctly in all scenarios.
- Replaced `setTimeout(invalidateSize, 100)` with `ResizeObserver` for automatic resizing. - Moved map initialization to `ngAfterViewInit()` to ensure DOM is fully loaded before rendering. - Removed unnecessary `ChangeDetectorRef.detectChanges()` since it was not needed. - Removed unnecessary field intervalId. - Improved performance by ensuring Leaflet's `invalidateSize()` is only triggered when the container resizes. This fix ensures that the map properly resizes and renders correctly in all scenarios.
# Conflicts: # src/app/components/map-site/map-geo/map-geo.component.ts
…oop resize issues.
koyeb
Bot
temporarily deployed
to
production-acousea-frontend/acousea-frontend
March 5, 2025 16:00
Inactive
koyeb
Bot
temporarily deployed
to
production-acousea-frontend/acousea-frontend
March 5, 2025 16:11
Inactive
koyeb
Bot
temporarily deployed
to
production-acousea-frontend/acousea-frontend
March 5, 2025 16:14
Inactive
koyeb
Bot
temporarily deployed
to
production-acousea-frontend/acousea-frontend
March 5, 2025 16:25
Inactive
koyeb
Bot
temporarily deployed
to
production-acousea-frontend/acousea-frontend
March 5, 2025 17:03
Inactive
koyeb
Bot
temporarily deployed
to
production-acousea-frontend/acousea-frontend
March 5, 2025 17:12
Inactive
koyeb
Bot
temporarily deployed
to
production-acousea-frontend/acousea-frontend
March 5, 2025 17:16
Inactive
koyeb
Bot
temporarily deployed
to
production-acousea-frontend/acousea-frontend
March 5, 2025 17:19
Inactive
…o monitor panels. feat(rtc-monitor-panel): Added new component for RTC Module. feat(operation-modes-graph): Created `OperationModesGraphComponent` for visualizing and managing operation modes. - Integrated `cytoscape.js` for interactive graph rendering. - Added right-click context menu for editing nodes, deleting nodes, and adding edges.
…ix event binding issues and improve type safety - Fixed incorrect type assertion in (input) event binding - Wrapped `$event.target` in parentheses for proper casting - Used safe navigation (`?.value`) to prevent potential null errors - Ensured numeric conversion in `updateLoRaReporting` and `updateIridiumReporting` - Improved robustness by handling undefined values safely
- Implemented `window.innerWidth` to dynamically adjust `main-content` width
- Added `@HostListener('window:resize')` to update layout on window resize and zoom changes
- Removed reliance on `vw` and `calc()` to ensure proper recalculations
- Ensured `main-content` adapts smoothly when the side menu expands or collapses
- Improved overall UI responsiveness and synchronization
This update ensures that the main content area properly adjusts without overlap or layout inconsistencies.
…ies to router-outlet element
Created NodeContextService as a facade to unify access to node-related services: - Integrated SelectedNodeService for node selection and diff tracking - Integrated NodeConfigurationService for fetching, updating nodes and reporting periods - Exposed public API methods for components to interact with nodes via a single entry point Maintains separation of concerns while simplifying consumption from UI components.
…ant fetches. Refactored settings-site.component.ts to use the nodeContext appropriately
…ant fetches. Refactored settings-site.component.ts to use the nodeContext appropriately
# Conflicts: # src/app/sites/settings-site/settings-site.component.ts
…Config components to extend the monitorPanel class. feat(warning-component): Added modular/reusable warning component that receives a message as Input and displays it next to a warning icon
…d operationmodes. Removed deprecated popup for changing operation modes.
… into mutable and readonly variants to split inheritance and avoid passing boolean parameters through constructor
…like ExtModule interface) with ICListenHFDto and preparing support for VemcoVR2CDto subclasses
…on to divide into subsections of device information, like in settings section, leaving new room for VR2C Device Information update(translations): Updated translations to integrate with the previous refactor
…eners with dynamic grow/shrink behavior. Moved dashboard subsections to the sites folder inside dashboard-site
…ce methods post-execution This decorator allows wrapping any class method so a provided callback is executed after the method finishes. It supports both synchronous and asynchronous methods, and is ideal for calling `emitChange(this.data)` in `MutableNodeMonitorPanelComponent` children without repeating logic.
Refactored ICListenStreamingConfigMonitorPanelComponent to use @EmitAfter decorator for all data mutations. All ngModel bindings now route through dedicated setter methods to ensure emitChange(this.data) is called automatically after changes. This improves maintainability and ensures consistent update emissions.
…al movement when showing the enter/leave popup animation, instead of only vertical movement
…eparated backend.route.paths from app.route.paths in different files. fix(settings/information view): Fixed settings and information view not resetting subsection when changing selected node. fix(device-cards-list): Fixed device-cards-list directly using the nodeContext service instead of eventEmitter for parent component to manage.
…nactive ws connections being closed
…global alert system - Refactored Notification namespace for cleaner structure and better defaults - Removed AlertPopupComponent and AlertPopupService - Integrated local notifications via NotificationListComponent and NotificationService
…m settings - Ensured compatibility between checkbox input and model type - Updated setWavLoggingMode to map boolean to numeric values (1/0) - Prevented type mismatch when toggling waveform logging mode
…and Pam) from interfaces to classes - Added a static field to all NodeDevice-Modules for their name. - Added NodeConfigurationService method to request an updated version of a given modules (Ext || Pam) list
…mplementation with methods using the previously added module names to request updated statuses of their configuration and/or value.
…es and aggregated all of them into SerializableModules only
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR updates the
scriptssection inpackage.jsonto ensure proper deployment in a production environment. The key changes include:startscript to use production configuration