diff --git a/.github/workflows/ui-tests.yml b/.github/workflows/ui-tests.yml
index e5d9171b..da26c807 100644
--- a/.github/workflows/ui-tests.yml
+++ b/.github/workflows/ui-tests.yml
@@ -58,7 +58,7 @@ jobs:
echo "127.0.0.1 lms.test" | sudo tee -a /etc/hosts
- name: Cache pip
- uses: actions/cache@v3
+ uses: actions/cache@v4
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('**/*requirements.txt', '**/pyproject.toml', '**/setup.py') }}
diff --git a/cypress/support/commands.js b/cypress/support/commands.js
index ed5c7968..9ed07f0b 100644
--- a/cypress/support/commands.js
+++ b/cypress/support/commands.js
@@ -37,6 +37,7 @@ Cypress.Commands.add("login", (email, password) => {
url: "/api/method/login",
method: "POST",
body: { usr: email, pwd: password },
+ timeout: 60000,
});
});
diff --git a/frontend/src/components/CourseCard.vue b/frontend/src/components/CourseCard.vue
index 1f805d56..d26f5130 100644
--- a/frontend/src/components/CourseCard.vue
+++ b/frontend/src/components/CourseCard.vue
@@ -16,7 +16,8 @@
{{ __('Featured') }}
{{ tag }}
diff --git a/frontend/src/components/Modals/LiveClassModal.vue b/frontend/src/components/Modals/LiveClassModal.vue
index 7d16acb7..7d260776 100644
--- a/frontend/src/components/Modals/LiveClassModal.vue
+++ b/frontend/src/components/Modals/LiveClassModal.vue
@@ -95,8 +95,8 @@ import {
FormControl,
Autocomplete,
} from 'frappe-ui'
-import { reactive, inject } from 'vue'
-import { getTimezones, createToast } from '@/utils/'
+import { reactive, inject, onMounted } from 'vue'
+import { getTimezones, createToast, getUserTimezone } from '@/utils/'
const liveClasses = defineModel('reloadLiveClasses')
const show = defineModel()
@@ -122,6 +122,10 @@ let liveClass = reactive({
host: user.data.name,
})
+onMounted(() => {
+ liveClass.timezone = getUserTimezone()
+})
+
const getTimezoneOptions = () => {
return getTimezones().map((timezone) => {
return {
diff --git a/frontend/src/pages/Courses.vue b/frontend/src/pages/Courses.vue
index e8556db1..4512e820 100644
--- a/frontend/src/pages/Courses.vue
+++ b/frontend/src/pages/Courses.vue
@@ -1,316 +1,325 @@
-
-
+
+
-
-
-
-
-
-
+
+
+
+
+
+
+ {{ __('All Courses') }}
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ class="min-w-40 lg:min-w-0 lg:w-32 xl:w-40"
+ @input="updateCourses()"
+ />
+
+
-
-
-
-
-
-
-
-
- {{ __('No {0} courses').format(tab.label.toLowerCase()) }}
-
-
-
-
-
-
-
-
-
-
-
- {{ __('No courses found') }}
-
-
- {{
- __(
- 'There are no courses available at the moment. Keep an eye out, fresh learning experiences are on the way soon!'
- )
- }}
+
+
+
+
+
+
+
+
+ {{ __('No courses found') }}
+
+
+ {{
+ __(
+ 'There are no courses matching the criteria. Keep an eye out, fresh learning experiences are on the way soon!'
+ )
+ }}
+
+
+
+
+
-