create-heresay 0.2.51 → 0.2.52

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-heresay",
3
- "version": "0.2.51",
3
+ "version": "0.2.52",
4
4
  "description": "Set up your own Heresay: in-app feedback that every report gets a hearing. Creates a Firebase project in your Google account and deploys the dashboard, API and SDK to it.",
5
5
  "type": "module",
6
6
  "license": "MIT",
package/release/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.51
1
+ 0.2.52
@@ -1,3 +1,3 @@
1
1
  /** The Heresay release. Bumped by the release script; the CLI and /v1/health report it. */
2
- export const VERSION = '0.2.51';
2
+ export const VERSION = '0.2.52';
3
3
  //# sourceMappingURL=version.js.map
@@ -1,6 +1,16 @@
1
1
  {
2
2
  "about": "What each Heresay release changed, in plain words. `users`: what the people using an app with Heresay will see. `developers`: what a developer can now do or must know. `action`: a code change an app needs, if any. `features`: ids from changes.json that this release introduced. Read by whats_new to explain an update before it is applied. A release cannot be cut without an entry here (scripts/release.mjs).",
3
3
  "versions": [
4
+ {
5
+ "version": "0.2.52",
6
+ "users": [
7
+ "A new report never opens with last time's type already selected; only an unsent message (with its type) is kept.",
8
+ "The page behind the centred Report window is dimmed more, so the window stands out, especially in dark apps."
9
+ ],
10
+ "developers": [],
11
+ "action": "None required.",
12
+ "date": "2026-11-23"
13
+ },
4
14
  {
5
15
  "version": "0.2.51",
6
16
  "users": [
@@ -1093,13 +1093,13 @@
1093
1093
  // the panel
1094
1094
  '.scrim{position:fixed;inset:0;z-index:2147483001;background:rgba(0,0,0,.35);display:flex;align-items:flex-end;justify-content:flex-end;padding:var(--fb-pad,16px)}',
1095
1095
  '.scrim.l{justify-content:flex-start}.scrim.c{justify-content:center}.scrim.t{align-items:flex-start}.scrim.side{align-items:center}',
1096
- '.scrim.center{align-items:center;justify-content:center;padding:16px}',
1096
+ '.scrim.center{align-items:center;justify-content:center;padding:16px}.scrim.center.dim{background:rgba(0,0,0,.55)}',
1097
1097
  '.scrim.sheet{padding:0;align-items:stretch}',
1098
1098
  '.panel{animation:fb-rise .2s ease-out}.scrim.t .panel{animation-name:fb-drop}.scrim.center .panel,.scrim.side .panel{animation-name:fb-fade}',
1099
1099
  '@keyframes fb-rise{from{opacity:0;transform:translateY(8px)}}@keyframes fb-drop{from{opacity:0;transform:translateY(-8px)}}',
1100
1100
  '.scrim.clear{background:none}',
1101
1101
  '.scrim.anch{padding:0!important;display:block}.scrim.anch>.panel,.scrim.anch>.barbox{position:fixed;left:0;top:0}',
1102
- '.scrim.bar.center{pointer-events:auto;background:rgba(0,0,0,.35)}.scrim.bar.center.clear{background:none}',
1102
+ '.scrim.bar.center{pointer-events:auto;background:rgba(0,0,0,.55)}.scrim.bar.center.clear{background:none}',
1103
1103
  '.scrim.bar.center.blur{background:rgba(0,0,0,.18);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}',
1104
1104
  '.scrim.blur{background:rgba(0,0,0,.18);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}',
1105
1105
  '.panel{width:min(var(--fb-w),100%);max-height:min(600px,calc(100vh - 32px));display:flex;flex-direction:column;overflow:hidden;background:var(--fb-bg);',
@@ -1551,6 +1551,9 @@
1551
1551
  listBox = null; hdDot = null; hdMine = null;
1552
1552
  state.justSent = false;
1553
1553
  prefsOpen = false;
1554
+ // Only an unsent message is kept. A type picked with nothing written is dropped, so the next
1555
+ // report never opens with last time's choice already selected.
1556
+ if (!String(state.draft || '').trim()) { state.type = null; state.draft = ''; }
1554
1557
  renderBadge();
1555
1558
  if (how !== 'outside' && lastFocus && lastFocus.focus && lastFocus.isConnected !== false) lastFocus.focus();
1556
1559
  }