Add listing of followed hashtags (#21773)
* Add followed_tags route. This at least gets us to the point where the page can actually be rendered, although it doesn't display any hashtags (yet?). Attempting to implement #20763. * Fix minor issues. * I've got the followed tags data partially working But the Hashtag component errors for some reason. Something about the value of the history attribute being invalid. * Fix a mistake in the code * Minor change. * Get the followed hashtags list fully working. Still need to add the Follow/Unfollow buttons, though. * Resolve JS linter issues. * Add pagination logic to followed tags list view. However, it currently loads further pages immediately on page load, so that's not ideal. Need to figure that one out. * Appease the linter. * Apply suggestions from code review Co-authored-by:Claire <claire.github-309c@sitedethib.com> * Fixes and resolve some other feedback. * Use set/update instead of setIn/updateIn. Co-authored-by:
Claire <claire.github-309c@sitedethib.com>
Showing
- app/javascript/mastodon/actions/tags.js 81 additions, 1 deletionapp/javascript/mastodon/actions/tags.js
- app/javascript/mastodon/features/account/components/header.js 2 additions, 0 deletions...javascript/mastodon/features/account/components/header.js
- app/javascript/mastodon/features/compose/components/action_bar.js 2 additions, 0 deletions...script/mastodon/features/compose/components/action_bar.js
- app/javascript/mastodon/features/followed_tags/index.js 89 additions, 0 deletionsapp/javascript/mastodon/features/followed_tags/index.js
- app/javascript/mastodon/features/ui/index.js 2 additions, 0 deletionsapp/javascript/mastodon/features/ui/index.js
- app/javascript/mastodon/features/ui/util/async-components.js 4 additions, 0 deletionsapp/javascript/mastodon/features/ui/util/async-components.js
- app/javascript/mastodon/locales/defaultMessages.json 5 additions, 1 deletionapp/javascript/mastodon/locales/defaultMessages.json
- app/javascript/mastodon/locales/en.json 1 addition, 0 deletionsapp/javascript/mastodon/locales/en.json
- app/javascript/mastodon/reducers/followed_tags.js 42 additions, 0 deletionsapp/javascript/mastodon/reducers/followed_tags.js
- app/javascript/mastodon/reducers/index.js 2 additions, 0 deletionsapp/javascript/mastodon/reducers/index.js
- config/routes.rb 1 addition, 0 deletionsconfig/routes.rb
Please register or sign in to comment