Skip to main content

feat: add working application and synthetic sample data

GBB Demo authored on Nov 2, 2026

commit 4355c41582ea

Root commit: changes are relative to an empty tree.

4 files changed, +32 −0

  • .gitignore+3 −0
    @@ -1,0 +1,3 @@
    1+__pycache__/
    2+node_modules/
    3+.env
  • README.md+5 −0
    @@ -1,0 +1,5 @@
    1+# Launchpad Web
    2+
    3+A small product launch dashboard with search, filtering and accessible HTML.
    4+
    5+Synthetic evaluation project.
  • app.mjs+9 −0
    @@ -1,0 +1,9 @@
    1+export function visibleProjects(projects, query = "") {
    2+ const needle = query.trim().toLowerCase();
    3+ return projects.filter(project => project.name.toLowerCase().includes(needle));
    4+}
    5+export function completion(tasks) {
    6+ if (tasks.length === 0) return 0;
    7+ return Math.round(tasks.filter(task => task.done).length / tasks.length * 100);
    8+}
    9+
  • data/sample.json+15 −0
    @@ -1,0 +1,15 @@
    1+{
    2+ "environment": "demo",
    3+ "items": [
    4+ {
    5+ "id": "sample-1",
    6+ "name": "Explore the source",
    7+ "done": true
    8+ },
    9+ {
    10+ "id": "sample-2",
    11+ "name": "Review the draft PR",
    12+ "done": false
    13+ }
    14+ ]
    15+}