Giter VIP home page Giter VIP logo

firebolt-apis's Issues

Text to Speech

Working Group members:

  • Andrew Bennett
  • Jonathan Courtois
  • Jeremy LaCivita
  • Jan Pedersen
  • Ramsamy Thalavay Pillai
  • Maheedhar Valasa

Move previously completed specs to github

Actual Specs:

./Tools/Developer Tools.docx
./Core/Secure Storage/SecureStorage Requirements.docx
./Core/Discovery/Application Type XRNs.docx
./Core/Lifecycle/Lifecycle Requirements.docx
./Core/Device Infomation/Device Requirements.docx
./Core/Accessibility/Accessibility Requirements.docx
./Core/Localization/Language Settings.docx
./Core/Media/Media Info Requirements.docx
./Core/Media/Media Pipeline Requirements.docx
./Core/Media/Media Access Requirements.docx
./General/Development Mode/DeveloperMode.docx
./General/Configuration/Endpoint Configuration.docx
./General/APIs/SDKProperty.docx
./General/APIs/Providers.docx
./General/APIs/Context Parameters.docx
./General/APIs/ResponseMethods.docx
./General/APIs/API Requirements.docx
./General/APIs/TemporalSets.docx
./General/APIs/SecureStorage-OLD.docx
./General/APIs/Cuts - API Requirements.docx
./General/Capabilities/Capability Configuration.docx
./General/Capabilities/Capabilities.docx
./General/Capabilities/Firebolt Access Tokens.docx
./General/Capabilities/really rough usage example.docx
./General/Capabilities/User Grants.docx
./General/Capabilities/Versioning/Firebolt Versions.docx
./General/Privacy/Privacy APIs.docx
./General/SDKs/Extension SDKs.docx
./General/SDKs/SDK Requirements.docx
./General/App Packaging/App Manifest.docx
./General/App Packaging/App Manifest - Ratings.docx
./General/Multiple App Variants.docx
./General/Intents/Additional Commands.docx
./General/Intents/Command-and-Control-Intents.docx
./General/Intents/Intents.docx
./General/Application Type XRNs.docx
./SecureStorageSpec.docx
./Discovery/Entertainment Entities/Entertainment Entities.docx
./Discovery/Tune Intent/Tune Intent.docx
./Discovery/User Interest/User Interest.docx
./0.X/Firebolt v0.x Requirements.docx
./Management/Power/Power Requirements.docx

Placeholders:
./OpenRPC/FireboltOpenRPC2.0.docx
./Core/Discovery/Discovery Requirements.docx
./Core/Lifecycle/Background App Requirements.docx
./Core/Lifecycle/Overlay Requirements.docx
./Core/Media/Player Requirements.docx
./Core/Media/Media Metrics Requirements.docx

Unexpected token `export`

Hi, we are trying to import the library which uses the export syntax but the console reports the error "nextjs syntaxerror unexpected token 'export'".
As next.js supports ES Modules we are not expecting such errors.

Firebolt App Integration

  • System-based capability providers
  • Multiple providers of a capability
  • Capability resource management
  • App Manifests / Catalogs

The automated release is failing 🚨

🚨 The automated release from the refactor/one-repository branch failed. 🚨

I recommend you give this issue a high priority, so other packages depending on you can benefit from your bug fixes and new features again.

You can find below the list of errors reported by semantic-release. Each one of them has to be resolved in order to automatically publish your package. I’m sure you can fix this πŸ’ͺ.

Errors are usually caused by a misconfiguration or an authentication problem. With each error reported below you will find explanation and guidance to help you to resolve it.

Once all the errors are resolved, semantic-release will release your package the next time you push a commit to the refactor/one-repository branch. You can also manually restart the failed CI job that runs semantic-release.

If you are not sure how to resolve this, here are some links that can help you:

If those don’t help, or if this issue is reporting something you think isn’t right, you can always ask the humans behind semantic-release.


No npm token specified.

An npm token must be created and set in the NPM_TOKEN environment variable on your CI environment.

Please make sure to create an npm token and to set it in the NPM_TOKEN environment variable on your CI environment. The token must allow to publish to the registry https://registry.npmjs.org/.


Good luck with your project ✨

Your semantic-release bot πŸ“¦πŸš€

Openrpc Firebolt definition references to schema in Private Comcast repository

Lot of places inside Firebolt openrpc API definition points to schemas on private Comcast repository

"$ref": "https://meta.comcast.com/firebolt/accessibility#/definitions/ClosedCaptionsSettings"

"$ref": "https://meta.comcast.com/firebolt/types#/definitions/BooleanMap"

etc...

Could you please move this schemas to public repository (or even better to https://github.com/rdkcentral/firebolt-apis itself?)
Without this cleanup, there is no possibility to use open-rpc tooling like https://playground.open-rpc.org/

Localization has no representations for sub regions under country

Consider this localization:
state=California
country=US

OR

Device is in England, country is GBR. How do we represent England here?

locality would commonly be used for cities.
So we may need another field between country and locality.
Possible names: region, state, province

We may also need a new management API so all localization can just be set together.
For instance, if we have "region"="California", country=US. If we set country to CA. There could be a period of time where the device is seen as California inside of Canada. Probably best if the API just sets both country and region (and locality and postalCode) all at the same time.

Wrapper Schema

Add to spec the wrapper schema for all intents, such that all the type values are defined and how the appID should be communicated.

FIRE-284

Media Access

#119

Working Group Members

TODO: Requirement Discover w/ Charlie

  • Jeremy LaCivita
  • Rams
  • Andrew B.

Intent/Message to Send Text To Be Displayed By Device

https://ccp.sys.comcast.net/browse/FIRE-306

API to replace $badger's showToaster method, and support VREX's need to display a voice readout/readback.

Method will take a string of text and pass it to the device/aggregated experience, such that the device/experience can then display the text as though it were originated by the device/experience.

Usecases:

  • at app open, a message reminding customers that they are opening a 3rd party app/using metered interenet
  • at app deeplink, a message informing customers to return to the aggregated experience press a specific remtoe button
  • after voice utterace, a message informing customers what the Speech-to-text translation readout was interpreted as

These should not be treated as "notifications" but this is a transactional message.

Scope can be reduced to just being an intent for VREX purposes so that Firebolt is not responsible for executing the display of the messaging and only passing the intent to the application that is responsible for displaying the message.

Remove Device.version unit test dependency on package.json

This is test code that has to be manually kept in sync with the real package.json file. That's no good because it can be manipulated by automation tasks.

Instead of testing real package.json, I would recommend that this test some unchanging mock of the package.json file. If this is testing that code somewhere is correctly interpolating values from a file, the mock should be sufficient.

Originally posted by @cletustboone in #54 (comment)

The automated release is failing 🚨

🚨 The automated release from the next-major branch failed. 🚨

I recommend you give this issue a high priority, so other packages depending on you can benefit from your bug fixes and new features again.

You can find below the list of errors reported by semantic-release. Each one of them has to be resolved in order to automatically publish your package. I’m sure you can fix this πŸ’ͺ.

Errors are usually caused by a misconfiguration or an authentication problem. With each error reported below you will find explanation and guidance to help you to resolve it.

Once all the errors are resolved, semantic-release will release your package the next time you push a commit to the next-major branch. You can also manually restart the failed CI job that runs semantic-release.

If you are not sure how to resolve this, here are some links that can help you:

If those don’t help, or if this issue is reporting something you think isn’t right, you can always ask the humans behind semantic-release.


Cannot push to the Git repository.

semantic-release cannot push the version tag to the branch next-major on the remote Git repository with URL https://x-access-token:[secure]@github.com/rdkcentral/firebolt-core-sdk.

This can be caused by:


Good luck with your project ✨

Your semantic-release bot πŸ“¦πŸš€

AirPlay

  • Tim D.
  • Rams
  • Jeremy
  • Tony B
  • Stuart H.

ManageSDK for Screen Magnifier Accessibility Setting

Add an accessibility manage method to set and read the screen magnification value that is a US accessibility requirement. Requirement is to be boolean on/off - suggestion to support a value 0-100 that represents percentage.

Should also have an intent to handle a request to set the value

FIRE-285

contentAccess Response To Reflect "Partial/Incomplete" Update

As a PVS app, when I send a contentAccess call I would like an error state to reflect when XVP fails to process the full entitlement, such that as an app I know I may need to retry immediately OR that customers may have an incomplete experience.

Support something like an HTTP 206 response for contentAccess

Next Major version should be v1.0.0-next-major.1

semantic-release determined it to be v0.10.0-next-major.1 because there is no breaking change commit in the history for the next-major branch.

See the semantic-release docs on how to create a commit that will trigger a breaking change or new major version.

For example, you need a commit in the next-major history that looks like this:

feat: A feature that changes the customer-facing API in a non-additive way

BREAKING CHANGE: A new feature was added that will allow you (the API consumer) to do something amazing. This new feature replaces OLD feature, XYZ. The feature's API is removed from firebolt.

So see, the commit message, feat: ..., can be anything, but if you have BREAKING CHANGE: ... in the commit body FOOTER, then semantic-release understands that as a breaking change and will increment the major version accordingly.

Add New Firebolt Capabilities To Align With Individual Methods - Device Type, SecondScreen, Watch History

FIRE-302

As DistP, I require new Firebolt capabilities to align with the methods such that DistP can grant permission to individual/specific APIs without relying on existing capability bundles permissions that do not allow the granular permissions granting necessary for business.

create xrn:firebolt:capability:device:type for method device.type
create xrn:firebolt:capability:protocol:secondscreen for method SecondScreen.protocols
create xrn:firebolt:capability:discovery:policy:watch-history for method ShareWatchHistoryStatus

Intents Specification does not have all intent types

https://rdkcentral.github.io/firebolt/requirements/latest/specifications/intents/

Screenshot 2024-02-28 at 8 13 54 AM

This only has the following types:

  • Play
    
  • Tune
    
  • Basic Navigation
    

Basic Navigation links to https://rdkcentral.github.io/firebolt/requirements/latest/specifications/intents/navigation
which gives a 404 error.

This specification should list every Intent type that Firebolt supports.
Should each be listed here or should Basic navigation link out to https://rdkcentral.github.io/firebolt/apis/latest/core/Intents/schemas/ ?

Is "Types" equivalent to "action"?
Or is each entity considered a different "type"?

High Contrast Accessibility Setting

CoreSDK for app to read what the high-contrast mode on the device is set to.
ManageSDK to set the high-contrast mode to on/off, as well as to set values to invert colors on/off, set BG color, set link color, set text color, reduce animation, increase pointer size.

SyntaxError: Unexpected token 'export' when running Jest

I am currently blocked developing a major Sky Q app. Please see the link below for a bare-bones example of the issue.

https://github.com/mrclapham/firebolt-issues/tree/master

The app needs to use the firebolt-sdk and I'm hitting severe problems when it comes to testing using Jest.

I'm using v0.6.1 of the SDK

Adding
import { Metrics, Discovery } from "@firebolt-js/sdk";
makes every single test fail due to the .mjs imports.

I get:

    SyntaxError: Unexpected token 'export'

    > 1 | import { Metrics, Discovery } from "@firebolt-js/sdk";
        | 

I tried v0.6.0 – this compiled to .js not .mjs but caused a different issue, it threw an Error saying global had been declared twice.

The application builds correctly via WebPack and the functionality appears to work correctly from the console.logs.

Our app requires node >15 – I have tried higher version but had the same results.

I have tried every permutation, altering: jest.config; babel.config; version of Node; importing via absolute paths with the '.mjs' suffix, adding transformIgnorePatterns: ["/node_modules/(?!@firebolt-js/*)"] to the jest.config, you name it, nothing works.

Help appreciated as it is a major blocker.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.