diff --git a/backend/spielberg/entrypoint/api/routes.py b/backend/spielberg/entrypoint/api/routes.py index d5cca87..a9f4552 100644 --- a/backend/spielberg/entrypoint/api/routes.py +++ b/backend/spielberg/entrypoint/api/routes.py @@ -12,7 +12,7 @@ config_bp = Blueprint("config", __name__, url_prefix="/config") -@agent_bp.route("", methods=["GET"]) +@agent_bp.route("/", methods=["GET"]) def agent(): """ Handle the agent request @@ -23,7 +23,7 @@ def agent(): return chat_handler.agents_list() -@session_bp.route("", methods=["GET"]) +@session_bp.route("/", methods=["GET"]) def get_sessions(): """ Get all the sessions diff --git a/frontend/index.html b/frontend/index.html index 6f99f7b..f6d850b 100644 --- a/frontend/index.html +++ b/frontend/index.html @@ -1,10 +1,10 @@ - + - Chat With Video + Spielberg
diff --git a/frontend/public/favicon.png b/frontend/public/favicon.png index 8871efc..d97dcf2 100644 Binary files a/frontend/public/favicon.png and b/frontend/public/favicon.png differ diff --git a/frontend/public/icons/ai_sparkle.png b/frontend/public/icons/ai_sparkle.png deleted file mode 100644 index 5bc2f0b..0000000 Binary files a/frontend/public/icons/ai_sparkle.png and /dev/null differ diff --git a/frontend/src/components/atoms/Avatar.vue b/frontend/src/components/atoms/Avatar.vue deleted file mode 100644 index 71e8fbe..0000000 --- a/frontend/src/components/atoms/Avatar.vue +++ /dev/null @@ -1,68 +0,0 @@ - - - diff --git a/frontend/src/components/atoms/Button.vue b/frontend/src/components/atoms/Button.vue deleted file mode 100644 index 6a61e3b..0000000 --- a/frontend/src/components/atoms/Button.vue +++ /dev/null @@ -1,62 +0,0 @@ - - - - - diff --git a/frontend/src/components/atoms/IconButton.vue b/frontend/src/components/atoms/IconButton.vue deleted file mode 100644 index 8c5aab3..0000000 --- a/frontend/src/components/atoms/IconButton.vue +++ /dev/null @@ -1,59 +0,0 @@ - - - - - diff --git a/frontend/src/components/atoms/theme.js b/frontend/src/components/atoms/theme.js deleted file mode 100644 index c9aab51..0000000 --- a/frontend/src/components/atoms/theme.js +++ /dev/null @@ -1,32 +0,0 @@ -export const iconbuttonTheme = { - base: `inline-flex items-center justify-center focus:outline-none`, - sizes: { - small: `p-1 rounded-2 text-xl leading-5`, - normal: `p-1 rounded-8 text-xl leading-5`, - large: `p-2 rounded-xl text-2xl leading-5`, - }, - variants: { - normal: `border border-transparent hover:border-kilvish-200 hover:bg-kilvish-200 active:border-kilvish-200 active:bg-kilvish-200 text-kilvish`, - bordered: `border border-kilvish-300 hover:bg-kilvish-200 active:border-kilvish-200 active:bg-kilvish-200 text-kilvish`, - disabled: `border hover:border-kilvish-200 text-kilvish-400 cursor-default`, - active: `border border-kilvish bg-kilvish text-white shadow-key`, - }, - } - - export const buttonTheme = { - base: `inline-flex items-center focus:outline-none font-medium uppercase`, - sizes: { - small: `px-10 py-6 rounded-6 text-captionsm`, - normal: `px-12 py-8 rounded-8 text-xs`, - large: `px-14 py-12 rounded-xl text-base`, - }, - variants: { - primary: `border border-kilvish text-white bg-kilvish hover:border-kilvish-900 hover:bg-kilvish-900 focus:border-kilvish-800 focus:bg-kilvish-800`, - secondary: `text-kilvish border border-kilvish-300 hover:border-kilvish-200 hover:bg-kilvish-200 active:border-kilvish-300 active:bg-kilvish-300`, - success: `border border-green text-white bg-green hover:border-green-600 hover:bg-green-600 focus:border-green-700 focus:bg-green-700`, - disabled: `border border-kilvish-200 text-kilvish-500 bg-kilvish-200 cursor-default`, - }, - } - - export default {} - \ No newline at end of file diff --git a/frontend/src/components/collection/AllVideos.vue b/frontend/src/components/collection/AllVideos.vue deleted file mode 100644 index b7c6df0..0000000 --- a/frontend/src/components/collection/AllVideos.vue +++ /dev/null @@ -1,37 +0,0 @@ - - - \ No newline at end of file diff --git a/frontend/src/components/collection/AllVideosLoader.vue b/frontend/src/components/collection/AllVideosLoader.vue deleted file mode 100644 index fbe0c24..0000000 --- a/frontend/src/components/collection/AllVideosLoader.vue +++ /dev/null @@ -1,22 +0,0 @@ - - - diff --git a/frontend/src/components/collection/CollectionProfile.vue b/frontend/src/components/collection/CollectionProfile.vue deleted file mode 100644 index 54b08e8..0000000 --- a/frontend/src/components/collection/CollectionProfile.vue +++ /dev/null @@ -1,142 +0,0 @@ - - - - - diff --git a/frontend/src/components/collection/CollectionProfileLoading.vue b/frontend/src/components/collection/CollectionProfileLoading.vue deleted file mode 100644 index bd5dbf6..0000000 --- a/frontend/src/components/collection/CollectionProfileLoading.vue +++ /dev/null @@ -1,27 +0,0 @@ - - - diff --git a/frontend/src/components/collection/SearchField.vue b/frontend/src/components/collection/SearchField.vue deleted file mode 100644 index 9660c1a..0000000 --- a/frontend/src/components/collection/SearchField.vue +++ /dev/null @@ -1,107 +0,0 @@ - - - - - diff --git a/frontend/src/components/collection/SearchSuggestions.vue b/frontend/src/components/collection/SearchSuggestions.vue deleted file mode 100644 index 186bbe4..0000000 --- a/frontend/src/components/collection/SearchSuggestions.vue +++ /dev/null @@ -1,57 +0,0 @@ - - - diff --git a/frontend/src/components/icons/CommentLine.vue b/frontend/src/components/icons/CommentLine.vue deleted file mode 100644 index eb01fd8..0000000 --- a/frontend/src/components/icons/CommentLine.vue +++ /dev/null @@ -1,43 +0,0 @@ - - - - - diff --git a/frontend/src/components/icons/LinkIcon.vue b/frontend/src/components/icons/LinkIcon.vue deleted file mode 100644 index 19c7e27..0000000 --- a/frontend/src/components/icons/LinkIcon.vue +++ /dev/null @@ -1,37 +0,0 @@ - - - - - diff --git a/frontend/src/components/icons/Search.vue b/frontend/src/components/icons/Search.vue deleted file mode 100644 index 2e9e39d..0000000 --- a/frontend/src/components/icons/Search.vue +++ /dev/null @@ -1,41 +0,0 @@ - - - - - diff --git a/frontend/src/components/icons/pause.vue b/frontend/src/components/icons/pause.vue deleted file mode 100644 index 3c11486..0000000 --- a/frontend/src/components/icons/pause.vue +++ /dev/null @@ -1,37 +0,0 @@ - - - - - diff --git a/frontend/src/components/icons/play.vue b/frontend/src/components/icons/play.vue deleted file mode 100644 index edcf030..0000000 --- a/frontend/src/components/icons/play.vue +++ /dev/null @@ -1,33 +0,0 @@ - - - - - diff --git a/frontend/src/components/icons/time.vue b/frontend/src/components/icons/time.vue deleted file mode 100644 index 1f2f943..0000000 --- a/frontend/src/components/icons/time.vue +++ /dev/null @@ -1,35 +0,0 @@ - - - - - diff --git a/frontend/src/components/video/AiDropdown.vue b/frontend/src/components/video/AiDropdown.vue deleted file mode 100644 index fd494e2..0000000 --- a/frontend/src/components/video/AiDropdown.vue +++ /dev/null @@ -1,85 +0,0 @@ - - - diff --git a/frontend/src/components/video/MenuButton.vue b/frontend/src/components/video/MenuButton.vue deleted file mode 100644 index 871ffbc..0000000 --- a/frontend/src/components/video/MenuButton.vue +++ /dev/null @@ -1,68 +0,0 @@ - - - - - \ No newline at end of file diff --git a/frontend/src/components/video/VideoCard.vue b/frontend/src/components/video/VideoCard.vue deleted file mode 100644 index 17f0f64..0000000 --- a/frontend/src/components/video/VideoCard.vue +++ /dev/null @@ -1,155 +0,0 @@ - - - - - diff --git a/frontend/src/components/video/VideoCardLoader.vue b/frontend/src/components/video/VideoCardLoader.vue deleted file mode 100644 index 2b0ed27..0000000 --- a/frontend/src/components/video/VideoCardLoader.vue +++ /dev/null @@ -1,44 +0,0 @@ - - - diff --git a/frontend/src/components/video/VideoDetails.vue b/frontend/src/components/video/VideoDetails.vue deleted file mode 100644 index a88dce9..0000000 --- a/frontend/src/components/video/VideoDetails.vue +++ /dev/null @@ -1,111 +0,0 @@ - - - diff --git a/frontend/src/components/video/VideoMenu.vue b/frontend/src/components/video/VideoMenu.vue deleted file mode 100644 index 339ea46..0000000 --- a/frontend/src/components/video/VideoMenu.vue +++ /dev/null @@ -1,161 +0,0 @@ - - - - - diff --git a/frontend/src/data/collection/searchSuggestions.json b/frontend/src/data/collection/searchSuggestions.json deleted file mode 100644 index d7ff3a5..0000000 --- a/frontend/src/data/collection/searchSuggestions.json +++ /dev/null @@ -1,8 +0,0 @@ -[ - { - "text": "upload this video: https://www.youtube.com/watch?v=tInObFeXRMU" - }, - { - "text": "generate thumbnail at 5s for recently uploaded video" - } -] \ No newline at end of file diff --git a/frontend/src/data/video/chatSuggestions.json b/frontend/src/data/video/chatSuggestions.json deleted file mode 100644 index d63d4af..0000000 --- a/frontend/src/data/video/chatSuggestions.json +++ /dev/null @@ -1,8 +0,0 @@ -[ - { - "text": "Generate thumbnail at 15s" - }, - { - "text": "Generate thumbnail at 30s" - } -] \ No newline at end of file diff --git a/frontend/src/data/video/searchResults.json b/frontend/src/data/video/searchResults.json deleted file mode 100644 index 119bc80..0000000 --- a/frontend/src/data/video/searchResults.json +++ /dev/null @@ -1,32 +0,0 @@ -{ - "hits": [ - { - "id": "1", - "start": 100, - "end": 200, - "text": "This is the summary of Chapter 1", - "type": "relevant" - }, - { - "id": "2", - "start": 120, - "end": 200, - "text": "This is the summary of Chapter 2", - "type": "exact" - }, - { - "id": "3", - "start": 210, - "end": 255, - "text": "This is the summary of Chapter 3", - "type": "relevant" - }, - { - "id": "4", - "start": 300, - "end": 302, - "text": "This is the summary of Chapter 4", - "type": "relevant" - } - ] -} \ No newline at end of file diff --git a/frontend/src/data/video/searchSuggestions.json b/frontend/src/data/video/searchSuggestions.json deleted file mode 100644 index d63d4af..0000000 --- a/frontend/src/data/video/searchSuggestions.json +++ /dev/null @@ -1,8 +0,0 @@ -[ - { - "text": "Generate thumbnail at 15s" - }, - { - "text": "Generate thumbnail at 30s" - } -] \ No newline at end of file diff --git a/frontend/src/router/index.js b/frontend/src/router/index.js index a1c7762..78bac06 100644 --- a/frontend/src/router/index.js +++ b/frontend/src/router/index.js @@ -1,27 +1,11 @@ -import { createRouter, createWebHistory } from 'vue-router'; -import Collection from '../views/Collection.vue'; -import Video from '../views/Video.vue'; +import { createRouter, createWebHistory } from "vue-router"; +import DefaultView from "../views/DefaultView.vue"; const routes = [ { - path: '/:collectionId', - name: 'Collection', - component: Collection, - }, - { - path: '/:collectionId/video/:videoId', - name: 'Video', - component: Video, - }, - { - path: '/default', - name: 'Default', - component: Collection, - }, - { - path: '/', - name: 'Default-2', - component: Collection, + path: "/", + name: "Default", + component: DefaultView, }, ]; diff --git a/frontend/src/views/Collection.vue b/frontend/src/views/Collection.vue deleted file mode 100644 index 3118793..0000000 --- a/frontend/src/views/Collection.vue +++ /dev/null @@ -1,139 +0,0 @@ - - - - - diff --git a/frontend/src/views/DefaultView.vue b/frontend/src/views/DefaultView.vue new file mode 100644 index 0000000..5a38803 --- /dev/null +++ b/frontend/src/views/DefaultView.vue @@ -0,0 +1,69 @@ + + + + + diff --git a/frontend/src/views/Video.vue b/frontend/src/views/Video.vue deleted file mode 100644 index 16e4e4c..0000000 --- a/frontend/src/views/Video.vue +++ /dev/null @@ -1,281 +0,0 @@ - - - - - \ No newline at end of file