Compare commits

..

No commits in common. "1382699dda07f4a2eb0de9a83d95191892027473" and "5263b1db5f5add77807ed9937556deef58998563" have entirely different histories.

5 changed files with 41 additions and 38 deletions

7
.idea/jsLibraryMappings.xml generated Normal file
View file

@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="JavaScriptLibraryMappings">
<file url="file://$PROJECT_DIR$/src" libraries="{web/src/node_modules}" />
<file url="PROJECT" libraries="{@types/tailwindcss, web/src/node_modules}" />
</component>
</project>

64
.idea/workspace.xml generated
View file

@ -5,11 +5,9 @@
</component> </component>
<component name="ChangeListManager"> <component name="ChangeListManager">
<list default="true" id="5e320804-68c9-4504-97d5-d421de3438b2" name="Changes" comment=""> <list default="true" id="5e320804-68c9-4504-97d5-d421de3438b2" name="Changes" comment="">
<change beforePath="$PROJECT_DIR$/.idea/jsLibraryMappings.xml" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" /> <change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/nuxt.config.ts" beforeDir="false" afterPath="$PROJECT_DIR$/src/nuxt.config.ts" afterDir="false" /> <change beforePath="$PROJECT_DIR$/src/components/modal-content/ShowMovie.vue" beforeDir="false" afterPath="$PROJECT_DIR$/src/components/modal-content/ShowMovie.vue" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/pages/lists/[id].vue" beforeDir="false" afterPath="$PROJECT_DIR$/src/pages/lists/[id].vue" afterDir="false" /> <change beforePath="$PROJECT_DIR$/src/pages/lists/[id].vue" beforeDir="false" afterPath="$PROJECT_DIR$/src/pages/lists/[id].vue" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/types/movie.ts" beforeDir="false" afterPath="$PROJECT_DIR$/src/types/movie.ts" afterDir="false" />
</list> </list>
<option name="SHOW_DIALOG" value="false" /> <option name="SHOW_DIALOG" value="false" />
<option name="HIGHLIGHT_CONFLICTS" value="true" /> <option name="HIGHLIGHT_CONFLICTS" value="true" />
@ -59,37 +57,36 @@
<option name="hideEmptyMiddlePackages" value="true" /> <option name="hideEmptyMiddlePackages" value="true" />
<option name="showLibraryContents" value="true" /> <option name="showLibraryContents" value="true" />
</component> </component>
<component name="PropertiesComponent"><![CDATA[{ <component name="PropertiesComponent">{
"keyToString": { &quot;keyToString&quot;: {
"RunOnceActivity.OpenProjectViewOnStart": "true", &quot;RunOnceActivity.OpenProjectViewOnStart&quot;: &quot;true&quot;,
"RunOnceActivity.ShowReadmeOnStart": "true", &quot;RunOnceActivity.ShowReadmeOnStart&quot;: &quot;true&quot;,
"RunOnceActivity.git.unshallow": "true", &quot;RunOnceActivity.git.unshallow&quot;: &quot;true&quot;,
"WebServerToolWindowFactoryState": "false", &quot;WebServerToolWindowFactoryState&quot;: &quot;false&quot;,
"code.cleanup.on.save": "true", &quot;code.cleanup.on.save&quot;: &quot;true&quot;,
"git-widget-placeholder": "main", &quot;git-widget-placeholder&quot;: &quot;main&quot;,
"junie.onboarding.icon.badge.shown": "true", &quot;last_opened_file_path&quot;: &quot;/home/tiradoe/Projects/movie-night/web/src/types&quot;,
"last_opened_file_path": "/home/tiradoe/Projects/MovieNight/movie-night-web", &quot;list.type.of.created.stylesheet&quot;: &quot;CSS&quot;,
"list.type.of.created.stylesheet": "CSS", &quot;node.js.detected.package.eslint&quot;: &quot;true&quot;,
"node.js.detected.package.eslint": "true", &quot;node.js.detected.package.standard&quot;: &quot;true&quot;,
"node.js.detected.package.standard": "true", &quot;node.js.detected.package.tslint&quot;: &quot;true&quot;,
"node.js.detected.package.tslint": "true", &quot;node.js.selected.package.eslint&quot;: &quot;(autodetect)&quot;,
"node.js.selected.package.eslint": "(autodetect)", &quot;node.js.selected.package.standard&quot;: &quot;&quot;,
"node.js.selected.package.standard": "", &quot;node.js.selected.package.tslint&quot;: &quot;(autodetect)&quot;,
"node.js.selected.package.tslint": "(autodetect)", &quot;nodejs_package_manager_path&quot;: &quot;npm&quot;,
"nodejs_package_manager_path": "npm", &quot;npm.dev.executor&quot;: &quot;Run&quot;,
"npm.dev.executor": "Run", &quot;prettierjs.PrettierConfiguration.Package&quot;: &quot;/home/tiradoe/Projects/movie-night/web/src/node_modules/prettier&quot;,
"prettierjs.PrettierConfiguration.Package": "/home/tiradoe/Projects/movie-night/web/src/node_modules/prettier", &quot;rearrange.code.on.save&quot;: &quot;true&quot;,
"rearrange.code.on.save": "true", &quot;settings.editor.selected.configurable&quot;: &quot;configurable.group.editor&quot;,
"settings.editor.selected.configurable": "configurable.group.editor", &quot;ts.external.directory.path&quot;: &quot;/home/tiradoe/Projects/movie-night/web/src/node_modules/typescript/lib&quot;,
"ts.external.directory.path": "/home/tiradoe/Projects/MovieNight/movie-night-web/src/node_modules/typescript/lib", &quot;vue.rearranger.settings.migration&quot;: &quot;true&quot;
"vue.rearranger.settings.migration": "true"
}, },
"keyToStringList": { &quot;keyToStringList&quot;: {
"vue.recent.templates": [ &quot;vue.recent.templates&quot;: [
"Vue Composition API Component" &quot;Vue Composition API Component&quot;
] ]
} }
}]]></component> }</component>
<component name="RecentsManager"> <component name="RecentsManager">
<key name="CopyFile.RECENT_KEYS"> <key name="CopyFile.RECENT_KEYS">
<recent name="$PROJECT_DIR$/src/types" /> <recent name="$PROJECT_DIR$/src/types" />
@ -117,8 +114,8 @@
<component name="SharedIndexes"> <component name="SharedIndexes">
<attachedChunks> <attachedChunks>
<set> <set>
<option value="bundled-js-predefined-d6986cc7102b-6a121458b545-JavaScript-PS-251.25410.148" /> <option value="bundled-js-predefined-d6986cc7102b-f27c65a3e318-JavaScript-PS-251.23774.436" />
<option value="bundled-php-predefined-a98d8de5180a-c5828cf854d9-com.jetbrains.php.sharedIndexes-PS-251.25410.148" /> <option value="bundled-php-predefined-a98d8de5180a-aaeaa8632555-com.jetbrains.php.sharedIndexes-PS-251.23774.436" />
</set> </set>
</attachedChunks> </attachedChunks>
</component> </component>
@ -146,7 +143,6 @@
<workItem from="1745366380362" duration="223000" /> <workItem from="1745366380362" duration="223000" />
<workItem from="1745366610986" duration="319000" /> <workItem from="1745366610986" duration="319000" />
<workItem from="1745366940811" duration="4297000" /> <workItem from="1745366940811" duration="4297000" />
<workItem from="1748541588253" duration="2587000" />
</task> </task>
<servers /> <servers />
</component> </component>

View file

@ -24,7 +24,7 @@ export default defineNuxtConfig({
runtimeConfig: { runtimeConfig: {
public: { public: {
apiURL: process.env.API_URL || "http://localhost:8000/v1", apiURL: process.env.API_URL || "http://localhost:8000/api",
}, },
}, },

View file

@ -120,9 +120,9 @@ const getList = async function (list_id: number) {
}; };
const hideScheduled = function () { const hideScheduled = function () {
if (hide_scheduled.value && movies.value.length > 0) { if (hide_scheduled && movies.value.length > 0) {
let filtered = movies.value.filter((movie) => { let filtered = movies.value.filter((movie) => {
return !movie.has_been_scheduled; return movie.last_watched === null;
}); });
if (typeof filtered != "undefined") { if (typeof filtered != "undefined") {
filtered_movies.value = filtered; filtered_movies.value = filtered;

View file

@ -10,5 +10,5 @@ export type Movie = {
actors: string; actors: string;
plot: string; plot: string;
poster: string; poster: string;
has_been_scheduled: boolean; last_watched: string;
}; };