The PR adds the ability to create comments as a different user than the currently selected one. It should work whether responding directly to a post or to a comment. As with #1159, there is object resolution in place to look up the corresponding post and (if necessary) comment on the new instance, and there is error handling if those objects are not found. The original user is restored upon navigating back while the rest of the app is left untouched. Since we can't know if the new comment has federated yet, we can't do the nifty thing where the new comment is immediately shown in the thread, but by refreshing it can be seen once it federates.
Hide whitespace.
Screenshots / Recordings
Apologies in the demo that the comments take a little while to federate.
Pull Request Description
The PR adds the ability to create comments as a different user than the currently selected one. It should work whether responding directly to a post or to a comment. As with #1159, there is object resolution in place to look up the corresponding post and (if necessary) comment on the new instance, and there is error handling if those objects are not found. The original user is restored upon navigating back while the rest of the app is left untouched. Since we can't know if the new comment has federated yet, we can't do the nifty thing where the new comment is immediately shown in the thread, but by refreshing it can be seen once it federates.
Screenshots / Recordings
https://github.com/thunder-app/thunder/assets/7417301/d82db6dc-a9ee-4305-935a-241712b7c102