diff --git a/.vscode/settings.json b/.vscode/settings.json
index df15c3b2..490d5da2 100644
--- a/.vscode/settings.json
+++ b/.vscode/settings.json
@@ -1,6 +1,6 @@
{
"files.eol": "\n",
"editor.detectIndentation": false,
- "editor.formatOnSave": false,
+ "editor.formatOnSave": true,
"editor.tabSize": 2
}
\ No newline at end of file
diff --git a/README.md b/README.md
index 99ea4dbe..1f6e2679 100644
--- a/README.md
+++ b/README.md
@@ -39,17 +39,18 @@ Check out [this project's issues](https://github.com/JamesHawkinss/movie-web/iss
- [x] Add results list end
- [x] Store watched percentage
- [x] Add Brand tag top left
-- [X] Add github and discord top right
+- [x] Add github and discord top right
- [x] Link Github and Discord in error boundary
- [ ] Implement movie + series view
- - [ ] Global state for media objects
- - [ ] Styling for pages
+ - [x] Global state for media objects
+ - [x] Styling for pages
+ - [ ] loading video player view + error
- [ ] Series episodes+seasons
-- [ ] On back button, persist the search query and results
-- [ ] Bookmarking
-- [ ] Resume from where you left of
-- [ ] Less spaghett video player view
-- [ ] Homepage continue watching + bookmarks
+- [x] On back button, persist the search query and results
+- [x] Bookmarking
+- [x] Resume from where you left of
+- [ ] Less spaghett video player view (implement source that are not mp4)
+- [x] Homepage continue watching + bookmarks
- [x] Add provider stream method
- [x] Better looking error boundary
- [x] sort search results so they aren't sorted by provider
@@ -57,10 +58,13 @@ Check out [this project's issues](https://github.com/JamesHawkinss/movie-web/iss
- [ ] Migrate old video progress
- [ ] Get rid of react warnings
- [ ] Implement more scrapers
-- [ ] Add 404 page for media (media not found, provider disabled, provider not found) & general (page not found)
+- [ ] Add 404 page for media (media not found, provider disabled, provider not found) & general (page not found) <---
+- [x] Change text of "thats all we have"
## Todo's after rewrite
- [ ] Less spaghetti versioned storage (typesafe and works functionally)
+- [ ] Add a way to remove from continue watching
+- [ ] i18n
- [ ] better mobile search type selector
- [ ] Custom video player
diff --git a/src/App.tsx b/src/App.tsx
index 0ef231ba..baa949cd 100644
--- a/src/App.tsx
+++ b/src/App.tsx
@@ -1,22 +1,24 @@
import { MWMediaType } from "providers";
import { Redirect, Route, Switch } from "react-router-dom";
-import { WatchedContextProvider } from "state/watched/context";
+import { BookmarkContextProvider } from "state/bookmark";
+import { WatchedContextProvider } from "state/watched";
import "./index.css";
-import { MovieView } from "./views/MovieView";
+import { MediaView } from "./views/MediaView";
import { SearchView } from "./views/SearchView";
-import { SeriesView } from "./views/SeriesView";
function App() {
return (
+ {props.content.map((item, index) => ( + + {index !== 0 ? ( + ● + ) : null} + {item} + + ))} +
+ ); +} diff --git a/src/components/layout/BrandPill.tsx b/src/components/layout/BrandPill.tsx index e71c3f92..d51e5104 100644 --- a/src/components/layout/BrandPill.tsx +++ b/src/components/layout/BrandPill.tsx @@ -5,7 +5,7 @@ export function BrandPill() { return ({props.icon ? ( diff --git a/src/components/media/EpisodeButton.tsx b/src/components/media/EpisodeButton.tsx new file mode 100644 index 00000000..1c5eccea --- /dev/null +++ b/src/components/media/EpisodeButton.tsx @@ -0,0 +1,18 @@ +export interface EpisodeProps { + progress?: number; + episodeNumber: number; +} + +export function Episode(props: EpisodeProps) { + return ( +
- {props.content.map((item, index) => ( - - {index !== 0 ? ( - ● - ) : null} - {item} - - ))} -
- ); -} - function MediaCardContent({ media, linkable, @@ -68,7 +50,8 @@ function MediaCardContent({ {/* card content */}Couldn't get your stream
+Getting your stream...
+Series view here
-