feat(birthday-greeting): add birthday-greeting edge app with responsive design#639
feat(birthday-greeting): add birthday-greeting edge app with responsive design#639nicomiguelino wants to merge 29 commits intomasterfrom
Conversation
…lines Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
…pp skill Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
- Create new Birthday Greeting Edge App - Implement personalized greeting with name, role, and optional Base64 photo support - Add test suite for settings retrieval and image handling - Include deployment configuration and documentation Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
PR Reviewer Guide 🔍(Review updated until commit 56b1616)Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Latest suggestions up to 56b1616
Previous suggestionsSuggestions up to commit a397ecc
|
There was a problem hiding this comment.
Pull request overview
This PR introduces a new Birthday Greeting Edge App designed for digital signage displays. The app provides personalized birthday messages featuring the person's name, role, and an optional photo, with a responsive design that adapts to various screen sizes.
Changes:
- New edge app with personalized birthday greeting display
- Support for Base64-encoded images with automatic fallback to placeholder
- Comprehensive test suite covering settings retrieval and image validation
- Deployment configuration and documentation
Reviewed changes
Copilot reviewed 8 out of 10 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| edge-apps/birthday-greeting/static/img/icon.svg | App icon featuring a birthday cake design |
| edge-apps/birthday-greeting/src/main.ts | Core app logic with image validation and ready signal handling |
| edge-apps/birthday-greeting/src/main.test.ts | Test suite for settings and image handling |
| edge-apps/birthday-greeting/src/css/style.css | Responsive styling with viewport-based sizing |
| edge-apps/birthday-greeting/screenly_qc.yml | QC environment configuration |
| edge-apps/birthday-greeting/screenly.yml | Production deployment configuration |
| edge-apps/birthday-greeting/package.json | Dependencies and build scripts |
| edge-apps/birthday-greeting/index.html | Main HTML structure with Screenly logo and greeting layout |
| edge-apps/birthday-greeting/bun.lock | Dependency lock file |
| edge-apps/birthday-greeting/README.md | Documentation with setup and configuration instructions |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
Persistent review updated to latest commit 56b1616 |
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 8 out of 10 changed files in this pull request and generated 5 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
…-an-edge-app
- Remove code blocks (manifests, main.ts, test.ts, HTML, CSS) that are likely to change more frequently
- Add references to `edge-apps/qr-code/` as the primary template for directory structure
- Add link to `edge-apps/qr-code/screenly.yml` for manifest example
- Clarify that qr-code uses the library but features simpler implementation with lower code footprint
- Reorganize section titles for clarity ("Manifest Files" → "About the Manifest Files", add "About `index.html`")
- Improve HTML best practices with bullet-point formatting
This makes the skill more maintainable by referencing live examples that evolve with the codebase
rather than maintaining frozen code snippets.
Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
Fixed several grammatical issues: - Changed "Edge Apps directory" to "Edge App directory" for consistency - Corrected pronoun agreement from "those" to "it" for the id field - Added missing article "the" in README section - Improved punctuation with comma before "as" clause Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Add guidance to consult Figma designs before starting Edge App implementation, including setup of Figma MCP server and extraction of design tokens. Also improve wording by replacing "aforementioned" with more concise "these". Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Attach event handlers before setting src attribute to avoid race condition where cached images might load before handlers are attached. Also check the complete property to handle synchronous loads. Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
…n `img` tags Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
… images can be displayed properly Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
- Extract image functions to separate src/image.ts module - Add tests covering isValidBase64Image() and formatBase64Image() - Improve validation to require proper base64 format - Tests cover valid data URIs, pure base64, and various invalid inputs Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 10 out of 12 changed files in this pull request and generated 1 comment.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
…e signalReady calls - Make image field required in both manifest files - Refactor image loading logic with early returns to prevent nested conditionals - Ensure signalReady() is called exactly once per execution path - Throw errors for missing DOM elements or invalid image data - Remove placeholder fallback since image is now required Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
…file - Move inline Screenly logo SVG from HTML to src/default-logo.ts - Insert logo dynamically via JavaScript to keep HTML clean Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
…d aspect ratio - Convert all font-size px values to rem for better scalability - Add intermediate breakpoints for 1921-2560px and 2561-3839px ranges - Enforce consistent 13:15 aspect ratio for photo-frame - Increase photo-frame width to 30vw for better visual balance Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Add orientation-specific media queries for landscape and portrait modes with optimized layouts, aspect ratios, and responsive typography for vertical displays. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
User description
Screenshots (WIP)
PR Type
Enhancement, Tests, Documentation
Description
Implement settings and Base64 image support
Add unit tests for settings and image handling
Add responsive CSS styling with Tailwind
Provide deployment config and documentation
Diagram Walkthrough
File Walkthrough
1 files
Add unit tests for settings and image handling3 files
Implement app startup and image handlingAdd responsive Tailwind CSS stylesCreate HTML layout for greeting app1 files
Add README with usage and configuration3 files
Add scripts and dependenciesAdd Edge App manifest configurationAdd QC manifest configuration