Remove unnecessary parameters from DataFactory and PwaService
constructor. The changes streamline the service initialization
process by eliminating the unused HttpClient dependency in
DataFactory and adjusting PwaService to inject HttpClient
directly. This improves code clarity and reduces complexity.
Remove unused Angular common pipes and streamline imports in the
`xtream-main-container.component.ts`. Introduce a settings button in the
navigation bar for improved user access to settings. Update the settings
retrieval method to use the `SettingsStore` service for better state
management.
Refactor the settings management in the SettingsComponent to utilize a new
SettingsStore service for better state management. Remove direct local
storage access and replace it with a method to retrieve settings from the
store. Update the backToHome method to handle dialog navigation. Add
error logging for file reading issues and introduce an input property to
determine dialog context.
Inject MatDialog into ToolbarComponent and implement openSettings
method to display the SettingsComponent. Update the toolbar HTML
to include a settings button and conditionally render the favorite
button based on the playlist ID. Enhance VideoPlayerComponent
to react to settings changes by integrating SettingsStore.
Refactor the channel list component to improve readability and
maintainability. Remove unnecessary and streamline the
template structure by using Angular's structural directives. This
enhances the clarity of the code and reduces complexity in the
HTML markup.
Set video player heights to 50vh for better responsiveness.
Update EPG content height to 50vh minus padding for improved
layout. Modify grid template rows to 50% for better space
distribution. Ensure fallback titles and descriptions in
dialog for better user experience.
Ref the EPG item to directly display the category
and description values instead of accessing the first element of
the arrays. Update the EpgListComponent to improve the handling
of EPG data and selected date filtering. Change references from
Electron to Tauri in the component to reflect the
current framework usage.
Adds a new translation key "FETCH_SUCCESS" to English
localization, providing a success for when
the EPG is fetched successfully. This improves user
feedback and enhances the overall user experience.
Enhance the `getPortalFavorites` and `getPortalLiveStreamFavorites`
methods to include null checks for the fetched items. This prevents
potential runtime errors when accessing properties of undefined.
Additionally, improve code readability by restructuring the filter
logic a more explicit format. Add a console log for the
parsed playlist in the `addPortalFavorite` method for debugging
purposes.
Add `spellcheck="false"` and `autocomplete="off"` attributes to the
search input field in the channel list component. This improves
user experience by preventing the browser from suggesting
incorrect spellings and previously entered values, ensuring a
cleaner and more focused search experience.