mirror of
https://github.com/BetterSEQTA/BetterSEQTA-Plus.git
synced 2026-06-06 03:34:40 +00:00
feat: bump to 3.5.0 and minor fixes
This commit is contained in:
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "betterseqtaplus",
|
"name": "betterseqtaplus",
|
||||||
"version": "3.4.16",
|
"version": "3.5.0",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"description": "Enhance SEQTA Learn's usability and aesthetics! A fork of BetterSEQTA to continue development add add heaps more features!",
|
"description": "Enhance SEQTA Learn's usability and aesthetics! A fork of BetterSEQTA to continue development add add heaps more features!",
|
||||||
"browserslist": "> 0.5%, last 2 versions, not dead",
|
"browserslist": "> 0.5%, last 2 versions, not dead",
|
||||||
|
|||||||
@@ -447,6 +447,7 @@ ul.magicDelete > li.deleting {
|
|||||||
background: var(--better-main) !important;
|
background: var(--better-main) !important;
|
||||||
color: var(--text-color);
|
color: var(--text-color);
|
||||||
border-right: none;
|
border-right: none;
|
||||||
|
transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
|
||||||
}
|
}
|
||||||
#menu li > label > svg,
|
#menu li > label > svg,
|
||||||
#menu section > label > svg {
|
#menu section > label > svg {
|
||||||
@@ -459,9 +460,7 @@ ul.magicDelete > li.deleting {
|
|||||||
body.icon-only-sidebar:not(:has(#menu li.hasChildren.active)) {
|
body.icon-only-sidebar:not(:has(#menu li.hasChildren.active)) {
|
||||||
#menu {
|
#menu {
|
||||||
width: 70px !important;
|
width: 70px !important;
|
||||||
min-width: 70px !important;
|
transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
|
||||||
max-width: 70px !important;
|
|
||||||
transition: width 0.2s ease;
|
|
||||||
overflow: hidden !important;
|
overflow: hidden !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -472,6 +471,12 @@ body.icon-only-sidebar:not(:has(#menu li.hasChildren.active)) {
|
|||||||
|
|
||||||
#content {
|
#content {
|
||||||
left: 70px !important;
|
left: 70px !important;
|
||||||
|
transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
|
||||||
|
}
|
||||||
|
|
||||||
|
#menu .sub {
|
||||||
|
left: 70px !important;
|
||||||
|
transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
#menu li > label span,
|
#menu li > label span,
|
||||||
@@ -483,10 +488,6 @@ body.icon-only-sidebar:not(:has(#menu li.hasChildren.active)) {
|
|||||||
display: none !important;
|
display: none !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
#menu .sub {
|
|
||||||
left: 70px !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
#menu ul li,
|
#menu ul li,
|
||||||
#menu ul section {
|
#menu ul section {
|
||||||
width: 100% !important;
|
width: 100% !important;
|
||||||
@@ -934,7 +935,7 @@ html.transparencyEffects
|
|||||||
}
|
}
|
||||||
|
|
||||||
#content {
|
#content {
|
||||||
transition: 0.4s;
|
transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1), transform 0.4s ease;
|
||||||
left: 270px;
|
left: 270px;
|
||||||
background: unset;
|
background: unset;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -35,7 +35,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
#menu .sub {
|
#menu .sub {
|
||||||
transition: transform 0.3s ease;
|
transition: transform 0.3s ease, left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
#menu > ul:has(li.hasChildren.active) > li.active {
|
#menu > ul:has(li.hasChildren.active) > li.active {
|
||||||
|
|||||||
@@ -29,9 +29,13 @@
|
|||||||
|
|
||||||
// Function to get related themes
|
// Function to get related themes
|
||||||
function getRelatedThemes() {
|
function getRelatedThemes() {
|
||||||
|
if (!theme) return [];
|
||||||
return allThemes
|
return allThemes
|
||||||
.filter((t: Theme) => t.id !== theme.id)
|
.filter((t: Theme) => !!t && t.id !== theme.id)
|
||||||
.sort((a: Theme, b: Theme) => a.name.localeCompare(theme.name) - b.name.localeCompare(theme.name))
|
.sort(
|
||||||
|
(a: Theme, b: Theme) =>
|
||||||
|
a.name.localeCompare(theme.name) - b.name.localeCompare(theme.name),
|
||||||
|
)
|
||||||
.slice(0, 4);
|
.slice(0, 4);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -84,6 +88,7 @@
|
|||||||
onclick={(e) => e.stopPropagation()}
|
onclick={(e) => e.stopPropagation()}
|
||||||
onkeydown={(e) => e.stopPropagation()}
|
onkeydown={(e) => e.stopPropagation()}
|
||||||
>
|
>
|
||||||
|
{#if theme}
|
||||||
<div class="relative h-auto">
|
<div class="relative h-auto">
|
||||||
<div class="absolute top-0 right-0 flex gap-1 items-center">
|
<div class="absolute top-0 right-0 flex gap-1 items-center">
|
||||||
<button class="p-2 text-xl font-bold text-gray-600 font-IconFamily dark:text-gray-200" onclick={() => hideModal()}>
|
<button class="p-2 text-xl font-bold text-gray-600 font-IconFamily dark:text-gray-200" onclick={() => hideModal()}>
|
||||||
@@ -166,6 +171,13 @@
|
|||||||
{/each}
|
{/each}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
{:else}
|
||||||
|
<div class="flex justify-center items-center h-full text-zinc-600 dark:text-zinc-300">
|
||||||
|
<button class="px-4 py-2 rounded-lg bg-zinc-200 dark:bg-zinc-700 transition-all duration-200 hover:scale-105 active:scale-95" onclick={() => hideModal()}>
|
||||||
|
Close
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
|
{/if}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|||||||
Binary file not shown.
@@ -32,6 +32,17 @@ export function OpenWhatsNewPopup() {
|
|||||||
const text = stringToHTML(/* html */ `
|
const text = stringToHTML(/* html */ `
|
||||||
<div class="whatsnewTextContainer" style="height: 50%;overflow-y: auto;">
|
<div class="whatsnewTextContainer" style="height: 50%;overflow-y: auto;">
|
||||||
|
|
||||||
|
<h1>3.5.0 - Adaptive Theme, Timetable Editor & More</h1>
|
||||||
|
<li>Added adaptive theme colour — theme changes based on the current class when viewing courses or assessments</li>
|
||||||
|
<li>Added optional soft gradient for adaptive theme when viewing a class</li>
|
||||||
|
<li>Added timetable editor — edit rooms and teachers directly from the timetable with apply-to-future-weeks option</li>
|
||||||
|
<li>Added icon-only sidebar option for a compact layout</li>
|
||||||
|
<li>Fixed assessment colouring issues</li>
|
||||||
|
<li>Added new kanban categories to the assessments overview</li>
|
||||||
|
<li>Added DesQTA QR code generation in settings for linking to the DesQTA (BetterSEQTA) mobile app</li>
|
||||||
|
<li>New store with improved theme browsing and backgrounds</li>
|
||||||
|
<li>Other minor bug fixes and improvements</li>
|
||||||
|
|
||||||
<h1>3.4.16 - Subject Averages Fixes</h1>
|
<h1>3.4.16 - Subject Averages Fixes</h1>
|
||||||
<li>Fixed subject averages not showing correctly with letter grades and weighted marks</li>
|
<li>Fixed subject averages not showing correctly with letter grades and weighted marks</li>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user