Skip to content

rebase#170

Closed
arun-madhavan-013 wants to merge 52 commits into
feature/ledcontrol-supportfrom
develop
Closed

rebase#170
arun-madhavan-013 wants to merge 52 commits into
feature/ledcontrol-supportfrom
develop

Conversation

@arun-madhavan-013
Copy link
Copy Markdown
Contributor

No description provided.

suryag23 and others added 30 commits March 19, 2026 20:12
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
yashaswini-rk and others added 4 commits March 31, 2026 22:46
Feature/rdkeapprt 680 :Update to new RDK logos
Signed-off-by: yashaswini-rk <yashaswini.ramakrishna@rdkcentral.com>
Copilot AI review requested due to automatic review settings April 1, 2026 17:55
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 AppCatalog API 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",
Copy link

Copilot AI Apr 1, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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).

Suggested change
"entryPoint": "--lightning --dev file:///usr/share/refui/index.html",
"entryPoint": "file:///usr/share/refui/index.html",

Copilot uses AI. Check for mistakes.
Comment on lines +55 to +68
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))
}
Copy link

Copilot AI Apr 1, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Copilot uses AI. Check for mistakes.
{
path: 'settings/appcataloglogin',
component: AppCatalogLoginComponent,
widgets: ['Volume', 'AppCarousel']
Copy link

Copilot AI Apr 1, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Suggested change
widgets: ['Volume', 'AppCarousel']
widgets: ['Menu', 'Fail', 'Volume', 'AppCarousel']

Copilot uses AI. Check for mistakes.
Comment on lines +30 to +38
export const eventTarget = new EventTarget();

export class AuthNeeded extends Event {
static eventName = 'authNeeded';

constructor() {
super(AuthNeeded.eventName);
}
}
Copy link

Copilot AI Apr 1, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Copilot uses AI. Check for mistakes.
}
this._getPowerStatebeforeReboot();
this._registerFireboltListeners()
// this._registerFireboltListeners()
Copy link

Copilot AI Apr 1, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Suggested change
// this._registerFireboltListeners()

Copilot uses AI. Check for mistakes.
Comment on lines +22 to +23
const errorTitle = 'Error Title'
const errorMsg = 'Error Message'
Copy link

Copilot AI Apr 1, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Suggested change
const errorTitle = 'Error Title'
const errorMsg = 'Error Message'
const errorTitle = ''
const errorMsg = ''

Copilot uses AI. Check for mistakes.
Copilot AI review requested due to automatic review settings April 7, 2026 07:18
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review is ineligible. To be eligible to request a review, you need a paid Copilot license, or your organization must enable Copilot code review.

suryag23 and others added 4 commits April 7, 2026 16:18
* Updated the version for refui boltpackage

* Updated the version as 6.0.3
Signed-off-by: suryag23 <surya_gunasekaran@comcast.com>
Copilot AI review requested due to automatic review settings April 7, 2026 11:19
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review is ineligible. To be eligible to request a review, you need a paid Copilot license, or your organization must enable Copilot code review.

@github-actions github-actions Bot locked and limited conversation to collaborators Apr 9, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants