Changelog
What changed in each version, newest first.
v0.1.0 · First version
Work in progress. Nothing is released yet; this entry collects what the first version will contain as it is built.
Added
- The app window: custom title bar, sidebar with server switcher and the seven pages, status bar, and a history drawer.
- Command palette on Ctrl+K: type to filter, Enter runs the first result.
- Keyboard: 1–7 switch pages, Esc closes whatever is open.
- Short confirmation messages at the bottom of the window.
- Add a server with a bot token: paste it, pick the servers to manage, and switch between them from the sidebar.
- The bot token is stored in Windows Credential Manager and nowhere else.
- Channels: select many channels at once (drag a box, Shift for ranges, Ctrl to toggle) and set any role’s permissions on all of them together; values that differ show as Mixed.
- Review every change before it is sent, apply it as one batch with progress, and undo or redo it. Changes the bot is not allowed to make are flagged before anything is sent.
- View as role shows which channels a role cannot see or cannot post in; Permission health lists likely mistakes with a one-click fix.
- Presets for common setups, and snapshots you can restore from the History drawer.
- Roles & members: rename roles, pick a colour, toggle Display separately and Mentionable, switch any permission, reorder roles and create new ones. Every change can be undone.
- See who has a role, add members by name and remove them. If Discord does not allow listing members, x_Discord says how to turn it on.
- Asset hub: every server image, role icon, emoji, sticker, sound, webhook avatar and event cover on one page. Drop a file on a tile to replace it, or on a section to add one.
- Files are checked before they are sent (type, size, free slots), and removing an emoji, sticker or sound asks for a second click because Discord cannot bring it back.
- Server settings: name, description, language, verification level, explicit media filter, default notifications, AFK channel and timeout, system, rules and community-updates channels, welcome message, sticker reply prompt and boost progress bar. Changes are saved together and can be undone.
- Vanity URL and the 2FA requirement for moderators are shown but cannot be changed from x_Discord: Discord does not let bots change them.
- Webhooks: see every webhook with the channel it posts to, create new ones, rename them, move them to another channel, change the avatar, copy the URL, send a test message and delete them (with a confirmation).
- Webhook URLs are never shown in full: x_Discord masks them on screen and copies them straight to the clipboard.
- AutoMod: every rule with a switch to turn it on or off, keyword and allowed-term chips, mention limits, responses (block, alert, timeout) and exempt roles and channels. Changes save when you leave the rule.
- Test this rule: paste a message and see at once whether the rule would block it, and which keyword or allowed term decided.
- Audit log: Discord’s audit log and everything x_Discord applied, in one list. Search, filter by action, person and source, and open an entry to see exactly what changed and why.
- Permission changes in the audit log read like the editor: “Send Messages · Inherit → Deny” instead of raw numbers.
- Website at xdiscord.knotvector.app: what x_Discord does, pricing, questions, and an interactive demo that runs the real app with a sample server in the browser.
Technical notes
- Monorepo: Rust workspace (xd-core, xd-discord, xd-store), Tauri 2 desktop app, SolidJS + TypeScript + Vite UI package.
- Design tokens from the handoff as CSS custom properties; Geist, Geist Mono and Material Symbols Rounded bundled locally.
- Permission catalogue in xd-core with every bit checked against Discord's docs, including five permissions the design left out (Pin Messages, Bypass Slowmode, Use External Apps, Use Activities, Request to Speak).
- CI on pull requests (fmt, clippy, tests, lint); release workflow builds Windows .msi and .exe with updater artifacts.
- App shell rebuilt from the prototype and checked against it element by element (position, size, font, color) at 1280×800.
- Discord REST client built on reqwest (not twilight): raw rate-limit headers, bearer and bot tokens, 429 handling, all covered by mock-server tests.
- Connect service: token validation, keychain storage behind a trait, accounts and servers in SQLite (schema 2). Errors reach the UI as { kind, message } and never contain a token.
- Sign in with Discord is visible but disabled; it needs the OAuth Worker and a Discord application.
- xd-core: Discord’s full effective-permission algorithm (overwrites, implicit rules, timed-out members), the plan builder with inverse operations and role-hierarchy checks, and the permission health rules.
- Apply queue: four requests in flight, per-route rate-limit buckets from X-RateLimit headers, global 429 handling, audit-log reason "x_Discord: <batch label>".
- Batches (with inverse operations) and snapshots are stored in SQLite (schema 3), so undo survives a restart.
- Role and member-role operations share the history and apply queue with overwrites. A role recreated by a redo gets a new id; stored batches are re-keyed to it.
- Upload rules in xd-core (file type sniffed from content, per-kind size limits, slot limits per boost tier) and Discord calls for every asset type in xd-discord, all checked against the docs and covered by mock-server tests.
- Server settings are checked in xd-core before anything is sent (name length, levels, AFK timeout, channel types, Community-only fields, Manage Server) and saved as one Modify Guild request recorded in history with its inverse.
- Webhook calls in xd-discord with the token in a type that cannot be printed or serialized; Manage Webhooks is checked per channel before each change, and name rules (1-80 characters, no “clyde” or “discord”) before sending.
- AutoMod rules are checked in xd-core against Discord’s documented limits before saving; the rule tester implements Discord’s keyword wildcards and allow-list in Rust.
- Audit log entries are described in xd-core (every documented event type, overwrite and role permission diffs, member role changes, timeout durations) and merged with local batches by their audit-log reason. CSV export is behind the pro Cargo feature until licensing.
- Website built with Vite (apps/web) for Cloudflare Pages; changelog and roadmap pages are rendered from release-notes.json and roadmap.json at build time, and CI deploys it from main.