]> cat aescling's git repositories - mastodon.git/commit
Add aliases for WebUI routes that were renamed in #16171 (#16772)
authorClaire <claire.github-309c@sitedethib.com>
Mon, 27 Sep 2021 05:23:48 +0000 (07:23 +0200)
committerGitHub <noreply@github.com>
Mon, 27 Sep 2021 05:23:48 +0000 (07:23 +0200)
commit11502ae46e4813bc23aeb5d03093a01d53991ab8
tree153f5953b8d144f78885fdeb3d04b7213ea9a26d
parenta0d4129893c797f78d28ba9df5d35646f7bb0d80
Add aliases for WebUI routes that were renamed in #16171 (#16772)

* Add aliases for some WebUI routes that were renamed in #16171

Accounts and statuses routes need more work as they use different parameters.

* Add aliases for /statuses/* routes

* Add aliases for /accounts/* WebUI routes

Does not correctly set the “active” state on the navigation tabs but this is
a minor issue.

* Fix some routes

* Fix /accounts/:id/{media,followers,following} not loading on legacy routes
app/javascript/mastodon/actions/compose.js
app/javascript/mastodon/features/account_gallery/index.js
app/javascript/mastodon/features/account_timeline/index.js
app/javascript/mastodon/features/followers/index.js
app/javascript/mastodon/features/following/index.js
app/javascript/mastodon/features/ui/index.js