Cotton code
331 lines · 11.9 KB · JSONRaw
{  "$comment": "THE APPS the site shows, in this order: adding an app is one entry here plus its pictures. `status` is testing (the two test links show, for invited testers) or released (the two store links show); `links` holds all four, and `registry` names the app in apps/registry.json, whose App Store Connect id and Android package the links must match (pages.test.ts). Types and the meaning of each field: src/site/registry.ts. Pictures: `pnpm --filter @cottondb/site shots <id>`.",  "apps": [    {      "id": "days",      "name": "Days",      "full": "Cotton Days",      "line": "Your calendar and your to-dos, in one list.",      "description": "Cotton Days: your calendar and your to-dos, in one list for each day.",      "stage": "testing",      "registry": "days",      "status": "testing",      "links": {        "testFlight": "https://testflight.apple.com/v1/app/6833872391",        "playTest": "https://play.google.com/apps/internaltest/4701175928862109608",        "appStore": "https://apps.apple.com/app/id6833872391",        "googlePlay": "https://play.google.com/store/apps/details?id=com.cottondb.calendar"      },      "page": true,      "iconSource": "apps/cotton/App/Flavours/days/Assets.xcassets/AppIconDays.appiconset/AppIconDays-1024.png",      "flourish": "ring",      "look": {        "theme": [          "#e9ecfa",          "#0d1126"        ],        "paper": {          "--ground": "#e9ecfa",          "--ink": "#19204a",          "--muted": "#555d89",          "--line": "#c9cfed",          "--accent": "#1b3be0",          "--edge": "rgb(25 32 74 / .13)",          "--shade": "rgb(27 45 140 / .28)",          "--display": "var(--type)",          "--body": "var(--type)"        },        "paperDark": {          "--ground": "#0d1126",          "--ink": "#e2e6fb",          "--muted": "#9ca4d0",          "--line": "#232a52",          "--accent": "#8a9cff",          "--edge": "rgb(255 255 255 / .1)",          "--shade": "rgb(0 0 0 / .6)"        }      },      "home": [        {          "file": "today",          "alt": "Cotton Days: today’s date ringed in pen, with two events and four to-dos in one list. Three of the to-dos were carried over from earlier days.",          "eager": true        },        {          "file": "add",          "alt": "Adding “Coffee with Maya Friday 4pm” in one line."        }      ],      "shots": [        {          "file": "today",          "source": "assets/store/appstore/days/screenshots/iphone-6.9/01-days.png",          "alt": "Today’s date ringed in pen, with two events and four to-dos in one list. Three of the to-dos were carried over from earlier days.",          "caption": "Each day is one list."        },        {          "file": "add",          "source": "assets/store/appstore/days/screenshots/iphone-6.9/03-add.png",          "alt": "Adding “Coffee with Maya Friday 4pm” in one line; Days has read the day and the time.",          "caption": "Add in one line."        },        {          "file": "week",          "source": "assets/store/appstore/days/screenshots/iphone-6.9/04-week.png",          "alt": "The days ahead, each with its own short list.",          "caption": "The days ahead."        },        {          "file": "sometime",          "source": "apps/cotton-site/shots-src/days/sometime.png",          "alt": "The Sometime list: six to-dos with no day.",          "caption": "Sometime, for to-dos with no day."        }      ]    },    {      "id": "words",      "android": "notes",      "name": "Words",      "full": "Cotton Words",      "line": "Notes, lists and longer writing.",      "description": "Cotton Words: notes, lists and longer writing.",      "stage": "testing",      "registry": "notes",      "status": "testing",      "links": {        "testFlight": "https://testflight.apple.com/v1/app/6833869791",        "playTest": "https://play.google.com/apps/internaltest/4699192394431492510",        "appStore": "https://apps.apple.com/app/id6833869791",        "googlePlay": "https://play.google.com/store/apps/details?id=com.cottondb.notes"      },      "page": true,      "iconSource": "apps/cotton/App/Flavours/notes/Assets.xcassets/AppIconNotes.appiconset/AppIconNotes-1024.png",      "flourish": "cursor",      "look": {        "theme": [          "#1a2858",          "#17224c"        ],        "paper": {          "--ground": "#1a2858",          "--ink": "#f5f0e4",          "--muted": "#b9c1e0",          "--line": "#34437c",          "--accent": "#9db0ff",          "--edge": "rgb(0 0 0 / .3)",          "--shade": "rgb(4 8 30 / .6)",          "--display": "var(--sans)",          "--body": "var(--sans)"        },        "paperDark": {          "--ground": "#17224c",          "--ink": "#f1ecdf",          "--muted": "#b3bbda",          "--line": "#2f3c70",          "--accent": "#9db0ff"        }      },      "home": [        {          "file": "note",          "alt": "Cotton Words: a note called Lisbon in March, with headings, a list and a checklist.",          "dark": "dark"        },        {          "file": "list",          "alt": "The list of notes, each with its title, two lines and its date."        }      ],      "shots": [        {          "file": "list",          "source": "apps/cotton-site/shots-src/words/list.png",          "alt": "The list of notes: each shows its title, two lines of text and its date.",          "caption": "Your notes, pinned ones on top."        },        {          "file": "note",          "source": "apps/cotton-site/shots-src/words/note.png",          "alt": "A note called Lisbon in March, with headings, a bulleted list and a checklist.",          "caption": "Headings and lists."        },        {          "file": "checklist",          "source": "apps/cotton-site/shots-src/words/checklist.png",          "alt": "A grocery checklist with two items ticked off and a tag, #home.",          "caption": "A checklist, and a tag."        },        {          "file": "dark",          "source": "apps/cotton-site/shots-src/words/dark.png",          "alt": "The Lisbon note in a dark theme.",          "caption": "Light and dark."        }      ]    },    {      "id": "story",      "name": "Story",      "full": "Cotton Story",      "line": "A screenplay, written on your phone.",      "description": "Cotton Story: a screenplay, written on your phone.",      "stage": "testing",      "registry": "story",      "status": "testing",      "links": {        "testFlight": "https://testflight.apple.com/v1/app/6835689739",        "playTest": "https://play.google.com/apps/internaltest/4699671151530816850",        "appStore": "https://apps.apple.com/app/id6835689739",        "googlePlay": "https://play.google.com/store/apps/details?id=com.cottondb.story"      },      "page": true,      "iconSource": "apps/cotton/App/Flavours/story/Assets.xcassets/AppIconStory.appiconset/AppIconStory-1024.png",      "flourish": "stop",      "look": {        "theme": [          "#fbfaf5",          "#1c1c1b"        ],        "paper": {          "--ground": "#fbfaf5",          "--ink": "#161616",          "--muted": "#5d5d5a",          "--line": "#dedbd0",          "--accent": "#2447d8",          "--edge": "rgb(22 22 22 / .13)",          "--shade": "rgb(40 40 36 / .26)",          "--display": "var(--type)",          "--body": "var(--type)"        },        "paperDark": {          "--ground": "#1c1c1b",          "--ink": "#f1efe8",          "--muted": "#a9a79f",          "--line": "#34332f",          "--accent": "#7f97ff",          "--edge": "rgb(255 255 255 / .1)",          "--shade": "rgb(0 0 0 / .6)"        }      },      "home": [        {          "file": "script",          "alt": "Cotton Story: the home of a script called The Night Ferry, with its cast and five scenes."        },        {          "file": "scene",          "alt": "Inside a scene: action and dialogue, line by line."        }      ],      "shots": [        {          "file": "script",          "source": "assets/store/appstore/story/screenshots/iphone-6.9/01-script.png",          "alt": "A script’s home, The Night Ferry: its cast of four and its five scenes.",          "caption": "The cast and the scenes."        },        {          "file": "scene",          "source": "assets/store/appstore/story/screenshots/iphone-6.9/02-scene.png",          "alt": "Inside a scene: action and dialogue, with a bar to add the next line.",          "caption": "A scene, line by line."        },        {          "file": "character",          "source": "assets/store/appstore/story/screenshots/iphone-6.9/04-character.png",          "alt": "The page for a character, Nina: a note about her, then her scenes.",          "caption": "A page for every character."        },        {          "file": "read",          "source": "assets/store/appstore/story/screenshots/iphone-6.9/03-read.png",          "alt": "The script laid out as printed pages, with a button to listen.",          "caption": "Listen, or export."        }      ]    },    {      "id": "comms",      "android": "messages",      "name": "Comms",      "full": "Cotton Comms",      "line": "Messages and calls with the people you know.",      "description": "Cotton Comms: messages and calls with the people you know.",      "stage": "private",      "registry": "messages",      "status": "testing",      "links": {        "testFlight": "https://testflight.apple.com/v1/app/6833871333",        "playTest": "https://play.google.com/apps/internaltest/4700226411816900097",        "appStore": "https://apps.apple.com/app/id6833871333",        "googlePlay": "https://play.google.com/store/apps/details?id=com.cottondb.messages"      },      "page": true,      "iconSource": "apps/cotton/App/Flavours/messages/Assets.xcassets/AppIconMessages.appiconset/AppIconMessages-1024.png",      "flourish": "quote",      "look": {        "theme": [          "#f5e2d0",          "#261a13"        ],        "paper": {          "--ground": "#f5e2d0",          "--ink": "#2b1c14",          "--muted": "#72503f",          "--line": "#e3c6ae",          "--accent": "#b3421f",          "--edge": "rgb(43 28 20 / .13)",          "--shade": "rgb(120 60 30 / .3)",          "--display": "var(--sans)",          "--body": "var(--sans)"        },        "paperDark": {          "--ground": "#261a13",          "--ink": "#f6e9dc",          "--muted": "#c6a892",          "--line": "#45301f",          "--accent": "#ef8a63",          "--edge": "rgb(255 255 255 / .1)",          "--shade": "rgb(0 0 0 / .6)"        }      },      "home": [        {          "file": "chats",          "alt": "Cotton Comms: the list of chats, newest first."        },        {          "file": "chat",          "alt": "A chat with a photo, a reply and a voice message."        }      ],      "shots": [        {          "file": "chats",          "source": "assets/store/play/comms/metadata/en-US/images/phoneScreenshots/1_en-US.png",          "alt": "The list of chats, newest first; an unread chat shows a small dot.",          "caption": "Chats, newest first."        },        {          "file": "chat",          "source": "assets/store/play/comms/metadata/en-US/images/phoneScreenshots/2_en-US.png",          "alt": "A chat with a photo, replies and a voice message.",          "caption": "Photos, replies and voice messages."        },        {          "file": "person",          "source": "assets/store/play/comms/metadata/en-US/images/phoneScreenshots/3_en-US.png",          "alt": "A person’s page, with the photos and voice messages shared between you.",          "caption": "What you two have shared."        },        {          "file": "call",          "source": "assets/store/play/comms/metadata/en-US/images/phoneScreenshots/4_en-US.png",          "alt": "A voice call, ringing.",          "caption": "A call."        }      ]    }  ]}