chiark / gitweb /
Rethink utility status of some activities.
authorSimon Tatham <anakin@pobox.com>
Sun, 21 Jan 2024 13:26:52 +0000 (13:26 +0000)
committerSimon Tatham <anakin@pobox.com>
Sun, 21 Jan 2024 13:31:22 +0000 (13:31 +0000)
commit8c00efa089fd3051423dc2ce651b3aeddbf2c591
treee5b821f7dd018dd8c7aba09b91acba124120eee7
parent476fab7eb82255f5cf90be4f2ad55338a22de00e
Rethink utility status of some activities.

ComposeToplevel and ComposeReply are very similar in this environment,
so I think it's wrong that one should be a utility activity and the
other not. The current status mimics real Monochrome, with
ComposeToplevel and ComposeReply corresponding to adding to a file and
sending a message to a user respectively; but in real Mono, those two
activities are much more different from each other than they are here,
so I don't think the same rule should apply.

Conversely, I'm promoting ThreadFile to a _non_-utility activity, on
the basis that all activities involving viewing a file of actual toots
ought to have the same status, or else it's confusing. In particular,
it's annoying to try to examine a user seen in someone's thread, and
then find you can't easily come back to the place you were at in the
thread itself.
src/activity_stack.rs
src/file.rs
src/menu.rs
src/tui.rs