Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* deps: install typescript * Use typescript for the prerendered html * Type a few common user components * Use redux-toolkit * Add a type declaration to base selector functions * Add typed useDispatch and useSelector * Remove default values from reducer action parameters * Typed useStore hook * Use the typed redux hooks everywhere * Move all constants files to ts * Use typescript files for active overlay * Use redux slice features for active overlay * Add types for config reducer * Add types to the booth/history state * Add types to the chat messages reducer * Add types to small reducers * Add types to the playlists reducer * Partially convert WebSocket interactions to typescript * Add types to more reducers * Add types to dialogs * Use typescript types in the SearchBar * deps: update typescript * Add types to chat components * async fn * Assert some types to make it pass * Declare useTranslator() * Work on types in media list * Use swr for the history list * Add types to more media list components * Remove room history from redux state * Do not eagerly load active playlist * Move search request into the panel component * Add types to ConnectionIndicator * Move room history fetching implementation to a shared hook * Use SWR for playlist state in mobile drawer * a few types * Use RTK slice for booth state * support different types in MediaList * Make the overlay types work * Fix AddToPlaylistAction types * make a BaseRowProps type... * Add return type to addMediaMenu * Use a redux slice for chat messages * Refetch /now after the page was hidden * Fix import in <Motd/> * Fix lint * use deepmerge instead of structuredClone * Move settings state to a redux slice * Use swr for YouTube imports * Fix mutation in playlists reducer * move suspense boundary * Add types to form components * Add types to media sources * Add types to entry class * Add types to the room user list * Add types to waitlist * Remove rowProps support from media list * Fix settings * Write soundcloud player with hooks * Fix settings test * Fix chat reducer tests * Fix booth reducer test * Add types to MediaSearchStore * Fix soundcloud player props * Type most chat actions? * lint * fix url * Use createAsyncThunk for login * uwFetch * lint <video/> * Delete unused action constants * Move chat notifications into extraReducers * pkg: add typecheck npm script * Fix login * Use advance.type * remove LOAD_VOTES * Move theme state to a redux slice * Move waitlist state to a redux slice * Move import/search panel state into playlists reducer * add type for json-api errors * Write users reducer as a redux slice * Delete unused action type constants * Move username changes to an async thunk * Write initState as an async thunk * use flattened media type in chat notif… * fix getting socket token from initState * move socket action handlers to a listener middleware * break some recursive types * handle undefined * deps: update * markdown.tsx * Use createAsyncThunk for updating MOTD * update tests to new reducers * remove eager loadPlaylist call when selecting a playlist * Remove jest-fetch-mock * use vitest * fixup! use vitest * deps: install vitest coverage tool * handle moderator waitlist moves * Move active import source type selector into the reducer file * Reduce cyclical imports * use eslint-plugin-vitest * toEqual → toBe where possible * include jsx tests in vitest * move add media menu state to a slice * Move addToPlaylistMenu selectors into the reducer file * move most settings code into the reducer * fix types in AddToPlaylistAction * Hardcode media source reducer for now * import vi * use async thunk for importing playlist from youtube * Fix imports * Rewrite playlists reducer as a redux slice * createPlaylist as an async thunk * deps: update vite * fix playlist reducer types * update getMediaSource() type * deps: add explicit jsdom dependency * port addMedia to an async thunk * fix new playlist item type * build: remove custom babel config * remove old search actions * line length * remove obsolete user actions * lint uwave.tsx * deps: update stylelint config * deps: update p-map * deps: update rimraf * build: allow for-of * build: lint passes * deps: update vitest * deps: update escape-string-regexp * fix preview player size * Fix some media source types * fix one settings crash * make notification settings work * deps: update get-port * deps: update vitest * deps: update vitest * deps: update eslint-plugin-jest-dom * deps: npm update * deps: update emojibase-data * Remove obsolete `@nest` from CSS files * deps: update dependencies * deps: update vitest * deps: update clsx * deps: update vite to v5 * deps: update react-virtual * deps: update testing deps * Fix type checking * 2.0.0-alpha.25 * Bubble up errors during load * Use size from playlist metadata in panels Fixes the load trigger. This doesn't fully do it. The underlying problem is that the `media` array for a playlist may not be populated in prod. * Address some crashes in playlist items * 2.0.0-alpha.26 * Remove serverEmotes config reducer leftovers * 2.0.0-alpha.27 * Fix closing settings manager * Handle user having no active playlist * Fix merging currently playing media object * Typecheck indexed access, fixing some playlist state bugs * deps: update u-wave-parse-chat-markup to support deduped emote names * 2.0.0-alpha.28 * Untyped action 💀 * youtube: allow keyboard control of preview player * deps: update jsdom * Lint fixes
- Loading branch information