Conversation
𝕏 が 2026 年 9 月から、従量課金のアプリで書き込み権限を求めると同意画面に 「Sensitive permissions requested」の枠を出すようになった。開発者側で消す 手段が無く、チェックを入れないと認可ボタンを押せないので、押す前に知らせる。 あわせて認証前の画面を作り直した。以前は署名ボタンと注意書きが縦に並ぶだけで、 何が起きるものなのか分からなかった。 - 実際に流れるポストの見本を並べて置く(行の並びは summary.ts と同じ) - 通信簿に出る指標を色付きの札で並べる(反応=桃・伸び=青系・行動=緑系) - 認証済みの画面は自動ポストの入切を主色の枠の箱に入れ、アカウントは 表ではなく丸+名前で出す - 上に 3px の帯(𝕏 の黒 → 主色) app.scss に .panel / .cluster と --ui-ok / --ui-shadow / --ui-tint を戻した。 Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01JgGYf5qbjDXYhtzcpLsGvv
|
Claude finished @5ym's task in 2m 19s —— View job レビュー完了タスクリスト
全体所感UI のみの変更で、トグル・今すぐ投稿・エラー表示・API 呼び出しなどのロジックには手が入っていないことを確認しました。全体として丁寧に作られており、大きな問題は見当たりません。
|
| </table> | ||
| <div class="who"> | ||
| <span class="av" aria-hidden="true"> | ||
| {(ret?.data?.name ?? "?").slice(0, 1)} |
There was a problem hiding this comment.
要確認(軽微): (ret?.data?.name ?? "?").slice(0, 1) は UTF-16 コード単位で切り出すため、𝕏 の表示名が絵文字など BMP 外の文字(サロゲートペア)で始まっている場合、先頭の1文字が壊れて文字化け(U+FFFD 等)して表示される可能性があります。X の表示名は先頭に絵文字を置くケースも珍しくないため、[...name][0] や Array.from(name)[0] でコードポイント単位に切り出す方が安全です。
slice(0,1) は UTF-16 の単位で切るので、絵文字始まりの表示名(𝕏 では 珍しくない)がサロゲートペアの片割れになって文字化けする(AI レビューの指摘)。 Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01JgGYf5qbjDXYhtzcpLsGvv
|
Claude finished @5ym's task in 1m 39s —— View job 進行状況
全体所感前回のレビュー以降の差分(
大きな問題は無く、承認して問題ないと考えます。 |
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.
1. 𝕏 の同意画面の変更を知らせる
𝕏 が 2026 年 9 月から、従量課金のアプリが書き込み権限を求めると同意画面に「Sensitive permissions requested / This app is not affiliated with X」の枠を出すようになった(告知)。xool は
tweet.writeを使うので該当する。開発者側で消す手段は無く、「I trust this app」にチェックを入れないと認可ボタンが押せないので、押す前に画面で知らせるようにした。2. 認証前の画面を作り直した
以前はサインインボタンと注意書きが縦に並ぶだけで、何が起きるものなのか分からなかった。
summary.tsの組み立てと同じ。数字は架空でサンプルと明記)app.scssには.panel/.clusterと--ui-ok/--ui-shadow/--ui-tintを戻した(daisyUI 剥がしのときに未使用として削っていたもの)。ロジック(トグル・今すぐ投稿・エラー表示・API 呼び出し)は変えていない。
bun run build/bun run check(0 errors 0 warnings)とも通り、明色・暗色・SP の 3 通りを実機で確認済み。🤖 Generated with Claude Code
https://claude.ai/code/session_01JgGYf5qbjDXYhtzcpLsGvv