-
Notifications
You must be signed in to change notification settings - Fork 12
feat: add simple edge app template #577
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
base: master
Are you sure you want to change the base?
Conversation
- Minimal starter template for custom Edge Apps - Single message setting for basic configuration - Essential CSS styling and structure - Simple test case for settings - Lightweight foundation for app development
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
User description
Create a minimal starter template for building custom Screenly Edge Apps with essential structure and single message setting.
PR Type
Enhancement, Tests
Description
Introduce simple Edge App template
Display message from configurable setting
Theme setup and ready signaling
Add unit test for settings
Diagram Walkthrough
flowchart LR A["Template files (HTML/CSS)"] -- "render UI" --> B["main.ts"] B["main.ts"] -- "getSetting('message')" --> C["Screenly settings"] B -- "setupTheme()" --> D["Branding/theme"] B -- "signalReady()" --> E["Ready signal"] F["main.test.ts"] -- "mock settings" --> C F -- "assert message displayed" --> BFile Walkthrough
1 files
Add unit test validating message setting3 files
Implement message rendering, theme, readinessAdd base styles and themed message displayProvide minimal HTML scaffold and assets5 files
Ignore node_modules in templateAdd Prettier configuration for formattingDefine scripts, deps for template workflowDeclare app manifest and message settingAdd TypeScript configuration for Bun/DOM1 files
Document features, setup, config, testing