-
Notifications
You must be signed in to change notification settings - Fork 0
UX tweaks: scroll fix, mobile styles, external-link icon, metadata tables, BrewBridge docs #23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
3 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,90 @@ | ||
| # BrewBridge — Overview | ||
|
|
||
| **BrewBridge** is a proof-of-concept data-transfer bridge for TizenBrew. It lets a | ||
| Samsung Smart TV app (or any sender) push small JSON payloads to a phone or second | ||
| screen in real time — with no accounts, no pairing, just a QR code. | ||
|
|
||
| A **Sender** creates an ephemeral session and sends JSON messages over a Cloudflare | ||
| Worker API. A **Viewer** scans the QR code (or follows the link) and polls for new | ||
| messages every 2 seconds. | ||
|
|
||
| | Source | Author | Module type | | ||
| | :----- | :----- | :---------- | | ||
| | [axelnanol/brewbridge](https://github.com/axelnanol/brewbridge) | [Axel Nanol](https://github.com/axelnanol) | `app` | | ||
|
|
||
| --- | ||
|
|
||
| ## Features | ||
|
|
||
| - **Ephemeral sessions** — no accounts or sign-up; each session exists only as long as | ||
| you use it. | ||
| - **QR code sharing** — the Sender generates a QR code; the Viewer scans it on any device. | ||
| - **Real-time polling** — the Viewer checks for new messages every 2 seconds. | ||
| - **JSON & human-readable views** — toggle between raw JSON and a formatted human-readable | ||
| layout using the 🟡 Yellow button. | ||
| - **Download** — save the latest received payload as a `.json` file. | ||
| - **TV remote support** — D-pad navigation and colour-button shortcuts work on Samsung TVs. | ||
|
|
||
| --- | ||
|
|
||
| ## Remote Controls | ||
|
|
||
| | Button | Action | | ||
| | :----- | :----- | | ||
| | 🟡 Yellow | Toggle JSON / human-readable view (Viewer) or Text / JSON input mode (Sender) | | ||
| | 🔵 Blue | Scroll content back to top | | ||
| | 🔴 Red | Reserved for future use | | ||
| | 🟢 Green | Reserved for future use | | ||
|
|
||
| --- | ||
|
|
||
| ## Installation | ||
|
|
||
| 1. Open **TizenBrew** on your TV. | ||
| 2. Navigate to the **Module Manager** (the 3rd icon from the left at the top of the | ||
| TizenBrew home screen). | ||
| 3. Select **Add Module** and enter: | ||
| ``` | ||
| axelnanol/brewbridge | ||
| ``` | ||
| 4. Launch **BrewBridge** from the TizenBrew dashboard. | ||
|
|
||
| --- | ||
|
|
||
| ## How to Use | ||
|
|
||
| ### Sender (`/#/send`) | ||
|
|
||
| 1. Click **Create New Session** — the Worker generates a session ID, write key, and | ||
| read key. | ||
| 2. A viewer URL and QR code are displayed. Share the URL or QR with the receiver. | ||
| 3. Paste any JSON into the text area and click **Send JSON**, or use | ||
| **Send Test Message** to try a pre-built payload. | ||
|
|
||
| ### Viewer (`/#/view?s=…&r=…`) | ||
|
|
||
| 1. Open the viewer URL (or scan the QR code from the Sender). | ||
| 2. Messages appear automatically as they arrive (polled every 2 seconds). | ||
| 3. Press 🟡 Yellow to switch between raw JSON and a human-readable layout. | ||
| 4. Click **⬇ Download Latest JSON** to save the most recent message as a `.json` file. | ||
|
|
||
| --- | ||
|
|
||
| ## `package.json` Summary | ||
|
|
||
| ```json | ||
| { | ||
| "name": "@axelnanol/brewbridge", | ||
| "appName": "BrewBridge", | ||
| "packageType": "app", | ||
| "appPath": "web/dist/index.html", | ||
| "keys": ["ColorF0Red", "ColorF1Green", "ColorF2Yellow", "ColorF3Blue"] | ||
| } | ||
| ``` | ||
|
|
||
| --- | ||
|
|
||
| ## Related Pages | ||
|
|
||
| - [TizenBrew Module System](../tizenbrew/Modules.md) | ||
| - [Welcome to BrewDocs](../brewdocs/README.md) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
PR title/description focus on restoring truncated qualifiers in metadata tables, but this change set also adds a new BrewBridge page/module (manifest + docs + TOC), updates BrewDocs welcome/about content, and includes UI behavior/style changes in dist/*. Please update the PR title/description to reflect the additional scope or split these into separate PRs so the doc-only fix can be reviewed/rolled back independently.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated the PR description in commit fb76147 to accurately reflect the full scope: UX scroll fix, mobile flyout styles, external-link icon, metadata table conversion (with restored qualifiers), BrewDocs welcome page restructure, BrewBridge documentation, and package version bump.