Comments (4)
I like the option with confirmation better, but I think for some people that could be annoying
Maybe you can add an option to switch it off?
from tuba.
I'm not super-fond of this to be honest due to the way media-uploading works.
When you attach a file, it first gets uploaded to the server which returns an id that we later attach to the object we send when "Post" is clicked. I wasn't super-fond of Ctrl+V for the same reason but at least the user is somewhat aware by being on the Media page of the composer.
That means that if you accidentally press ctrl + v with sensitive media in your clipboard, they will be uploaded to your instance which has privacy issues. At the same time though, you are supposed to trust your instance somewhat and they do get cleaned-up after some time automatically.
However, when the new composer mockups drop, there probably won't be a "pages" system anyway. The solutions I propose are:
- A dialog confirming the paste on Ctrl + V
- Assume instances and their sysadmins do not lookup or keep the discarded media forever
What do you think?
edit:
Keeping the media in memory and uploading only on post is not appropriate either btw, Media uploading can easily fail even though we already keep track of the instance limits (on size and media types) for two reasons:
- rate limits
- random Mastodon media processing errors like "422 Video has no video stream"
+ if the files are big, the user will have to wait for them to be uploaded on post which might seem like Tuba has frozen
from tuba.
Maybe you can add an option to switch it off?
Obligatory link to Choosing our Preferences
from tuba.
I do worry that creating a preference for this would be overkill. I'm not sure it's guideline compliant, but perhaps a confirmation dialogue with the yes option focussed by default. That way people can CTRL+V then ENTER to proceed.
from tuba.
Related Issues (20)
- [Bug]: cant find admin mode HOT 6
- [Request]: Admin reports greyscale and blur media
- [Request]: Make alert dialogs HIG compliant HOT 3
- [Request]: Avoid stacking dialogs HOT 3
- [Request]: Use button row list add pattern
- [Bug]: Notes field EntryRow cannot show full contents (except scrolling while editing) HOT 1
- [Bug]: Drag to refresh on librem 5 stops working when returning to top of feed HOT 2
- [Request]: Autocompletion for the "From User" username filtering field in the "Advanced Search" helper dialog HOT 3
- [Bug]: The margin of the popover when clicking on an avatar is odd HOT 8
- [Request]: Lock timeline scroll in Federated view when not at top HOT 2
- [Bug]: Opening videos more than once crashes the app (failed to flush Wayland connection) HOT 1
- [Bug]: Crash when repeatedly playing / pausing and/or entering/exiting enlarged video playback mode HOT 1
- [Bug]: Papercut: missing tooltip on clickable usernames, inaccurate "Open profile" tooltip on avatars HOT 1
- [Request]: Simplify window resizing HOT 1
- [Bug]: After computer has been suspended / put to sleep, notifications do not refresh until app restart HOT 1
- [Bug]: I can open many dialogs many times HOT 2
- [Bug]: '%3' HOT 3
- [Request]: Change localisable strings to allow rearranging words HOT 2
- [Bug]: Crashes when going to previous screen after destroy event HOT 11
- [Bug]: No option to close app HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tuba.