Closed jptrsn closed 3 months ago
The changes enhance the application's handling of user agent information by introducing a new BrowserPlatform
type and updating various components to incorporate browser-specific data. This includes modifications to action creators, reducers, and services, which now accept and manage additional browser-related properties. These enhancements aim to improve user experience and application responsiveness based on the user's platform and browser environment.
Files | Change Summary |
---|---|
packages/client/src/app/actions/app.actions.ts |
Updated checkUserAgentComplete action to include a new browser property of type BrowserPlatform . |
packages/client/src/app/effects/app.effects.ts |
Modified map function to extract the new browser property from actions. |
packages/client/src/app/models/app.model.ts |
Added BrowserPlatform enum and updated AppAppearanceState interface to include browser . |
packages/client/src/app/reducers/app.reducer.ts |
Updated handling of checkUserAgentComplete action to incorporate the new browser parameter. |
packages/client/src/app/selectors/app.selector.ts |
Introduced a new browserSelector to access browser information from the state. |
packages/client/src/app/services/browser-compatibility.service.ts |
Enhanced checkCompatibility method to return detailed browser and platform information. |
packages/client/src/app/modules/media/services/recognition.service.ts |
Added browser signal and updated debounce logic for stream connections based on browser type. |
packages/client/src/app/components/terms-and-conditions/terms-and-conditions.component.ts |
Updated section title from 'TERMS.4' to 'TERMS.5'. |
packages/client/src/app/components/welcome-splash/welcome-splash.component.html |
Removed warning message for mobile users to simplify the user interface. |
sequenceDiagram
participant User
participant App
participant Actions
participant Reducer
participant Selector
User->>App: Check user agent
App->>Actions: Dispatch checkUserAgentComplete(platform, browser)
Actions->>Reducer: Update state with platform and browser information
Reducer->>Selector: Select updated browser information
Selector->>App: Return browser state
App->>User: Adapt UI based on browser
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Adjusts recognition settings based on browser and platform.
Summary by CodeRabbit
New Features
BrowserPlatform
type to enhance handling of browser-specific information.browserSelector
, to efficiently retrieve browser state.checkCompatibility
method to return detailed browser and platform information.Improvements
Bug Fixes