notedeck

One damus client to rule them all
git clone git://jb55.com/notedeck
Log | Files | Refs | README | LICENSE

commit 4bb60c62406a85532215be5b4a77cd708cf38f61
parent 36845c630589b8a1ebb3b7cf40c0313ca4841656
Author: kernelkind <kernelkind@gmail.com>
Date:   Sat,  4 Oct 2025 17:33:05 -0400

refactor: rename `NoteAction::Quote` -> `Repost`

Signed-off-by: kernelkind <kernelkind@gmail.com>

Diffstat:
Mcrates/notedeck/src/note/action.rs | 4++--
Mcrates/notedeck_columns/src/actionbar.rs | 2+-
Mcrates/notedeck_ui/src/note/mod.rs | 2+-
3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/crates/notedeck/src/note/action.rs b/crates/notedeck/src/note/action.rs @@ -14,8 +14,8 @@ pub enum NoteAction { /// User has clicked the quote reply action Reply(NoteId), - /// User has clicked the quote repost action - Quote(NoteId), + /// User has clicked the repost button + Repost(NoteId), /// User has clicked a hashtag Hashtag(String), diff --git a/crates/notedeck_columns/src/actionbar.rs b/crates/notedeck_columns/src/actionbar.rs @@ -119,7 +119,7 @@ fn execute_note_action( .open(ndb, note_cache, txn, pool, &kind) .map(NotesOpenResult::Timeline); } - NoteAction::Quote(note_id) => { + NoteAction::Repost(note_id) => { if can_post { router_action = Some(RouterAction::route_to(Route::quote(note_id))); } else { diff --git a/crates/notedeck_ui/src/note/mod.rs b/crates/notedeck_ui/src/note/mod.rs @@ -867,7 +867,7 @@ fn render_note_actionbar( } if quote_resp.clicked() { - action = Some(NoteAction::Quote(NoteId::new(*note_id))); + action = Some(NoteAction::Repost(NoteId::new(*note_id))); } action = zap_actionbar_button(ui, note_id, note_pubkey, zapper, i18n).or(action);