Rename Movie to Group in UI (#4963)

* Replace movies with groups in the UI
* Massage menu items
* Change view names
* Rename Movie components to Group
* Refactor movie to group variable names
* Rename movie class names to group
This commit is contained in:
WithoutPants
2024-06-26 11:39:31 +10:00
committed by GitHub
parent d986a9eb4f
commit af6841be49
63 changed files with 643 additions and 612 deletions

View File

@@ -81,11 +81,11 @@ export function getAggregateTagIds(state: { tags: IHasID[] }[]) {
return getAggregateIds(sortedLists);
}
interface IMovie {
interface IGroup {
movie: IHasID;
}
export function getAggregateMovieIds(state: { movies: IMovie[] }[]) {
export function getAggregateGroupIds(state: { movies: IGroup[] }[]) {
const sortedLists = state.map((o) =>
o.movies.map((oo) => oo.movie.id).sort()
);