feat(puzzel-dashboard): Puzzel Dashboard App with screenly_inject.js#814
feat(puzzel-dashboard): Puzzel Dashboard App with screenly_inject.js#814salmanfarisvp wants to merge 16 commits into
Conversation
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
- Remove IIFE wrapper and DOMContentLoaded listener (player runs inject after page load) - Add setValue, setReactValue, and onPath helpers from CLI template - Target Puzzle Auth0 login page with confirmed selectors (#username, #password, button[data-action-button-primary="true"]) - Add minimal README Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Link to puzzle.io and mention Auth0 Universal Login - Replace generic customisation section with confirmed login page selectors - Clarify username/password field descriptions Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Reformat markdown table alignment in README - Remove semicolons and reformat JS in index.html - Use single quotes in screenly.yml - Reformat screenly_inject.js for Prettier compliance
There was a problem hiding this comment.
@salmanfarisvp, don't forget to rename the puzzle-dashboard directory to puzzel-dashboard: https://github.com/Screenly/Playground/pull/815/changes
…globals - Add /* global */ comment to suppress no-undef errors for player-injected screenly_settings and browser-native Event Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…tatic files - Move inline styles to static/css/style.css - Move inline script to static/js/main.js - Link both files from index.html Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
… to puzzel - Rename edge-apps/puzzle-dashboard to edge-apps/puzzel-dashboard - Update deploy command name in README - Update icon URL in screenly.yml Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
nicomiguelino
left a comment
There was a problem hiding this comment.
We still need to test this against Puzzel.
Yeah, @nicomiguelino . Once we have a demo account, we can test before merging. |
Co-authored-by: Nico Miguelino <nicomiguelino2014@gmail.com>
Co-authored-by: Nico Miguelino <nicomiguelino2014@gmail.com>
Co-authored-by: Nico Miguelino <nicomiguelino2014@gmail.com>
- Remove misplaced nested if block and duplicate src assignment - Skip ready signal when dashboard URL is not set
PR Type
Enhancement
Description
Add Puzzle Dashboard Edge App
Load dashboard URL in iframe
Configure URL and credential settings
Automate dashboard login injection
Diagram Walkthrough
File Walkthrough
screenly_inject.js
Automate dashboard login form submissionedge-apps/puzzle-dashboard/screenly_inject.js
usernameandpasswordfromscreenly_settings.index.html
Render configured dashboard in iframeedge-apps/puzzle-dashboard/index.html
screenly.js.screenly.yml
Define Puzzle Dashboard app manifestedge-apps/puzzle-dashboard/screenly.yml
dashboard_url,username, andpassword.