Skip to content

fix(core-expert): copy the Telegram channel PIN - #1271

Merged
kirillDevPro merged 2 commits into
mainfrom
fix/telegram-pin-copy
Nov 6, 2026
Merged

kirillDevPro merged 2 commits into
mainfrom
fix/telegram-pin-copy

Conversation

@kirillDevPro

Copy link
Copy Markdown
Collaborator

What & why

The core's Telegram channel PIN, generated in the core settings' remote page, was shown as plain text that could not be selected or copied. It had to be retyped into the channel by hand.

  • A compact "Copy" button now sits next to the PIN and writes exactly the PIN to the clipboard. A short notification confirms the copy.
  • With no PIN generated yet (the dash placeholder), no button is shown.
  • The button reuses the shared core_cmds.common.copy label. The confirmation is translated in all seven languages.

How to verify

  • cargo test -p moon-ui-gpui --bin moonterminal core_expert::pages::special::remote: click, exact clipboard text, no button without a PIN, and the row fitting at the window's minimum width in every locale.
  • In a core's settings, Telegram remote control: press "Generate PIN code", then "Copy", and paste the PIN.

@kirillDevPro
kirillDevPro merged commit 5e02faa into main Nov 6, 2026
10 checks passed
@kirillDevPro
kirillDevPro deleted the fix/telegram-pin-copy branch November 6, 2026 22:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant