feat: add drag-and-drop reordering for reaction row items

Replace up/down arrow buttons with a drag handle icon that supports
long-press drag gestures for reordering reaction items in settings.
Items visually lift with elevation and scale during drag, and swap
positions when dragged past neighboring item thresholds.

https://claude.ai/code/session_01RYsPFgnoeJ3BmwjFPMvTuU
This commit is contained in:
Claude
2026-03-04 21:32:09 +00:00
parent 13dadeda37
commit c2384d2082
2 changed files with 129 additions and 53 deletions
+1 -2
View File
@@ -1238,8 +1238,7 @@
<string name="reactions_settings_description">Configure which reaction buttons are shown, their order, and whether to display counters.</string>
<string name="reactions_settings_enabled">Enabled</string>
<string name="reactions_settings_show_counter">Show Count</string>
<string name="reactions_settings_move_up">Move up</string>
<string name="reactions_settings_move_down">Move down</string>
<string name="reactions_settings_reorder">Reorder</string>
<string name="reactions_settings_reply">Reply</string>
<string name="reactions_settings_reply_description">Reply to this note</string>
<string name="reactions_settings_boost">Boost</string>