create-heresay 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +31 -0
- package/bin/create-heresay.mjs +9 -0
- package/package.json +38 -0
- package/release/VERSION +1 -0
- package/release/firebase.json +111 -0
- package/release/firestore.indexes.json +11 -0
- package/release/firestore.rules +10 -0
- package/release/functions/lib/core/handler.js +366 -0
- package/release/functions/lib/core/store.js +66 -0
- package/release/functions/lib/core/types.js +23 -0
- package/release/functions/lib/core/version.js +3 -0
- package/release/functions/lib/index.js +7 -0
- package/release/functions/lib/providers/firebase/admin.js +13 -0
- package/release/functions/lib/providers/firebase/api.js +55 -0
- package/release/functions/lib/providers/firebase/firestore-store.js +106 -0
- package/release/functions/package-lock.json +2993 -0
- package/release/functions/package.json +23 -0
- package/release/public/app/index.html +57 -0
- package/release/public/app-icon.svg +1 -0
- package/release/public/apple-touch-icon.png +0 -0
- package/release/public/dashboard.css +152 -0
- package/release/public/dashboard.js +580 -0
- package/release/public/demo.html +30 -0
- package/release/public/docs.html +152 -0
- package/release/public/favicon.svg +1 -0
- package/release/public/icon-192.png +0 -0
- package/release/public/index.html +166 -0
- package/release/public/logo-white.svg +1 -0
- package/release/public/logo.svg +1 -0
- package/release/public/mark.svg +1 -0
- package/release/public/sdk.js +380 -0
- package/release/public/site.css +150 -0
- package/src/cli.mjs +382 -0
- package/src/firebase.mjs +61 -0
- package/src/google.mjs +106 -0
- package/src/state.mjs +43 -0
- package/src/steps.mjs +306 -0
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "feedback-sdk-functions",
|
|
3
|
+
"private": true,
|
|
4
|
+
"type": "module",
|
|
5
|
+
"main": "lib/index.js",
|
|
6
|
+
"engines": {
|
|
7
|
+
"node": "22"
|
|
8
|
+
},
|
|
9
|
+
"scripts": {
|
|
10
|
+
"build": "tsc -p tsconfig.json",
|
|
11
|
+
"typecheck": "tsc -p tsconfig.json --noEmit",
|
|
12
|
+
"test": "tsc -p tsconfig.test.json && node --test 'lib-test/test/handler.test.js' 'lib-test/test/store-memory.test.js'",
|
|
13
|
+
"build:test": "tsc -p tsconfig.test.json"
|
|
14
|
+
},
|
|
15
|
+
"dependencies": {
|
|
16
|
+
"firebase-admin": "^13.0.0",
|
|
17
|
+
"firebase-functions": "^6.3.0"
|
|
18
|
+
},
|
|
19
|
+
"devDependencies": {
|
|
20
|
+
"@types/node": "^22.10.0",
|
|
21
|
+
"typescript": "^5.7.0"
|
|
22
|
+
}
|
|
23
|
+
}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
<!doctype html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="utf-8">
|
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
6
|
+
<title>Heresay</title>
|
|
7
|
+
<link rel="icon" href="/favicon.svg" type="image/svg+xml">
|
|
8
|
+
<link rel="apple-touch-icon" href="/apple-touch-icon.png">
|
|
9
|
+
<link rel="preconnect" href="https://fonts.googleapis.com"><link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
|
10
|
+
<link href="https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,700;12..96,800&family=Figtree:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap" rel="stylesheet">
|
|
11
|
+
<link rel="stylesheet" href="/dashboard.css">
|
|
12
|
+
</head>
|
|
13
|
+
<body>
|
|
14
|
+
|
|
15
|
+
<!-- Signed out -->
|
|
16
|
+
<div id="gate" class="gate" hidden>
|
|
17
|
+
<img src="/mark.svg" alt="" width="64" height="64">
|
|
18
|
+
<h1>Sign in to your Heresay</h1>
|
|
19
|
+
<p class="mute">Use the account your team owner added.</p>
|
|
20
|
+
<button id="google" class="btn primary wide"><svg viewBox="0 0 24 24" width="18" height="18" aria-hidden="true"><path fill="#fff" d="M21.35 11.1H12v2.98h5.35c-.23 1.38-1.64 4.05-5.35 4.05a5.93 5.93 0 0 1 0-11.86c1.83 0 3.06.78 3.76 1.45l2.57-2.47C16.68 3.7 14.55 2.7 12 2.7a9.3 9.3 0 1 0 0 18.6c5.37 0 8.93-3.77 8.93-9.09 0-.61-.07-1.08-.16-1.54z"/></svg>Continue with Google</button>
|
|
21
|
+
<div class="or"><span>or</span></div>
|
|
22
|
+
<form id="link-form" class="link-form">
|
|
23
|
+
<label class="sr" for="link-email">Email</label>
|
|
24
|
+
<input id="link-email" type="email" required placeholder="you@company.com" autocomplete="email">
|
|
25
|
+
<button class="btn wide">Email me a sign-in link</button>
|
|
26
|
+
</form>
|
|
27
|
+
<p id="gate-msg" class="gate-msg" role="status"></p>
|
|
28
|
+
</div>
|
|
29
|
+
|
|
30
|
+
<!-- Signed in, but this Heresay can't let them in -->
|
|
31
|
+
<div id="blocked" class="gate" hidden>
|
|
32
|
+
<img src="/mark.svg" alt="" width="64" height="64">
|
|
33
|
+
<h1 id="blocked-title"></h1>
|
|
34
|
+
<p id="blocked-text" class="mute"></p>
|
|
35
|
+
<button id="blocked-out" class="btn wide">Use another account</button>
|
|
36
|
+
</div>
|
|
37
|
+
|
|
38
|
+
<div id="app" hidden>
|
|
39
|
+
<header class="top">
|
|
40
|
+
<a href="#/" aria-label="Your apps"><img src="/logo.svg" alt="Heresay" height="28" style="display:block"></a>
|
|
41
|
+
<nav class="tabs" aria-label="Main">
|
|
42
|
+
<a href="#/" data-nav="apps">Apps</a>
|
|
43
|
+
<a href="#/team" data-nav="team">Team</a>
|
|
44
|
+
</nav>
|
|
45
|
+
<span class="spacer"></span>
|
|
46
|
+
<span id="who" class="who"></span>
|
|
47
|
+
<button id="signout" class="btn ghost">Sign out</button>
|
|
48
|
+
</header>
|
|
49
|
+
<main id="view"></main>
|
|
50
|
+
</div>
|
|
51
|
+
|
|
52
|
+
<script src="/__/firebase/10.14.1/firebase-app-compat.js"></script>
|
|
53
|
+
<script src="/__/firebase/10.14.1/firebase-auth-compat.js"></script>
|
|
54
|
+
<script src="/__/firebase/init.js"></script>
|
|
55
|
+
<script src="/dashboard.js"></script>
|
|
56
|
+
</body>
|
|
57
|
+
</html>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="1024" height="1024" viewBox="0 0 1024.00 1024.00"><rect width="1024" height="1024" rx="228" fill="#0b5e57"/><g transform="translate(212 212) scale(3)"><path d="M174.00 100.00 L174.47 100.65 L174.93 101.31 L175.38 101.97 L175.82 102.65 L176.26 103.33 L176.68 104.02 L177.08 104.71 L177.47 105.42 L177.85 106.13 L178.20 106.84 L178.54 107.56 L178.86 108.29 L179.15 109.02 L179.43 109.75 L179.68 110.49 L179.90 111.23 L180.10 111.97 L180.28 112.72 L180.43 113.46 L180.55 114.20 L180.65 114.95 L180.71 115.69 L180.75 116.43 L180.76 117.17 L180.73 117.90 L180.68 118.63 L180.60 119.35 L180.49 120.07 L180.34 120.78 L180.17 121.48 L179.97 122.18 L179.74 122.86 L179.48 123.54 L179.19 124.21 L178.87 124.87 L178.52 125.51 L178.14 126.15 L177.74 126.77 L177.31 127.38 L176.86 127.98 L176.38 128.56 L175.88 129.13 L175.36 129.68 L174.81 130.23 L174.25 130.75 L173.66 131.27 L173.06 131.77 L172.44 132.25 L171.80 132.72 L171.15 133.18 L170.48 133.62 L169.80 134.04 L169.11 134.46 L168.41 134.86 L167.70 135.24 L166.99 135.62 L166.27 135.98 L165.54 136.33 L164.82 136.67 L164.09 137.00 L163.35 137.32 L162.62 137.63 L161.89 137.93 L161.17 138.22 L160.45 138.51 L159.73 138.79 L159.02 139.06 L158.31 139.33 L157.62 139.60 L156.93 139.86 L156.25 140.13 L155.59 140.39 L154.93 140.65 L154.29 140.91 L153.66 141.17 L153.04 141.44 L152.44 141.71 L151.85 141.99 L151.28 142.27 L150.72 142.56 L150.17 142.85 L149.64 143.15 L149.13 143.47 L148.63 143.79 L148.15 144.12 L147.68 144.46 L147.23 144.82 L146.79 145.19 L146.37 145.57 L145.96 145.96 L145.57 146.37 L145.19 146.79 L144.82 147.23 L144.46 147.68 L144.12 148.15 L143.79 148.63 L143.47 149.13 L143.15 149.64 L142.85 150.17 L142.56 150.72 L142.27 151.28 L141.99 151.85 L141.71 152.44 L141.44 153.04 L141.17 153.66 L140.91 154.29 L140.65 154.93 L140.39 155.59 L140.13 156.25 L139.86 156.93 L139.60 157.62 L139.33 158.31 L139.06 159.02 L138.79 159.73 L138.51 160.45 L138.22 161.17 L137.93 161.89 L137.63 162.62 L137.32 163.35 L137.00 164.09 L136.67 164.82 L136.33 165.54 L135.98 166.27 L135.62 166.99 L135.24 167.70 L134.86 168.41 L134.46 169.11 L134.04 169.80 L133.62 170.48 L133.18 171.15 L132.72 171.80 L132.25 172.44 L131.77 173.06 L131.27 173.66 L130.75 174.25 L130.23 174.81 L129.68 175.36 L129.13 175.88 L128.56 176.38 L127.98 176.86 L127.38 177.31 L126.77 177.74 L126.15 178.14 L125.51 178.52 L124.87 178.87 L124.21 179.19 L123.54 179.48 L122.86 179.74 L122.18 179.97 L121.48 180.17 L120.78 180.34 L120.07 180.49 L119.35 180.60 L118.63 180.68 L117.90 180.73 L117.17 180.76 L116.43 180.75 L115.69 180.71 L114.95 180.65 L114.20 180.55 L113.46 180.43 L112.72 180.28 L111.97 180.10 L111.23 179.90 L110.49 179.68 L109.75 179.43 L109.02 179.15 L108.29 178.86 L107.56 178.54 L106.84 178.20 L106.13 177.85 L105.42 177.47 L104.71 177.08 L104.02 176.68 L103.33 176.26 L102.65 175.82 L101.97 175.38 L101.31 174.93 L100.65 174.47 L100.00 174.00 L99.36 173.53 L98.72 173.05 L98.10 172.57 L97.48 172.08 L96.87 171.60 L96.27 171.12 L95.68 170.64 L95.09 170.17 L94.51 169.70 L93.94 169.24 L93.38 168.78 L92.82 168.33 L92.26 167.90 L91.72 167.47 L91.17 167.06 L90.63 166.66 L90.10 166.27 L89.56 165.90 L89.03 165.54 L88.50 165.20 L87.98 164.88 L87.45 164.57 L86.92 164.28 L86.39 164.01 L85.87 163.76 L85.33 163.53 L84.80 163.31 L84.26 163.12 L83.72 162.94 L83.18 162.79 L82.63 162.65 L82.07 162.53 L81.51 162.43 L80.94 162.35 L80.36 162.28 L79.78 162.24 L79.19 162.21 L78.58 162.19 L77.98 162.20 L77.36 162.21 L76.73 162.24 L76.09 162.29 L75.44 162.34 L74.78 162.41 L74.12 162.49 L73.44 162.57 L72.75 162.67 L72.05 162.77 L71.35 162.88 L70.63 162.99 L69.90 163.10 L69.17 163.22 L68.42 163.34 L67.67 163.46 L66.91 163.57 L66.14 163.69 L65.36 163.80 L64.58 163.90 L63.79 164.00 L63.00 164.09 L62.20 164.17 L61.40 164.24 L60.60 164.30 L59.79 164.34 L58.99 164.38 L58.18 164.39 L57.38 164.40 L56.57 164.38 L55.77 164.35 L54.97 164.30 L54.18 164.24 L53.39 164.15 L52.61 164.04 L51.84 163.91 L51.08 163.76 L50.32 163.58 L49.58 163.39 L48.85 163.17 L48.13 162.92 L47.42 162.66 L46.73 162.37 L46.06 162.05 L45.40 161.72 L44.76 161.35 L44.13 160.97 L43.53 160.56 L42.94 160.13 L42.38 159.67 L41.83 159.19 L41.31 158.69 L40.81 158.17 L40.33 157.62 L39.87 157.06 L39.44 156.47 L39.03 155.87 L38.65 155.24 L38.28 154.60 L37.95 153.94 L37.63 153.27 L37.34 152.58 L37.08 151.87 L36.83 151.15 L36.61 150.42 L36.42 149.68 L36.24 148.92 L36.09 148.16 L35.96 147.39 L35.85 146.61 L35.76 145.82 L35.70 145.03 L35.65 144.23 L35.62 143.43 L35.60 142.62 L35.61 141.82 L35.62 141.01 L35.66 140.21 L35.70 139.40 L35.76 138.60 L35.83 137.80 L35.91 137.00 L36.00 136.21 L36.10 135.42 L36.20 134.64 L36.31 133.86 L36.43 133.09 L36.54 132.33 L36.66 131.58 L36.78 130.83 L36.90 130.10 L37.01 129.37 L37.12 128.65 L37.23 127.95 L37.33 127.25 L37.43 126.56 L37.51 125.88 L37.59 125.22 L37.66 124.56 L37.71 123.91 L37.76 123.27 L37.79 122.64 L37.80 122.02 L37.81 121.42 L37.79 120.81 L37.76 120.22 L37.72 119.64 L37.65 119.06 L37.57 118.49 L37.47 117.93 L37.35 117.37 L37.21 116.82 L37.06 116.28 L36.88 115.74 L36.69 115.20 L36.47 114.67 L36.24 114.13 L35.99 113.61 L35.72 113.08 L35.43 112.55 L35.12 112.02 L34.80 111.50 L34.46 110.97 L34.10 110.44 L33.73 109.90 L33.34 109.37 L32.94 108.83 L32.53 108.28 L32.10 107.74 L31.67 107.18 L31.22 106.62 L30.76 106.06 L30.30 105.49 L29.83 104.91 L29.36 104.32 L28.88 103.73 L28.40 103.13 L27.92 102.52 L27.43 101.90 L26.95 101.28 L26.47 100.64 L26.00 100.00 L25.53 99.35 L25.07 98.69 L24.62 98.03 L24.18 97.35 L23.74 96.67 L23.32 95.98 L22.92 95.29 L22.53 94.58 L22.15 93.87 L21.80 93.16 L21.46 92.44 L21.14 91.71 L20.85 90.98 L20.57 90.25 L20.32 89.51 L20.10 88.77 L19.90 88.03 L19.72 87.28 L19.57 86.54 L19.45 85.80 L19.35 85.05 L19.29 84.31 L19.25 83.57 L19.24 82.83 L19.27 82.10 L19.32 81.37 L19.40 80.65 L19.51 79.93 L19.66 79.22 L19.83 78.52 L20.03 77.82 L20.26 77.14 L20.52 76.46 L20.81 75.79 L21.13 75.13 L21.48 74.49 L21.86 73.85 L22.26 73.23 L22.69 72.62 L23.14 72.02 L23.62 71.44 L24.12 70.87 L24.64 70.32 L25.19 69.77 L25.75 69.25 L26.34 68.73 L26.94 68.23 L27.56 67.75 L28.20 67.28 L28.85 66.82 L29.52 66.38 L30.20 65.96 L30.89 65.54 L31.59 65.14 L32.30 64.76 L33.01 64.38 L33.73 64.02 L34.46 63.67 L35.18 63.33 L35.91 63.00 L36.65 62.68 L37.38 62.37 L38.11 62.07 L38.83 61.78 L39.55 61.49 L40.27 61.21 L40.98 60.94 L41.69 60.67 L42.38 60.40 L43.07 60.14 L43.75 59.87 L44.41 59.61 L45.07 59.35 L45.71 59.09 L46.34 58.83 L46.96 58.56 L47.56 58.29 L48.15 58.01 L48.72 57.73 L49.28 57.44 L49.83 57.15 L50.36 56.85 L50.87 56.53 L51.37 56.21 L51.85 55.88 L52.32 55.54 L52.77 55.18 L53.21 54.81 L53.63 54.43 L54.04 54.04 L54.43 53.63 L54.81 53.21 L55.18 52.77 L55.54 52.32 L55.88 51.85 L56.21 51.37 L56.53 50.87 L56.85 50.36 L57.15 49.83 L57.44 49.28 L57.73 48.72 L58.01 48.15 L58.29 47.56 L58.56 46.96 L58.83 46.34 L59.09 45.71 L59.35 45.07 L59.61 44.41 L59.87 43.75 L60.14 43.07 L60.40 42.38 L60.67 41.69 L60.94 40.98 L61.21 40.27 L61.49 39.55 L61.78 38.83 L62.07 38.11 L62.37 37.38 L62.68 36.65 L63.00 35.91 L63.33 35.18 L63.67 34.46 L64.02 33.73 L64.38 33.01 L64.76 32.30 L65.14 31.59 L65.54 30.89 L65.96 30.20 L66.38 29.52 L66.82 28.85 L67.28 28.20 L67.75 27.56 L68.23 26.94 L68.73 26.34 L69.25 25.75 L69.77 25.19 L70.32 24.64 L70.87 24.12 L71.44 23.62 L72.02 23.14 L72.62 22.69 L73.23 22.26 L73.85 21.86 L74.49 21.48 L75.13 21.13 L75.79 20.81 L76.46 20.52 L77.14 20.26 L77.82 20.03 L78.52 19.83 L79.22 19.66 L79.93 19.51 L80.65 19.40 L81.37 19.32 L82.10 19.27 L82.83 19.24 L83.57 19.25 L84.31 19.29 L85.05 19.35 L85.80 19.45 L86.54 19.57 L87.28 19.72 L88.03 19.90 L88.77 20.10 L89.51 20.32 L90.25 20.57 L90.98 20.85 L91.71 21.14 L92.44 21.46 L93.16 21.80 L93.87 22.15 L94.58 22.53 L95.29 22.92 L95.98 23.32 L96.67 23.74 L97.35 24.18 L98.03 24.62 L98.69 25.07 L99.35 25.53 L100.00 26.00 L100.64 26.47 L101.28 26.95 L101.90 27.43 L102.52 27.92 L103.13 28.40 L103.73 28.88 L104.32 29.36 L104.91 29.83 L105.49 30.30 L106.06 30.76 L106.62 31.22 L107.18 31.67 L107.74 32.10 L108.28 32.53 L108.83 32.94 L109.37 33.34 L109.90 33.73 L110.44 34.10 L110.97 34.46 L111.50 34.80 L112.02 35.12 L112.55 35.43 L113.08 35.72 L113.61 35.99 L114.13 36.24 L114.67 36.47 L115.20 36.69 L115.74 36.88 L116.28 37.06 L116.82 37.21 L117.37 37.35 L117.93 37.47 L118.49 37.57 L119.06 37.65 L119.64 37.72 L120.22 37.76 L120.81 37.79 L121.42 37.81 L122.02 37.80 L122.64 37.79 L123.27 37.76 L123.91 37.71 L124.56 37.66 L125.22 37.59 L125.88 37.51 L126.56 37.43 L127.25 37.33 L127.95 37.23 L128.65 37.12 L129.37 37.01 L130.10 36.90 L130.83 36.78 L131.58 36.66 L132.33 36.54 L133.09 36.43 L133.86 36.31 L134.64 36.20 L135.42 36.10 L136.21 36.00 L137.00 35.91 L137.80 35.83 L138.60 35.76 L139.40 35.70 L140.21 35.66 L141.01 35.62 L141.82 35.61 L142.62 35.60 L143.43 35.62 L144.23 35.65 L145.03 35.70 L145.82 35.76 L146.61 35.85 L147.39 35.96 L148.16 36.09 L148.92 36.24 L149.68 36.42 L150.42 36.61 L151.15 36.83 L151.87 37.08 L152.58 37.34 L153.27 37.63 L153.94 37.95 L154.60 38.28 L155.24 38.65 L155.87 39.03 L156.47 39.44 L157.06 39.87 L157.62 40.33 L158.17 40.81 L158.69 41.31 L159.19 41.83 L159.67 42.38 L160.13 42.94 L160.56 43.53 L160.97 44.13 L161.35 44.76 L161.72 45.40 L162.05 46.06 L162.37 46.73 L162.66 47.42 L162.92 48.13 L163.17 48.85 L163.39 49.58 L163.58 50.32 L163.76 51.08 L163.91 51.84 L164.04 52.61 L164.15 53.39 L164.24 54.18 L164.30 54.97 L164.35 55.77 L164.38 56.57 L164.40 57.38 L164.39 58.18 L164.38 58.99 L164.34 59.79 L164.30 60.60 L164.24 61.40 L164.17 62.20 L164.09 63.00 L164.00 63.79 L163.90 64.58 L163.80 65.36 L163.69 66.14 L163.57 66.91 L163.46 67.67 L163.34 68.42 L163.22 69.17 L163.10 69.90 L162.99 70.63 L162.88 71.35 L162.77 72.05 L162.67 72.75 L162.57 73.44 L162.49 74.12 L162.41 74.78 L162.34 75.44 L162.29 76.09 L162.24 76.73 L162.21 77.36 L162.20 77.98 L162.19 78.58 L162.21 79.19 L162.24 79.78 L162.28 80.36 L162.35 80.94 L162.43 81.51 L162.53 82.07 L162.65 82.63 L162.79 83.18 L162.94 83.72 L163.12 84.26 L163.31 84.80 L163.53 85.33 L163.76 85.87 L164.01 86.39 L164.28 86.92 L164.57 87.45 L164.88 87.98 L165.20 88.50 L165.54 89.03 L165.90 89.56 L166.27 90.10 L166.66 90.63 L167.06 91.17 L167.47 91.72 L167.90 92.26 L168.33 92.82 L168.78 93.38 L169.24 93.94 L169.70 94.51 L170.17 95.09 L170.64 95.68 L171.12 96.27 L171.60 96.87 L172.08 97.48 L172.57 98.10 L173.05 98.72 L173.53 99.36Z" fill="#ffffff"/><path d="M-13 12 C-13 -8 -2 -24 17 -32 L20 -25 C8 -18 2 -9 3 -1 A13 13 0 1 1 -13 12 Z" fill="#0b5e57" transform="translate(80 106) rotate(-24) scale(1.25)"/><path d="M-13 12 C-13 -8 -2 -24 17 -32 L20 -25 C8 -18 2 -9 3 -1 A13 13 0 1 1 -13 12 Z" fill="#0b5e57" transform="translate(124 101) rotate(-24) scale(1.25)"/></g></svg>
|
|
Binary file
|
|
@@ -0,0 +1,152 @@
|
|
|
1
|
+
:root { --bg:#fff; --soft:#f5f6f7; --fg:#15171c; --mute:#5b6472; --line:#e3e6ea; --acc:#0f766e; --deep:#0b5e57; --mist:#e6f4f2;
|
|
2
|
+
--broken:#b3261e; --confusing:#8a5100; --improvement:#2d5da8; --idea:#6b4fa8;
|
|
3
|
+
--head:"Bricolage Grotesque", system-ui, sans-serif; --mono:"JetBrains Mono", ui-monospace, monospace; }
|
|
4
|
+
* { box-sizing:border-box; }
|
|
5
|
+
body { margin:0; background:var(--bg); color:var(--fg); font:15px/1.55 Figtree,system-ui,-apple-system,"Segoe UI",sans-serif; }
|
|
6
|
+
[hidden] { display:none !important; }
|
|
7
|
+
h1, h2 { font-family:var(--head); letter-spacing:-.025em; margin:0; text-wrap:balance; }
|
|
8
|
+
h1 { font-size:30px; font-weight:800; line-height:1.15; }
|
|
9
|
+
h2 { font-size:19px; font-weight:700; }
|
|
10
|
+
a { color:var(--acc); }
|
|
11
|
+
code { font:13px var(--mono); background:var(--mist); color:var(--deep); padding:1px 5px; border-radius:4px; }
|
|
12
|
+
.mute { color:var(--mute); }
|
|
13
|
+
.small { font-size:13px; }
|
|
14
|
+
.sr { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); }
|
|
15
|
+
|
|
16
|
+
/* sign-in and blocked */
|
|
17
|
+
.gate { max-width:380px; margin:14vh auto 40px; padding:0 20px; text-align:center; }
|
|
18
|
+
.gate h1 { margin:18px 0 6px; font-size:28px; }
|
|
19
|
+
.gate .wide { width:100%; margin-top:14px; }
|
|
20
|
+
.or { display:flex; align-items:center; gap:12px; color:var(--mute); font-size:13px; margin:18px 0 4px; }
|
|
21
|
+
.or::before, .or::after { content:""; flex:1; border-top:1px solid var(--line); }
|
|
22
|
+
.link-form input { width:100%; margin-top:10px; }
|
|
23
|
+
.gate-msg { font-size:14px; color:var(--deep); min-height:1.5em; }
|
|
24
|
+
.gate-msg.bad { color:var(--broken); }
|
|
25
|
+
|
|
26
|
+
/* chrome */
|
|
27
|
+
.top { display:flex; align-items:center; gap:20px; padding:12px 24px; border-bottom:1px solid var(--line); background:var(--bg); position:sticky; top:0; z-index:2; }
|
|
28
|
+
.tabs { display:flex; gap:4px; }
|
|
29
|
+
.tabs a { color:var(--mute); text-decoration:none; font-weight:600; padding:6px 12px; border-radius:8px; }
|
|
30
|
+
.tabs a[aria-current=true] { color:var(--deep); background:var(--mist); }
|
|
31
|
+
.spacer { flex:1; }
|
|
32
|
+
.who { color:var(--mute); font-size:13px; }
|
|
33
|
+
#view { max-width:880px; margin:0 auto; padding:32px 24px 80px; }
|
|
34
|
+
.head { display:flex; align-items:center; justify-content:space-between; gap:16px; margin-bottom:20px; }
|
|
35
|
+
.head .title { display:flex; align-items:center; gap:12px; }
|
|
36
|
+
|
|
37
|
+
/* controls */
|
|
38
|
+
input, textarea, select { font:inherit; color:inherit; background:var(--bg); border:1px solid #cfd4da; border-radius:10px; padding:9px 12px; }
|
|
39
|
+
input:focus, textarea:focus, select:focus { outline:2px solid var(--acc); outline-offset:-1px; border-color:transparent; }
|
|
40
|
+
.btn { display:inline-flex; align-items:center; justify-content:center; gap:8px; font:inherit; font-weight:600; border:1px solid #cfd4da; background:var(--bg); color:var(--fg); border-radius:10px; padding:8px 14px; cursor:pointer; text-decoration:none; }
|
|
41
|
+
.btn:hover { border-color:var(--mute); }
|
|
42
|
+
.btn.primary { background:var(--acc); border-color:var(--acc); color:#fff; }
|
|
43
|
+
.btn.primary:hover { background:var(--deep); }
|
|
44
|
+
.btn.ghost { border-color:transparent; background:none; color:var(--mute); }
|
|
45
|
+
.btn.ghost:hover { color:var(--fg); }
|
|
46
|
+
.btn:focus-visible, .platform:focus-visible, .app-card:focus-visible { outline:2px solid var(--acc); outline-offset:2px; }
|
|
47
|
+
.card { background:var(--bg); border:1px solid var(--line); border-radius:16px; padding:22px 24px; margin-top:18px; }
|
|
48
|
+
.card h2 { margin-bottom:10px; }
|
|
49
|
+
.hint { color:var(--mute); font-size:13px; margin:6px 0 0; }
|
|
50
|
+
.err { color:var(--broken); font-size:14px; }
|
|
51
|
+
.ok-msg { color:var(--deep); font-size:14px; }
|
|
52
|
+
.row { display:flex; gap:10px; align-items:center; margin-top:18px; flex-wrap:wrap; }
|
|
53
|
+
|
|
54
|
+
/* empty start */
|
|
55
|
+
.hello { text-align:center; max-width:520px; margin:10vh auto 0; }
|
|
56
|
+
.hello p { margin:12px 0 24px; font-size:17px; }
|
|
57
|
+
|
|
58
|
+
/* app list */
|
|
59
|
+
.apps { display:grid; grid-template-columns:repeat(auto-fill, minmax(250px, 1fr)); gap:14px; }
|
|
60
|
+
.app-card { display:grid; grid-template-columns:auto 1fr; gap:4px 14px; align-items:center; padding:18px; border:1px solid var(--line); border-radius:16px; color:inherit; text-decoration:none; }
|
|
61
|
+
.app-card:hover { border-color:var(--acc); }
|
|
62
|
+
.app-card b { display:block; font-size:16px; }
|
|
63
|
+
.app-card .mute { font-size:13px; }
|
|
64
|
+
.app-card .count { grid-column:1 / -1; margin-top:10px; font-size:13px; color:var(--mute); }
|
|
65
|
+
.app-card .count.on { color:var(--deep); font-weight:700; }
|
|
66
|
+
.picon { width:40px; height:40px; border-radius:12px; background:var(--mist); display:inline-flex; align-items:center; justify-content:center; flex:none; }
|
|
67
|
+
.picon svg { width:22px; height:22px; fill:none; stroke:var(--deep); stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; }
|
|
68
|
+
|
|
69
|
+
/* wizard */
|
|
70
|
+
.steps { display:flex; gap:8px; list-style:none; padding:0; margin:0 0 26px; font-size:13px; color:var(--mute); flex-wrap:wrap; }
|
|
71
|
+
.steps li { display:flex; align-items:center; gap:8px; }
|
|
72
|
+
.steps li + li::before { content:""; width:24px; border-top:1px solid var(--line); margin-right:0; }
|
|
73
|
+
.steps span { width:22px; height:22px; border-radius:50%; border:1px solid var(--line); display:inline-flex; align-items:center; justify-content:center; font-weight:700; font-size:12px; }
|
|
74
|
+
.steps .now { color:var(--fg); font-weight:600; }
|
|
75
|
+
.steps .now span { background:var(--acc); border-color:var(--acc); color:#fff; }
|
|
76
|
+
.steps .done span { background:var(--mist); border-color:var(--mist); color:var(--deep); }
|
|
77
|
+
.platforms { display:grid; grid-template-columns:repeat(3, 1fr); gap:14px; margin-top:22px; }
|
|
78
|
+
.platform { position:relative; display:flex; flex-direction:column; gap:4px; padding:20px; border:1px solid var(--line); border-radius:16px; color:inherit; text-decoration:none; }
|
|
79
|
+
.platform .picon { margin-bottom:10px; }
|
|
80
|
+
.platform b { font-size:16px; }
|
|
81
|
+
.platform .mute { font-size:13px; }
|
|
82
|
+
a.platform:hover { border-color:var(--acc); box-shadow:0 0 0 3px var(--mist); }
|
|
83
|
+
.platform.soon { color:var(--mute); background:var(--soft); border-color:transparent; }
|
|
84
|
+
.platform.soon .picon { background:#eceef1; }
|
|
85
|
+
.platform.soon .picon svg { stroke:#8b93a1; }
|
|
86
|
+
.tag { position:absolute; top:14px; right:14px; font-size:11px; font-weight:700; color:var(--mute); border:1px solid var(--line); background:var(--bg); border-radius:999px; padding:1px 8px; }
|
|
87
|
+
.form { max-width:560px; margin-top:22px; }
|
|
88
|
+
.form label, .form .field { display:block; margin-top:18px; font-weight:600; }
|
|
89
|
+
.form .lbl { display:block; }
|
|
90
|
+
.form label input, .form label textarea { display:block; width:100%; margin-top:6px; font-weight:400; }
|
|
91
|
+
.form .hint { font-weight:400; }
|
|
92
|
+
.opt { font-weight:500; font-size:12px; color:var(--mute); background:var(--soft); border-radius:999px; padding:1px 8px; margin-left:4px; }
|
|
93
|
+
.where { margin-top:14px; border:1px solid var(--line); border-radius:12px; padding:10px 14px; }
|
|
94
|
+
.where summary { cursor:pointer; font-weight:600; color:var(--deep); }
|
|
95
|
+
.where-item { margin-top:14px; }
|
|
96
|
+
.where-item p { margin:2px 0 0; font-size:14px; color:var(--mute); }
|
|
97
|
+
.chips { display:flex; flex-wrap:wrap; gap:8px; margin-top:8px; }
|
|
98
|
+
.chips button { font:inherit; font-weight:500; border:1px solid #cfd4da; background:var(--bg); color:var(--fg); border-radius:999px; padding:5px 13px; cursor:pointer; }
|
|
99
|
+
.chips button[aria-checked=true] { background:var(--mist); border-color:var(--acc); color:var(--deep); font-weight:600; }
|
|
100
|
+
.seg { display:inline-flex; background:var(--soft); border-radius:12px; padding:4px; margin-bottom:12px; }
|
|
101
|
+
.seg button { font:inherit; font-weight:600; border:0; background:none; color:var(--mute); padding:7px 14px; border-radius:9px; cursor:pointer; }
|
|
102
|
+
.seg button[aria-selected=true] { background:var(--bg); color:var(--fg); box-shadow:0 1px 2px rgb(21 23 28 / .12); }
|
|
103
|
+
.code { position:relative; }
|
|
104
|
+
.code pre { background:var(--fg); color:#e8ecf1; border-radius:12px; padding:16px 18px; padding-right:90px; font:13px/1.65 var(--mono); overflow:auto; white-space:pre-wrap; word-break:break-word; margin:8px 0 0; }
|
|
105
|
+
.code .btn { position:absolute; top:10px; right:10px; padding:4px 10px; font-size:13px; background:#2a2e36; color:#fff; border-color:#3a3f48; }
|
|
106
|
+
.soon-note { margin-top:18px; padding:12px 14px; background:var(--soft); border-radius:12px; font-size:14px; color:var(--mute); }
|
|
107
|
+
.soon-note b { color:var(--fg); }
|
|
108
|
+
.test-head { display:flex; align-items:center; gap:10px; }
|
|
109
|
+
.test-head h2 { margin:0; }
|
|
110
|
+
.stepnum { width:24px; height:24px; border-radius:50%; background:var(--acc); color:#fff; font-weight:700; font-size:12px; display:inline-flex; align-items:center; justify-content:center; }
|
|
111
|
+
.wait { display:flex; align-items:center; gap:10px; flex-wrap:wrap; margin-top:14px; padding:14px 16px; border-radius:12px; background:var(--soft); font-weight:500; }
|
|
112
|
+
.wait:not(.ok)::before { content:""; width:10px; height:10px; border-radius:50%; background:var(--acc); animation:pulse 1.4s ease-in-out infinite; }
|
|
113
|
+
.wait.ok { background:var(--mist); color:var(--deep); }
|
|
114
|
+
.wait.ok .btn { margin-left:auto; }
|
|
115
|
+
@keyframes pulse { 0%, 100% { opacity:.25; transform:scale(.8); } 50% { opacity:1; transform:scale(1); } }
|
|
116
|
+
@media (prefers-reduced-motion: reduce) { .wait::before { animation:none; } }
|
|
117
|
+
|
|
118
|
+
/* reports */
|
|
119
|
+
.filters { display:flex; gap:6px; flex-wrap:wrap; margin-bottom:14px; }
|
|
120
|
+
.filters button { font:inherit; font-weight:600; border:1px solid var(--line); background:none; color:var(--mute); border-radius:999px; padding:4px 12px; cursor:pointer; }
|
|
121
|
+
.filters button .n { font-weight:500; }
|
|
122
|
+
.filters button[aria-pressed=true] { color:var(--deep); border-color:var(--acc); background:var(--mist); }
|
|
123
|
+
.report { border:1px solid var(--line); border-radius:14px; padding:16px 18px; margin-bottom:10px; }
|
|
124
|
+
.report .meta { display:flex; gap:10px; align-items:center; font-size:13px; color:var(--mute); flex-wrap:wrap; }
|
|
125
|
+
.pill { font-weight:700; font-size:12px; letter-spacing:.02em; }
|
|
126
|
+
.pill.broken { color:var(--broken); } .pill.confusing { color:var(--confusing); }
|
|
127
|
+
.pill.improvement { color:var(--improvement); } .pill.idea { color:var(--idea); }
|
|
128
|
+
.status { margin-left:auto; font-weight:600; }
|
|
129
|
+
.s-accepted { color:var(--deep); }
|
|
130
|
+
.report .text { margin:8px 0 6px; white-space:pre-wrap; word-break:break-word; font-size:16px; }
|
|
131
|
+
.ctx { font-size:13px; color:var(--mute); }
|
|
132
|
+
.actions { display:flex; gap:8px; margin-top:12px; flex-wrap:wrap; align-items:flex-start; }
|
|
133
|
+
.actions textarea { flex:1 1 100%; min-height:70px; }
|
|
134
|
+
.reason { margin-top:8px; font-size:14px; padding:10px 12px; border-radius:10px; background:var(--soft); }
|
|
135
|
+
.empty { text-align:center; color:var(--mute); padding:40px 0; }
|
|
136
|
+
|
|
137
|
+
/* team */
|
|
138
|
+
.members { list-style:none; margin:0; padding:0; }
|
|
139
|
+
.members li { display:flex; align-items:center; gap:12px; padding:10px 0; }
|
|
140
|
+
.members li + li { border-top:1px solid var(--line); }
|
|
141
|
+
.members li > div { flex:1; }
|
|
142
|
+
.members b { display:block; font-weight:600; }
|
|
143
|
+
.members .mute { font-size:13px; }
|
|
144
|
+
.avatar { width:34px; height:34px; border-radius:50%; background:var(--mist); color:var(--deep); font-weight:700; display:inline-flex; align-items:center; justify-content:center; }
|
|
145
|
+
.invite { display:flex; gap:8px; flex-wrap:wrap; }
|
|
146
|
+
.invite input { flex:1 1 240px; }
|
|
147
|
+
|
|
148
|
+
@media (max-width:700px) {
|
|
149
|
+
.platforms { grid-template-columns:1fr 1fr; }
|
|
150
|
+
.who { display:none; }
|
|
151
|
+
.top { gap:10px; padding:10px 14px; }
|
|
152
|
+
}
|