PeerTube icon indicating copy to clipboard operation
PeerTube copied to clipboard

Allow to empty the Twitter username field

Open tcitworld opened this issue 1 year ago • 3 comments

Describe the current behavior

Emptying the twitter username field prevents the configuration from being saved. You have to manually reset it to @joinpeertube.

Steps to reproduce

  1. Set a value for the twitter username field
  2. Save the configuration form
  3. Try to remove the value in the field

Describe the expected behavior

Allow the field to be emptied when submitting the form, then fill it back with the default value.

Additional information

  • PeerTube instance:
    • Version: 6.0.0-rc.2

tcitworld avatar Nov 27 '23 09:11 tcitworld

I wasn't interested in this question, but ever since I deployed my peertube instance, I've always gotten this image

kirill2400 avatar Nov 28 '23 15:11 kirill2400

Describe the current behavior

Emptying the twitter username field prevents the configuration from being saved. You have to manually reset it to @joinpeertube.

Steps to reproduce

  1. Set a value for the twitter username field
  2. Save the configuration form
  3. Try to remove the value in the field

Describe the expected behavior

Allow the field to be emptied when submitting the form, then fill it back with the default value.

Additional information

  • PeerTube instance:

    • Version: 6.0.0-rc.2

Where is this specifically happening? I haven't used PeerTube before, but it sounds like an interesting problem. How would you get to this page where you're having the problem.

And, as for your expected behavior, are you trying to allow the Twitter username input field be empty on submit? I'm confused when you say, "then fill it back with the default value.". Do you want to be able to set it blank and save it. Or set it blank and it updates to some sort of default value?

Hmm, I have a local version running. If you don't have a Twitter username you want your instance to use, why would you try to set an empty value? Additionally, I just started this local instance and it seems like the default value is: @Chocobozzz, or at least that's what I had as default. Not sure where you got @joinpeertube, unless that's in the other branch as I'm in develop.

Are you trying to say that you want to be able to set this input field as blank, and when you press the "Update Configuration" button, you want it to automatically reset back to @Chocobozzz? If so, why the exta work? Why make the field empty in the first place.

mrpassiontea avatar Nov 28 '23 18:11 mrpassiontea

I would like to vote for this one, it seems to weird you have to leave the @Chocobozzz usename in a walledgarden link, I would, as also mentioned here https://github.com/Chocobozzz/PeerTube/issues/2435#issuecomment-2071211655, vote for a new field, that is to link your account between the PT and any other fediverse instance like a @misskey or @mastodon, which you use for text interactions.

spirillen avatar Apr 23 '24 01:04 spirillen