Skip to content

feat(Keyboard): pre-load keyboards#538

Merged
ImCoolNowRight merged 10 commits into
developfrom
feat/preload-keyboards
Sep 19, 2024
Merged

feat(Keyboard): pre-load keyboards#538
ImCoolNowRight merged 10 commits into
developfrom
feat/preload-keyboards

Conversation

@cee-money

@cee-money cee-money commented Sep 17, 2024

Copy link
Copy Markdown
Contributor

Description

This PR creates and renders a keyboard associated with all formats and does so 1x in the update lifecycle event. All keyboards but the current are rendered yet hidden with a transparent alpha. This allows for toggling between formats to be more snappy since the requested format isn't being created & rendered on press but rather already exists.

  • columns with appropriate rows + keys created and rendered for all formats once on _update
  • all columns except current format have transparent alpha
  • for non-centered keyboards, x position no longer gets overwritten and user can control it
  • _formatKeys removed because no longer needed - keys are formatted on keyboard creation
  • theme of keyboard can't be updated on toggle anymore - consensus was that this basically never happened anyway
  • addressed bug where patching new formats didn't update the formats

References

LUI-855

Testing

Created a deployment with these keyboard updates for testing: https://carolyn-lng-ephemeral.glitch.me
Test overall performance, load time, load time on format toggle, feel free to test on STB, etc.

Note, deployment uses:

    "@lightning/ui": "^5.33.2",
    "@lightning/ui-extensions": "^1.16.12",
    "@lightningjs/core": "^2.9.0",
    "@lightningjs/sdk": "^5.3.2",

Automation

Checklist

  • all commented code has been removed
  • any new console issues have been resolved
  • code linter and formatter has been run
  • test coverage meets repo requirements
  • PR name matches the expected semantic-commit syntax

@CLAassistant

CLAassistant commented Sep 17, 2024

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

@cee-money cee-money removed their assignment Sep 17, 2024
@svc-lightning-ui-components

Copy link
Copy Markdown
Collaborator

Test Execution Passed.

1 similar comment
@svc-lightning-ui-components

Copy link
Copy Markdown
Collaborator

Test Execution Passed.

@ImCoolNowRight

This comment was marked as resolved.

@cee-money
cee-money force-pushed the feat/preload-keyboards branch from abc5a74 to 9ae30b0 Compare September 17, 2024 20:44
@svc-lightning-ui-components

Copy link
Copy Markdown
Collaborator

Test Execution Passed.

@cee-money
cee-money force-pushed the feat/preload-keyboards branch from 9ae30b0 to 5320331 Compare September 18, 2024 15:41
@svc-lightning-ui-components

Copy link
Copy Markdown
Collaborator

Test Execution Passed.

@cee-money cee-money changed the title feat(Keyboard): preload keyboards feat(Keyboard): pre-load keyboards Sep 18, 2024
@svc-lightning-ui-components

Copy link
Copy Markdown
Collaborator

Test Execution Passed.

@ImCoolNowRight ImCoolNowRight left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Everything looks great!

@svc-lightning-ui-components

Copy link
Copy Markdown
Collaborator

Test Execution Passed.

@svc-lightning-ui-components

Copy link
Copy Markdown
Collaborator

Test Execution Passed.

@ImCoolNowRight
ImCoolNowRight merged commit 0016708 into develop Sep 19, 2024
@ImCoolNowRight
ImCoolNowRight deleted the feat/preload-keyboards branch September 19, 2024 17:39
svc-lightning-ui-components pushed a commit that referenced this pull request Sep 19, 2024
# [@lightningjs/ui-components-v2.22.0](https://github.com/rdkcentral/Lightning-UI-Components/compare/@lightningjs/ui-components-v2.21.9...@lightningjs/ui-components-v2.22.0) (2024-09-19)

### Bug Fixes

* **ControlRow:** allow items to be added if contentItems is empty ([#531](#531)) ([0b1323f](0b1323f))
* **MetadataCardContent:** expose subtitle property ([#537](#537)) ([d1ac54a](d1ac54a))
* **metadataCardContent:** Provider covers text after decrementing value ([#532](#532)) ([0792267](0792267))

### Features

* **InlineContent:** Font Strikethrough ([#535](#535)) ([108266e](108266e))
* **Keyboard:** pre-load keyboards ([#538](#538)) ([0016708](0016708))
* **ScrollWrapper:** add signals for button press at top and bottom of content ([#533](#533)) ([a914066](a914066))
@svc-lightning-ui-components

Copy link
Copy Markdown
Collaborator

🎉 This PR is included in version @lightningjs/ui-components-v2.22.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants