dlang-tour / core

D Language online tour (https://tour.dlang.org/) and online editor (https://run.dlang.io/)
Boost Software License 1.0
117 stars 47 forks source link

run.dlang.io: “Shorten” and “Export Gist” buttons not working #739

Open Ogi-kun opened 4 years ago

FeepingCreature commented 4 years ago

Bump. This is fairly vital infrastructure.

BradleyChatha commented 4 years ago

Bump.

Which will come first:

My vote is on the former.

Hezkore commented 2 years ago

This is weird... I swear I used this feature just a few days ago, but today it's not working at all.

PetarKirov commented 2 years ago

The third-party is.gd service that was used internally is no longer working and we can't do anything about it. Going forward, once I have sufficient time I will remove the ill-conceived "shorten" feature, I will instead push forward only "export to gist", which should pretty much work the same way for users, except for the exact URL format.

ljmf00 commented 2 years ago

See the PR I made. Export gist works fine when giving https://run.dlang.io/gist/run-dlang/<id> but not https://run.dlang.io/gist/<id>. I made this a while ago so not sure if this is updated

PetarKirov commented 2 years ago

@ljmf00 Thanks for reminder and for the PR itself! I will review it shortly.