Better support for browsers with JS disabled
Breaking this discussion out of !1073 (closed).
IMO, swh-web depends on client-side Javascript more than it needs to:
- The origin search does not work at all
- The "Save Code Now" form is a noop without it
- The "Add Forge Now" form works but shows an obscure error (#4053)
- Tabs in "Save Code Now" and "Add Forge Now" don't work
- We had to repeatedly fix history issues with these tabs, even with JS enabled (#4050 (closed), rDWAPPS39bab96e, an old diff I was working on that needed to add a tab somewhere, ...)
All these could be replaced by normal HTML pages and forms; this would allow them to work everywhere, and be less brittle.
(Note that I'm not advocating for complete removal of client-side Javascript; it is fine to use it for Datatables, lazy loading of origin statuses, lazy loading of status.softwareheritage.org, lazy loading of counters, querying GitHub's API, ...)
Migrated from T4054 (view on Phabricator)
Edited by Phabricator Migration user