File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 22 import { Label , Input , P } from ' svelte-5-ui-lib' ;
33 import ClipboardCopy from ' lucide-svelte/icons/clipboard-copy' ;
44
5- // FIXME: stwui は事実上開発が終了しているので、別のライブラリに置き換える
5+ // FIXME: stwui is effectively end-of-life, replace with another library
66 import { copyToClipboard } from ' stwui/utils/copyToClipboard' ;
77
88 import ContainerWrapper from ' $lib/components/ContainerWrapper.svelte' ;
2424 status,
2525 }: Props = $props ();
2626
27- // TODO: クリックしたときに、 Copied!といったメッセージを表示できるようにしたい。
28- // WHY: コピーができているか、確認できるようにするため
27+ // TODO: Add a " Copied!" message when clicking
28+ // WHY: To provide feedback when the copy operation succeeds
2929 const handleClick = () => {
3030 copyToClipboard (atcoder_validationcode );
3131 };
Original file line number Diff line number Diff line change 7777 dropdownForUserPage .toggle ();
7878 }
7979
80- // HACK: ログイン直後にドロップダウンが表示されてしまうので、ユーザがクリックしたときだけ表示
80+ // HACK: Close dropdowns when user state changes
8181 $effect (() => {
8282 if (user ) {
8383 closeDropdownForDashboard ();
You can’t perform that action at this time.
0 commit comments