mirror of
https://git.kescher.at/CatCatNya/catstodon.git
synced 2024-12-13 03:19:04 +01:00
30e895299c
* 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>
90 lines
2.3 KiB
JavaScript
90 lines
2.3 KiB
JavaScript
import { combineReducers } from 'redux-immutable';
|
|
import dropdown_menu from './dropdown_menu';
|
|
import timelines from './timelines';
|
|
import meta from './meta';
|
|
import alerts from './alerts';
|
|
import { loadingBarReducer } from 'react-redux-loading-bar';
|
|
import modal from './modal';
|
|
import user_lists from './user_lists';
|
|
import domain_lists from './domain_lists';
|
|
import accounts from './accounts';
|
|
import accounts_counters from './accounts_counters';
|
|
import statuses from './statuses';
|
|
import relationships from './relationships';
|
|
import settings from './settings';
|
|
import push_notifications from './push_notifications';
|
|
import status_lists from './status_lists';
|
|
import mutes from './mutes';
|
|
import blocks from './blocks';
|
|
import boosts from './boosts';
|
|
import server from './server';
|
|
import contexts from './contexts';
|
|
import compose from './compose';
|
|
import search from './search';
|
|
import media_attachments from './media_attachments';
|
|
import notifications from './notifications';
|
|
import height_cache from './height_cache';
|
|
import custom_emojis from './custom_emojis';
|
|
import lists from './lists';
|
|
import listEditor from './list_editor';
|
|
import listAdder from './list_adder';
|
|
import filters from './filters';
|
|
import conversations from './conversations';
|
|
import suggestions from './suggestions';
|
|
import polls from './polls';
|
|
import trends from './trends';
|
|
import missed_updates from './missed_updates';
|
|
import announcements from './announcements';
|
|
import markers from './markers';
|
|
import picture_in_picture from './picture_in_picture';
|
|
import accounts_map from './accounts_map';
|
|
import history from './history';
|
|
import tags from './tags';
|
|
import followed_tags from './followed_tags';
|
|
|
|
const reducers = {
|
|
announcements,
|
|
dropdown_menu,
|
|
timelines,
|
|
meta,
|
|
alerts,
|
|
loadingBar: loadingBarReducer,
|
|
modal,
|
|
user_lists,
|
|
domain_lists,
|
|
status_lists,
|
|
accounts,
|
|
accounts_counters,
|
|
accounts_map,
|
|
statuses,
|
|
relationships,
|
|
settings,
|
|
push_notifications,
|
|
mutes,
|
|
blocks,
|
|
boosts,
|
|
server,
|
|
contexts,
|
|
compose,
|
|
search,
|
|
media_attachments,
|
|
notifications,
|
|
height_cache,
|
|
custom_emojis,
|
|
lists,
|
|
listEditor,
|
|
listAdder,
|
|
filters,
|
|
conversations,
|
|
suggestions,
|
|
polls,
|
|
trends,
|
|
missed_updates,
|
|
markers,
|
|
picture_in_picture,
|
|
history,
|
|
tags,
|
|
followed_tags,
|
|
};
|
|
|
|
export default combineReducers(reducers);
|