not-nullptr / Aerochat

Native rewrite of Aerochat, a WLM 09 themed Discord client
Mozilla Public License 2.0
148 stars 8 forks source link

[Draft] Attachments editor GUI #45

Open kawapure opened 1 month ago

kawapure commented 1 month ago

This will show when the user queues a file for uploading. It is modelled after the photo sharing feature of WLM '09. The following screenshot demonstrates the reference UI from WLM '09:

image

The photo sharing feature of WLM '09 differed in functionality from Discord attachments; both users shared a cursor and the context was encapsulated within the photo sharing view. Most notably, the attachments were not uploaded alongside any message like they are in Discord.

Furthermore, Discord has additional requirements for editing attachments that were never provided by the WLM reference feature: editing file names at upload time, marking attachments as spoilers, and removing attachments. In order to provide this feature in a way that is familiar to Discord users and ergonomic for use with Discord, I decided to take creative liberties and have selecting items in the minimised view (what would just change the selection for the other user in WLM '09) open a popup menu with these editing options. A similar UI will be provided in the preview pane for the expanded view, though I haven't figured that out yet.