From 9f3e8b83c704e55fb88ba33d0d1d2523851125d8 Mon Sep 17 00:00:00 2001 From: sravan Date: Sun, 19 Jul 2026 11:35:59 +0530 Subject: [PATCH] mobile: hide iOS keyboard accessory bar + composer-anchored attach menu (batch134) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Accessory bar: call Keyboard.setAccessoryBarVisible({isVisible:false}) on iOS in the native IIFE, hiding the grey chevrons+Done strip above the keyboard. The plugin is already bundled in the current TestFlight build, so this takes effect on a web deploy — no rebuild. - Attach: tapping the paperclip now opens a composer-anchored Photos/Camera/Document menu (like the emoji/mention popups) instead of firing the generic mid-screen OS chooser as the first thing. Each option opens a type-scoped picker (image/*, capture). Web fix, all clients. Co-Authored-By: Claude Opus 4.8 --- mobile/IOS_SETUP.md | 2 +- server/public/home.html | 25 +++++++++++++++++++++---- 2 files changed, 22 insertions(+), 5 deletions(-) diff --git a/mobile/IOS_SETUP.md b/mobile/IOS_SETUP.md index d7129ea..5815f96 100644 --- a/mobile/IOS_SETUP.md +++ b/mobile/IOS_SETUP.md @@ -31,7 +31,7 @@ On the **Register an App ID** page, only three fields matter — leave everythin 1. [codemagic.io](https://codemagic.io) → sign in with the git provider → add this repository. 2. **Teams → Integrations → App Store Connect → Connect**, upload the `.p8`, paste the **Issuer ID** and **Key ID**. **Name it exactly `BizGaze App Store Connect`** (the `codemagic.yaml` references that name). -3. Codemagic detects `codemagic.yaml`. That's all the signing setup — automatic signing creates the +3. Codemagic detects `codemagic.yaml`. That's all the signing setup — automatic signing creates the distribution certificate + provisioning profile from this key on the first build. ## Step 4 — Run the build diff --git a/server/public/home.html b/server/public/home.html index 89d317e..ffcaf4a 100644 --- a/server/public/home.html +++ b/server/public/home.html @@ -589,6 +589,12 @@ /* (message action button styling is under .msg-actions) */ .emoji-pop{position:absolute;bottom:64px;left:12px;width:330px;height:300px;background:#fff;border:1px solid var(--line);border-radius:12px;box-shadow:0 10px 28px rgba(0,0,0,.18);z-index:50;display:flex;flex-direction:column;overflow:hidden;} .mention-pop{position:absolute;left:12px;right:12px;bottom:64px;max-height:240px;overflow:auto;background:var(--card);border:1px solid var(--line);border-radius:12px;box-shadow:0 10px 28px rgba(0,0,0,.18);z-index:60;padding:.3rem;} + /* Attach menu: anchored to the composer (like the emoji/mention popups) so options appear right above the + paperclip instead of the OS chooser jumping to mid-screen. */ + .attach-pop{position:absolute;left:12px;bottom:64px;z-index:60;background:var(--card);border:1px solid var(--line);border-radius:12px;box-shadow:0 10px 28px rgba(0,0,0,.18);padding:.3rem;display:flex;flex-direction:column;min-width:190px;} + .attach-pop .attach-opt{display:flex;align-items:center;gap:.6rem;padding:.65rem .7rem;border:none;background:transparent;color:var(--ink);cursor:pointer;border-radius:8px;font-size:.95rem;text-align:left;width:100%;} + .attach-pop .attach-opt:hover{background:var(--blue-soft);color:var(--blue);} + .attach-pop .attach-opt svg{flex:0 0 auto;} .mention-pop .mrow{display:flex;align-items:center;gap:.55rem;padding:.4rem .55rem;border-radius:8px;cursor:pointer;} .mention-pop .mrow.sel{background:var(--blue-soft);} .mention-pop .mn{font-weight:600;color:var(--ink);} @@ -1152,7 +1158,7 @@ -