Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v1.0.0-beta.3 #471

Merged
merged 14 commits into from
Nov 28, 2024
Merged

v1.0.0-beta.3 #471

merged 14 commits into from
Nov 28, 2024

Conversation

4gray
Copy link
Owner

@4gray 4gray commented Nov 27, 2024

Pull Request Description

Version Update

This pull request introduces version v1.0.0-beta.3, which includes several enhancements, bug fixes, and dependency updates aimed at improving the overall functionality and user experience of the application.

Key Changes

  1. Version Bump and Dependency Updates:

    • Updated the version to 1.0.0-beta.3 and refreshed several dependencies in Cargo.toml, including xmltv, tokio, chrono, reqwest, and flate2. This ensures better performance and security.
  2. Fullscreen Capability:

    • Added the core:window:allow-set-fullscreen capability to the default configuration, enabling fullscreen mode for a more immersive user experience.
  3. Search Input Improvements:

    • Disabled spellcheck and autocomplete in the search input field within the channel list component, providing a cleaner and more focused search experience.
  4. Error Handling Enhancements:

    • Improved error handling and filtering logic in the getPortalFavorites and getPortalLiveStreamFavorites methods, including null checks to prevent runtime errors.
  5. EPG Fetch Success Message:

    • Introduced a new translation key "FETCH_SUCCESS" for English localization, enhancing user feedback when EPG data is successfully fetched.
  6. EPG Data Fetching Implementation:

    • Added support for multiple EPG sources with a new EpgStore structure. Implemented the fetch_and_parse_epg function to handle data fetching from various sources, improving error handling and logging.
  7. EPG Item Description Update:

    • Refactored the EPG item display to directly show category and description values, improving the handling of EPG data and selected date filtering.
  8. Responsive Layout Adjustments:

    • Adjusted video player and layout heights for better responsiveness, ensuring a more user-friendly interface.
  9. Refactor of Favorites List:

    • Simplified the channel list component's template structure, enhancing code readability and maintainability.

Copy link

vercel bot commented Nov 27, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
iptvnator 🔄 Building (Inspect) Nov 28, 2024 10:57pm

4gray added 14 commits November 28, 2024 23:51
Enables the macOSPrivateApi in the Tauri configuration for 
enhanced functionality. Updates several dependencies in 
Cargo.toml to their latest versions, including xmltv, 
tokio, chrono, reqwest, and flate2, ensuring better 
performance and security.
Adds the "core:window:allow-set-fullscreen" capability to the 
default configuration. This change enables the application to 
support fullscreen mode, enhancing user experience and 
providing more flexibility in window management
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.
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.
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.
Add support for multiple EPG sources by introducing a new 
`EpgStore` structure that holds a vector of `EpgSource` 
instances. Replace the static `EPG_DATA` with a thread-safe 
`OnceCell` containing a mutex-protected `EpgStore`. 
Implement the `fetch_and_parse_epg` function to fetch and 
update EPG data from a given URL, handling both gzipped 
and regular XML data formats. Enhance error handling and 
logging for better traceability during data fetching and 
parsing.
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.
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.
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.
Adds @ngrx/signals version 18.1.1 to package.json and 
package-lock.json to incorporate new features and 
improvements. This update ensures compatibility with 
Angular 18 and enhances the overall performance of 
the application.
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 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.
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.
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.
@4gray 4gray merged commit c7037df into electron Nov 28, 2024
5 of 7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant