facundobatista / kilink

A next generation pastebin
GNU General Public License v3.0
25 stars 29 forks source link

Turn the edition process of a single kilink into a single-page #99

Closed pablocelayes closed 7 years ago

pablocelayes commented 8 years ago

Currently, a new URL is generated and a server-side HTML page is served for each version of a kilink that is created. This generates excessive and redundant requests and also code repetition between API and web app.

We propose to have a single URL for each kilink, and use a fragment identifier (#) to refer to the different versions of it.

e.g.: http://linkode.org/ruPDWWYSKrKOiP5o4zwS91#1 http://linkode.org/ruPDWWYSKrKOiP5o4zwS91#2

facundobatista commented 8 years ago

This is part of the migration to "have a very simple web app served by the API"

StyXman commented 7 years ago

But please leave a mobile version that does not (ab)use JS...