Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,11 @@ Keep this file updated in the same PR/commit as the code. GitHub Releases should

_Nothing yet._

## 4.5.9

- Restore **top-docked** switcher so the Android keyboard no longer covers the list (v4.5.8 bottom ActionSheet regression)
- Keep Stealmoji dismiss-then-`openUrl` jump path; no full-screen touch scrim; Filter field does not auto-focus

## 4.5.8

- Rewrite switcher UI to match known-good Revenge plugins (**Stealmoji** / **Bunny ActionSheet** / **JumpTo**): open Discord’s native `ActionSheet` via `openLazy`, call `hideActionSheet()` before `openUrl`
Expand Down
8 changes: 4 additions & 4 deletions OPTIONS.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Every option below must include an explicit **Risk** value.

| ID | Option | Risk | Why blocked | Notes |
|----|--------|------|-------------|-------|
| **A1** | Device QA | **Low** (process) | Requires a Revenge Discord client and manual checklist | **v4.5.8**. Retest: native ActionSheet UI; after jump, taps must work. Logs: `v4.5.8` + `openUrl`. |
| **A1** | Device QA | **Low** (process) | Requires a Revenge Discord client and manual checklist | **v4.5.9**. Retest: top-docked switcher stays above keyboard; after jump, taps still work. Logs: `v4.5.9` + `openUrl`. |

---

Expand All @@ -40,8 +40,8 @@ Every option below must include an explicit **Risk** value.
| **B14** | `/servers` missing from slash menu | **Done** (v4.4.5) | **Low** | Revenge inverted `shouldHide` filter; omit it + fill command metadata. |
| **B15** | `/servers` silent + duplicate | **Done** (v4.4.7) | **Low** | `sendBotMessage` replies; unregister-before-register. |
| **B16** | `/servers query` silent no-op | **Done** (v4.4.7) | **Medium** | Jump/error bot replies + harder nav + arg unwrap. |
| **B17** | Switcher sheet + tappable picks (C5/C8) | **Done** (v4.5.8) | **Medium** | Native Discord ActionSheet + simple sheet; bot-message fallback. |
| **B18** | Freeze / dead UI after jump | **Done** (v4.5.8) | **High** | Native Discord ActionSheet + hideActionSheet before openUrl (Stealmoji/JumpTo); no custom overlay hosts. |
| **B17** | Switcher sheet + tappable picks (C5/C8) | **Done** (v4.5.9) | **Medium** | Top-docked searchable panel + simple sheet; bot-message fallback. |
| **B18** | Freeze / dead UI after jump | **Done** (v4.5.9) | **High** | dismiss-then-openUrl (Stealmoji); top-dock for keyboard; no full-screen scrim. |

---

Expand Down Expand Up @@ -122,7 +122,7 @@ Every option below must include an explicit **Risk** value.

### C8 — Dedicated switcher UI (not in-channel)

**Status:** **Done** (v4.5.8) — `/servers` opens Discord’s native ActionSheet (Stealmoji/Bunny pattern); settings has **Open switcher**; bot-message list remains fallback when sheet APIs are missing.
**Status:** **Done** (v4.5.9) — `/servers` opens a **top-docked** searchable panel (keyboard-safe) with Stealmoji-style dismiss-then-jump; settings has **Open switcher**; bot-message list remains fallback when sheet APIs are missing.

**What it is:** Open a real UI surface for `/servers` instead of posting bot messages into the current channel.

Expand Down
12 changes: 6 additions & 6 deletions TESTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ All steps exit with code 0. You should see:
```
Tests 86 passed (86)
dist/index.js ~18kb
manifest ok (v4.5.8)
manifest ok (v4.5.9)
```

### Individual commands
Expand Down Expand Up @@ -369,7 +369,7 @@ If local verification fails, fix the issue before testing on device.
| Markdown in names | Server name with `_` or `*` | Listed names escaped in `/servers` output (no broken markdown) |
| Long server names | Name > 100 chars | Truncated safely in lists and toasts |
| Plugin reload | Disable plugin, re-enable, reload Discord | `/servers` and settings still work |
| Version | Check plugin metadata if Revenge shows it | **4.5.8** |
| Version | Check plugin metadata if Revenge shows it | **4.5.9** |
| Ambiguous search | Two servers sharing a prefix, query that prefix | Pick list + refine toast; no jump |
| Excluded search | Exclude one of two similar names, query shared fragment | Only non-excluded server matches |
| Debug logging | Enable in settings, run `/servers` / toggle flat sidebar | No crash; diagnostics appear in Revenge logs when supported |
Expand All @@ -391,17 +391,17 @@ For device-only bugs, note that local tests passed — that helps separate Reven

---

## Quick checklist — v4.5.8 device QA (A1)
## Quick checklist — v4.5.9 device QA (A1)

Copy this for the release candidate. Prefer a fresh plugin install/update from the **raw** GitHub URL, then full Discord reload.

**Already confirmed:** `openUrl` jumps to the right guild. v4.5.6–4.5.7 left taps dead (custom overlay host).
**Already confirmed:** `openUrl` jumps work and taps stay alive (v4.5.8). Bottom ActionSheet was covered by the keyboard.

**Still needs human testing:** `/servers` should open a **native bottom ActionSheet** (not a top floating panel). After jump, sidebar / channels / composer taps must work.
**Still needs human testing:** `/servers` opens a **top-docked** panel; Filter does not auto-open the keyboard; if you tap Filter, the list stays usable above the keyboard; after jump, taps still work.

```
[ ] make verify — all green locally (or CI green on main)
[ ] Plugin installs / updates on Revenge without crash (shows 4.5.8 if version visible)
[ ] Plugin installs / updates on Revenge without crash (shows 4.5.9 if version visible)
Install URL: https://raw.githubusercontent.com/djbclark/RevengeQuickSwitcher/main/
[ ] Smoke plugin installs and ENABLES (toggle on, no X)
Smoke URL: https://raw.githubusercontent.com/djbclark/RevengeQuickSwitcher/main/smoke/
Expand Down
50 changes: 25 additions & 25 deletions dist/index.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@
}
],
"main": "dist/index.js",
"version": "4.5.8",
"hash": "376e77875fb7284228e74cf9d2e480dcd79ac59af9efb4c1498b3e6894da189a"
"version": "4.5.9",
"hash": "70a041b5fea42d25ea48892b65aee133601253e6996ae1951c27db1e926adbf0"
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "revenge-quick-switcher",
"version": "4.5.8",
"version": "4.5.9",
"main": "dist/index.js",
"scripts": {
"build": "node scripts/build.mjs",
Expand Down
2 changes: 1 addition & 1 deletion src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ const postCommandReply = (channelId: string | undefined, content: string) => {

/** Injected at build time from package.json; keep fallback in sync when bumping. */
const PLUGIN_VERSION =
typeof __QSS_VERSION__ !== "undefined" && __QSS_VERSION__ ? __QSS_VERSION__ : "4.5.8";
typeof __QSS_VERSION__ !== "undefined" && __QSS_VERSION__ ? __QSS_VERSION__ : "4.5.9";

const ensureStorageDefaults = () => {
try {
Expand Down
Loading
Loading