fix(ui): mobile command picker and DiscordEmbed label spacing#304
Draft
RedStar071 wants to merge 24 commits into
Draft
fix(ui): mobile command picker and DiscordEmbed label spacing#304RedStar071 wants to merge 24 commits into
RedStar071 wants to merge 24 commits into
Conversation
Match Discord mobile slash-command suggestions (horizontal app rail, uppercase app labels, pill input) and restore gaps after bold embed labels when values are DiscordMention/DiscordRole components. Co-authored-by: RedStar <redstar071@proton.me>
Also apply oxfmt class-order and template formatting tweaks. Co-authored-by: RedStar <redstar071@proton.me>
This comment has been minimized.
This comment has been minimized.
Use an unscoped strong::after rule and explicit template spaces so Type, User, Reason, and logging fields keep a gap before text and mention chips. Co-authored-by: RedStar <redstar071@proton.me>
Restore the original desktop styles as defaults and scope Discord mobile layout/input tweaks to max-md instead of inverting the base cascade. Co-authored-by: RedStar <redstar071@proton.me>
Stop rendering the WolfStar group under Frequently Used, surface Staryl's first command in that slot instead, and size the picker to five visible rows. Co-authored-by: RedStar <redstar071@proton.me>
Compose WolfStar CommandsShowcase as a Discord-like workspace (header, welcome, chat, member list, message input) and cover it with SSR/a11y tests.
This comment has been minimized.
This comment has been minimized.
Move channel header/welcome under discord/channel/, rename MessageComposer to chat-message-composer, and align the composer toolbar with Discord icons.
Group slash-command UI, shared types/utils, and tests under chat-input-command, update auto-import names, and fix knip/composer SSR assertions that were failing CI.
Align header, composer, member list, slash picker, and string-select with Discord desktop/mobile patterns, use Discord-true oklch chrome, wire members toggle and support-server roster avatars, and simplify moderation reply text in the marketing showcase.
Import Message bar / toolbar SVGs from the Discord assets Figma pack and switch channel header plus composer attach controls to discord:* icons.
This comment has been minimized.
This comment has been minimized.
…ence Align the mockup closer to Discord with a plain attach control, composed slash chrome, short-channel welcome pinning, status icons, and SSR coverage.
…-picker-embed-spacing-1354 Co-authored-by: RedStar <redstar071@proton.me>
Satisfy the design-token guardrail for string-select hover and CommandsShowcase SurfaceCard chrome without changing the colors. Co-authored-by: RedStar <redstar071@proton.me>
Co-locate CSF stories for Discord mock UI (messages, embeds, chat input commands, channel chrome, and Components V2), with shared fixtures and a Discord dark chrome decorator for Chromatic snapshots. Co-authored-by: RedStar <redstar071@proton.me>
❌ Deploy Preview for wolfstar-rocks-et34281 failed.
|
Vue's compiler could not resolve the auto-imported base type when building chat-input-command stories; import it explicitly instead. Co-authored-by: RedStar <redstar071@proton.me>
Use a transparent track with a 4px muted pill thumb everywhere (including the command picker), and hide the chat scrollbar until hover or scroll. Co-authored-by: RedStar <redstar071@proton.me>
…ed-spacing-1354' into cursor/mobile-command-picker-embed-spacing-1354
…ed-spacing-1354' into cursor/mobile-command-picker-embed-spacing-1354
Overlay the picker on the chat, clear messages while slash mode is active (no short-channel scrollbar), and close the picker after execute so the bot response is revealed like Discord. Co-authored-by: RedStar <redstar071@proton.me>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🔗 Linked issue
N/A — UI polish from Discord mobile/embed screenshots.
🧭 Context
Two showcase regressions on
/wolfstar:Type,User,Reason, logging fields) jammed into their values because Vue’s whitespace condensation drops spaces between tags, andDiscordMention/DiscordRoleare components rather than text nodes.📚 Description
mdviamax-md:/md:— no inverted mobile-first base cascade.strong::afterspace plus explicit template spaces so every embed caller keeps a gap before text and mention/role chips.Mobile command picker
Embed label spacing
Desktop command picker
Test plan
md: list on top, horizontal app rail below, pill input + sendmd+: original vertical left rail and desktop input toolspnpm lint:fix,pnpm typecheck,pnpm build:test,pnpm test:unit,pnpm test:nuxtTo show artifacts inline, enable in settings.
Need help on this PR? Tag
/codesmithwith what you need. Autofix is disabled.Confidence Score: 4/5
This PR needs one contained type-check fix before merging.
The UI changes are mostly component and style updates, but
app/types/discord.tsnow references an unimported type and breaks type checking.app/types/discord.tsWhat T-Rex did
Prompt To Fix All With AI
Reviews (16): Last reviewed commit: "fix(discord): hide channel messages unde..." | Re-trigger Greptile