usegalaxy-eu / galaxy-social

Repository for democratising of Galaxy's social media activity - encourage collaboration, editing, peer-review of toots 🐘 and more
Creative Commons Zero v1.0 Universal
3 stars 3 forks source link

add small link to create new files #24

Closed bgruening closed 1 month ago

arash77 commented 1 month ago

Should this link redirect to the main branch?

bgruening commented 1 month ago

Is it not?

arash77 commented 1 month ago

Yes, it is but if someone wants to create a pr shouldn't it create a new post file in another branch?

bgruening commented 1 month ago

Probably ... we can close that. BUT, a few core people will most likely not work on the commandline. So that would be the easiest way.

You are not processing files on different branches than main. Do you?

wm75 commented 1 month ago

image

so this should be doing the right thing.

Would be nice if we could prefill the text with the template content.

arash77 commented 1 month ago

@bgruening @wm75 Thank you I got it. For template content should we create a git hook file?

arash77 commented 1 month ago

By adding this to the end of the URL we can have a template for that file: &value=---%0Amedia%3A%0A%20 - bluesky%0A%20 - mastodon%0A%20 - matrix%0A%20 - slack%0A%0Aimages%3A%0A%20 - url%3A https%3A%2F%2Fexample.com%2Fa.jpg%0A%20%20%20 alt_text%3A A%0A%20 - url%3A https%3A%2F%2Fexample.org%2Fb.png%0A%20%20%20 alt_text%3A B%0A%0Amentions%3A%0A%20 bluesky%3A%0A%20%20%20 - a.bsky.social%0A%20 mastodon%3A%0A%20%20%20 - a%0A%20 matrix%3A%0A%20%20%20 - a%3Amatrix.org%0A%0Ahashtags%3A%0A%20 bluesky%3A%0A%20%20%20 - a%0A%20%20%20 - b%0A%20 mastodon%3A%0A%20%20%20 - c%0A%20%20%20 - d%0A---%0AYour text content goes here.