8d6020bdb17b

hide Chirp Sync footer disclaimer once devices are paired — Show wraps footer so it only appears on the empty state (v3.6.5)

time
2026-05-18 18:45 UTC · 5 months ago
machine
koh2
parent
7e64c55333ee
4 files manifest.firefox.json+1 −1manifest.json+1 −1package.json+1 −1src/popup/views/ChirpSync.tsx+9 −7
manifest.firefox.json+1 −1
@@ -2,7 +2,7 @@22   "_comment_audio_capture": "Firefox does not honor the Chrome 'audioCapture' optional_permission — getUserMedia in WebExtensions is gated solely by the runtime permission prompt. Microphone access for chirp pairing works from the popup under the existing '<all_urls>' host permission; no manifest entry is required or accepted here.",33   "manifest_version": 3,44   "name": "Peach",5-  "version": "3.6.4",5+  "version": "3.6.5",66   "description": "Zero-knowledge password manager",77   "browser_specific_settings": {88     "gecko": {

view file

manifest.json+1 −1
@@ -1,7 +1,7 @@11 {22   "manifest_version": 3,33   "name": "Peach",4-  "version": "3.6.4",4+  "version": "3.6.5",55   "description": "Zero-knowledge password manager",66   "action": {77     "default_popup": "src/popup/index.html",

view file

package.json+1 −1
@@ -1,6 +1,6 @@11 {22   "name": "peach",3-  "version": "3.6.4",3+  "version": "3.6.5",44   "description": "Zero-knowledge password manager",55   "type": "module",66   "scripts": {

view file

src/popup/views/ChirpSync.tsx+9 −7
@@ -332,13 +332,15 @@332332         </section>333333       </Show>334334 335-      <footer class="peach-chirp-foot">336-        <div class="peach-chirp-foot-divider" />337-        <div class="peach-chirp-foot-text">338-          Chirp Sync stays on your local network. No relay servers, no cloud339-          accounts — just your devices in the same room.340-        </div>341-      </footer>335+      <Show when={devices().length === 0}>336+        <footer class="peach-chirp-foot">337+          <div class="peach-chirp-foot-divider" />338+          <div class="peach-chirp-foot-text">339+            Chirp Sync stays on your local network. No relay servers, no cloud340+            accounts — just your devices in the same room.341+          </div>342+        </footer>343+      </Show>342344     </div>343345   );344346 

view file