345d9e76b5
* Paginate: add option to disable history and url param * Refactored blocklists into `BlockList`; no functional change Reason: - With each list (Personal, Admin, Mod, Muted), there's a bunch of useEffects and variables needed to handle the state. All of them are doing 99% similar things. * Paginate blocklists 6834 * Improve 'moderator-block' list visuals - Added "Blocked on behalf of" to make things clearer. - Use smaller ClaimPreview for delegators to save space (there might be lots of delegators) * Add search bar to BlockList 6834 - Only supports channel-name search, per 6834. Channel-title search would probably be too heavy on the client side. - Fuzzy search is possible, but is too slow on huge lists. Ended up with a simpler `matchSorter.rankings.CONTAINS`, which I think would cover typical cases.
2 lines
58 B
JavaScript
2 lines
58 B
JavaScript
import BlockList from './view';
|
|
export default BlockList;
|