-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Final updates to new Q-Tube 2.0 release
settingsSlice.ts renamed to persistentSlice, it is only used to store persistent data. reset button no longer changes video type from "playlist" to "video". Subscriptions are now stored as list of objects that have the name of the user and the name of the channel that is followed. When the application starts in App.tsx the subscription list is filtered by the user's name, so they only see channels by the name they have subscribed to. Edits to QuickMythril's bounty commits (showing home page stats and publish video form displaying supported codecs) to improve visibility and readability.
- Loading branch information
1 parent
f0b89f0
commit 1a4dc83
Showing
15 changed files
with
564 additions
and
382 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,17 @@ | ||
import ReactDOM from 'react-dom/client' | ||
import App from './App' | ||
import './index.css' | ||
import { BrowserRouter } from 'react-router-dom' | ||
import ReactDOM from "react-dom/client"; | ||
import App from "./App"; | ||
import "./index.css"; | ||
import { BrowserRouter } from "react-router-dom"; | ||
interface CustomWindow extends Window { | ||
_qdnBase: string | ||
_qdnBase: string; | ||
} | ||
|
||
const customWindow = window as unknown as CustomWindow | ||
const customWindow = window as unknown as CustomWindow; | ||
|
||
const baseUrl = customWindow?._qdnBase || '' | ||
ReactDOM.createRoot(document.getElementById('root') as HTMLElement).render( | ||
const baseUrl = customWindow?._qdnBase || ""; | ||
ReactDOM.createRoot(document.getElementById("root") as HTMLElement).render( | ||
<BrowserRouter basename={baseUrl}> | ||
<App /> | ||
<div id="modal-root" /> | ||
</BrowserRouter> | ||
) | ||
); |
Oops, something went wrong.