diff --git a/cypress/e2e/batch_creation.cy.js b/cypress/e2e/batch_creation.cy.js index 653a70a2..12a50d3a 100644 --- a/cypress/e2e/batch_creation.cy.js +++ b/cypress/e2e/batch_creation.cy.js @@ -128,12 +128,9 @@ describe("Batch Creation", () => { .should("be.visible"); cy.get("span").contains("IST").should("be.visible"); cy.get("a").contains("Evaluator").should("be.visible"); - cy.get("div") - .contains("10") - .should("be.visible") - .get("span") - .contains("Seats Left") - .should("be.visible"); + cy.contains("div:visible", "10 Seats Left").should( + "be.visible" + ); }); cy.get(`a[href='/lms/batches/details/${batchName}'`).click(); }); diff --git a/frontend/src/components/Assignment.vue b/frontend/src/components/Assignment.vue index 32697bd6..356da1bf 100644 --- a/frontend/src/components/Assignment.vue +++ b/frontend/src/components/Assignment.vue @@ -141,7 +141,7 @@ :uploadArgs="{ private: true, }" - editorClass="prose-sm max-w-none border-b border-x bg-surface-gray-2 rounded-b-md py-1 px-2 min-h-[7rem]" + editorClass="prose-sm max-w-none border-b border-x border-outline-gray-modals bg-surface-gray-2 rounded-b-md py-1 px-2 min-h-[7rem]" /> @@ -190,7 +190,7 @@ :uploadArgs="{ private: true, }" - editorClass="prose-sm max-w-none border-b border-x bg-surface-gray-2 rounded-b-md py-1 px-2 min-h-[7rem]" + editorClass="prose-sm max-w-none border-b border-x border-outline-gray-modals bg-surface-gray-2 rounded-b-md py-1 px-2 min-h-[7rem]" /> diff --git a/frontend/src/components/BatchCard.vue b/frontend/src/components/BatchCard.vue index ac619982..d002134e 100644 --- a/frontend/src/components/BatchCard.vue +++ b/frontend/src/components/BatchCard.vue @@ -6,24 +6,26 @@
{{ batch.title }}
-
- {{ batch.seats_left }} - - {{ __('Seats Left') }} - - - {{ __('Seat Left') }} - -
-
+ - {{ __('Sold Out') }} -
+ variant="subtle" + theme="red" + size="md" + class="self-start" + :label="__('Sold Out')" + />
{{ batch.description }}
@@ -70,6 +72,7 @@ diff --git a/frontend/src/components/Sidebar/UserDropdown.vue b/frontend/src/components/Sidebar/UserDropdown.vue index 99d037be..1daef339 100644 --- a/frontend/src/components/Sidebar/UserDropdown.vue +++ b/frontend/src/components/Sidebar/UserDropdown.vue @@ -85,7 +85,6 @@ import { User, Settings, Sun, - Wrench, Zap, } from 'lucide-vue-next' @@ -171,13 +170,7 @@ const userDropdownOptions = computed(() => { }, }, { - label: 'Configuration', - icon: Wrench, - submenu: [ - { - component: markRaw(Configuration), - }, - ], + component: markRaw(Configuration), condition: () => { return userResource.data?.is_moderator }, diff --git a/frontend/src/pages/BatchForm.vue b/frontend/src/pages/BatchForm.vue index 96bc9c6d..6ee78ea7 100644 --- a/frontend/src/pages/BatchForm.vue +++ b/frontend/src/pages/BatchForm.vue @@ -138,7 +138,7 @@ @change="(val) => (batch.batch_details = val)" :editable="true" :fixedMenu="true" - editorClass="prose-sm max-w-none border-b border-x bg-surface-gray-2 rounded-b-md py-1 px-2 min-h-[7rem] max-h-[20rem] overflow-y-scroll mb-4" + editorClass="prose-sm max-w-none border-b border-x border-outline-gray-modals bg-surface-gray-2 rounded-b-md py-1 px-2 min-h-[7rem] max-h-[20rem] overflow-y-scroll mb-4" /> diff --git a/frontend/src/pages/Courses/CourseDashboard.vue b/frontend/src/pages/Courses/CourseDashboard.vue index a2c96dbe..3354a410 100644 --- a/frontend/src/pages/Courses/CourseDashboard.vue +++ b/frontend/src/pages/Courses/CourseDashboard.vue @@ -1,6 +1,6 @@