rebase#170
Conversation
…s also part of this
RDKEAPPRT-626,627,628,605,608,622 Fix error and uninstall overlay screen with bug fixes
RDKEAPPRT-612 :Add dac store details via RFC
…content (#162) * RDKEAPPRT-645 Add default error overlay when user tries to enter VOD content * Addressed the review comments
RDKEAPPRT-646 Create the Username, Password page and add it inside the settings route
RDKEAPPRT-621,606,648,644 fix for Language screen and powerstate issue
RDKEAPPRT-661 Add support for new authorization in App Catalog
To refresh the App store and main view when the authentication done
Signed-off-by: yashaswini-rk <yashaswini.ramakrishna@rdkcentral.com>
Creating Tag for 6.0.0
Feature/rdkeapprt 680 :Update to new RDK logos
Signed-off-by: yashaswini-rk <yashaswini.ramakrishna@rdkcentral.com>
Create tag 6.0.1
There was a problem hiding this comment.
Pull request overview
This PR updates the RefUI to the 6.0.1 release, introducing an authenticated App Catalog integration (with refresh events), new UI flows for catalog login and uninstall confirmation, and expanded in-app error handling via a new “FailOk” overlay widget.
Changes:
- Add
AppCatalogAPI module to support auth/refresh flows and service-tokenized download URLs, and route DAC catalog calls through it. - Add new UI components/flows: App Catalog login screen, “FailOk” (OK-only error) overlay widget, and an uninstall confirmation overlay for DAC apps.
- Update routes/settings/versioning and assets to align with the 6.0.1 release (changelog, package config, settings.json, logos).
Reviewed changes
Copilot reviewed 25 out of 27 changed files in this pull request and generated 6 comments.
Show a summary per file
| File | Description |
|---|---|
| CHANGELOG.md | Adds entries for 6.0.0 / 6.0.1 / 5.0.24 releases. |
| bolt/package-configs/com.rdkcentral.refui.json | Bumps package version/dependency and modifies entry point. |
| accelerator-home-ui/static/images/splash/RDKLogo.png | Updates splash logo asset. |
| accelerator-home-ui/static/images/RDKLogo.png | Updates logo asset. |
| accelerator-home-ui/src/views/MainView.js | Listens for catalog refresh events and adds richer install/uninstall/launch/network error overlays. |
| accelerator-home-ui/src/views/AppStore.js | Reloads catalog on refresh events; adds error overlay handlers. |
| accelerator-home-ui/src/views/AppInfoPage.js | Adds uninstall confirmation overlay flow and refresh behavior on empty state. |
| accelerator-home-ui/src/screens/SplashScreens/LanguageScreen.js | Simplifies language handling (removes resident/FireBolt/RDKShell-specific paths). |
| accelerator-home-ui/src/screens/SettingsScreen.js | Adds “Connect to the Application Catalog” settings entry and updates navigation ordering. |
| accelerator-home-ui/src/screens/OtherSettingsScreens/LanguageScreen.js | Simplifies language handling (removes resident/FireBolt/RDKShell-specific paths). |
| accelerator-home-ui/src/screens/FailAndOkScreen.js | Introduces new OK-only error overlay widget (FailOk). |
| accelerator-home-ui/src/screens/AppCatalogLoginComponent.js | Adds UI for App Catalog login (username/password + on-screen keyboard). |
| accelerator-home-ui/src/routes/routes.js | Adds FailOk widget to relevant routes (apps/appinfo/menu). |
| accelerator-home-ui/src/routes/networkRoutes.js | Adds route for the App Catalog login screen. |
| accelerator-home-ui/src/overlays/UninstallConfirmation.js | New confirmation + uninstalling loader overlay component. |
| accelerator-home-ui/src/overlays/StatusProgress.js | Ensures label visibility during progress updates. |
| accelerator-home-ui/src/overlays/OtherSettings/LanguageScreenOverlay.js | Simplifies language overlay behavior (removes resident/FireBolt/RDKShell-specific paths). |
| accelerator-home-ui/src/keyIntercept/keyIntercept.js | Refactors key intercept payload structure for RDKWindowManager. |
| accelerator-home-ui/src/items/DacAppItem.js | Adds launch error handling and blocks “More Apps” navigation when offline. |
| accelerator-home-ui/src/items/AppCatalogItem.js | Adds error propagation to ancestors and resets progress between install cycles. |
| accelerator-home-ui/src/items/AppCard.js | Removes “primary” styling logic from action buttons. |
| accelerator-home-ui/src/AppController.js | Refactors key intercept payload structure for YouTube intercepts. |
| accelerator-home-ui/src/App.js | Adds FailOk widget; refines power-state comparisons; comments out FireBolt lifecycle listener registration. |
| accelerator-home-ui/src/api/DACApi.js | Routes catalog queries/download URLs through new AppCatalog API module. |
| accelerator-home-ui/src/api/AppCatalog.js | New authenticated catalog handler with refresh scheduling + legacy fallback. |
| accelerator-home-ui/src/api/AppApi.js | Changes Thunder getRFCConfig call shape to pass rfcList. |
| accelerator-home-ui/settings.json | Bumps app version to 6.0.1. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| "name": "RDK Ref UI Home Screen", | ||
| "packageType": "application", | ||
| "entryPoint": "file:///usr/share/refui/index.html", | ||
| "entryPoint": "--lightning --dev file:///usr/share/refui/index.html", |
There was a problem hiding this comment.
entryPoint now contains CLI-style flags ("--lightning --dev …") instead of a URI. If the package manager expects entryPoint to be a URL (as before), this will be an invalid entry point and can prevent the app from launching. Consider keeping entryPoint as the file URI and moving runtime flags to the appropriate configuration field/mechanism (or gating them to dev builds).
| "entryPoint": "--lightning --dev file:///usr/share/refui/index.html", | |
| "entryPoint": "file:///usr/share/refui/index.html", |
| this.LOG('App Catalog Login - credentials submitted') | ||
| login(this.textCollection['EnterUsername'], this.textCollection['EnterPassword']) | ||
| .then(result => { | ||
| if (result) { | ||
| this.LOG('Login successful - navigating back') | ||
| if (!Router.isNavigating()) { | ||
| Router.back() | ||
| } | ||
| } else { | ||
| this.ERR('Login failed') | ||
| } | ||
| }) | ||
| .catch(err => this.ERR('Login error: ' + err)) | ||
| } |
There was a problem hiding this comment.
When login() returns false, the UI provides no user-visible feedback (only logs) and the user remains on the screen without guidance. Consider showing an error (e.g., via FailOk widget or inline text) and allowing retry without leaving the screen.
| { | ||
| path: 'settings/appcataloglogin', | ||
| component: AppCatalogLoginComponent, | ||
| widgets: ['Volume', 'AppCarousel'] |
There was a problem hiding this comment.
The settings/appcataloglogin route does not include the FailOk widget, but the login screen likely needs a consistent way to display errors (e.g., invalid credentials / network). Consider adding FailOk (and Menu if consistent with other settings subroutes) to this route’s widgets list so errors can be surfaced predictably.
| widgets: ['Volume', 'AppCarousel'] | |
| widgets: ['Menu', 'Fail', 'Volume', 'AppCarousel'] |
| export const eventTarget = new EventTarget(); | ||
|
|
||
| export class AuthNeeded extends Event { | ||
| static eventName = 'authNeeded'; | ||
|
|
||
| constructor() { | ||
| super(AuthNeeded.eventName); | ||
| } | ||
| } |
There was a problem hiding this comment.
AuthNeeded is exported and dispatched, but there are no listeners in the codebase (search shows no usages outside this file). This makes auth-expiry handling effectively a no-op for users. Either wire this event up (e.g., navigate to the login screen / show a prompt) or remove the unused event to avoid dead code.
| } | ||
| this._getPowerStatebeforeReboot(); | ||
| this._registerFireboltListeners() | ||
| // this._registerFireboltListeners() |
There was a problem hiding this comment.
The FireBolt lifecycle listener registration is currently disabled by commenting out the call. Leaving commented-out functional code in production paths makes behavior ambiguous and harder to maintain. Prefer deleting the dead code or guarding it behind an explicit runtime/config feature flag so it’s clear when/why these listeners should run.
| // this._registerFireboltListeners() |
| const errorTitle = 'Error Title' | ||
| const errorMsg = 'Error Message' |
There was a problem hiding this comment.
Default placeholder strings ('Error Title' / 'Error Message') are hard-coded and not translated; if the widget is focused before notify() is called, users may see these placeholders. Consider using Language.translate(...) (or empty defaults) to avoid exposing internal placeholder text.
| const errorTitle = 'Error Title' | |
| const errorMsg = 'Error Message' | |
| const errorTitle = '' | |
| const errorMsg = '' |
… fix the accidental route happening to menu page when RCU key is received from FTU
…ring-fix RDKEAPPRT-683: RemoteControl plugin API align with MW APIv3.4.2
Signed-off-by: suryag23 <surya_gunasekaran@comcast.com>
* Updated the version for refui boltpackage * Updated the version as 6.0.3
Signed-off-by: suryag23 <surya_gunasekaran@comcast.com>
…blank in the display (#180)
No description provided.