Browse Source

refac: styling

Timothy J. Baek 1 year ago
parent
commit
0ae8d17931
2 changed files with 19 additions and 21 deletions
  1. 4 12
      CHANGELOG.md
  2. 15 9
      src/lib/components/ChangelogModal.svelte

+ 4 - 12
CHANGELOG.md

@@ -14,20 +14,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
 - **🤖 Change embedding model**: Change the embedding model used to generate embeddings for your chats in the Dockerfile. Use any sentence transformer model from huggingface.co.
 - **🤖 Change embedding model**: Change the embedding model used to generate embeddings for your chats in the Dockerfile. Use any sentence transformer model from huggingface.co.
 - **📢 CHANGELOG.md/Popup**: This popup will show you the latest changes. You can edit it in the constants.ts file.
 - **📢 CHANGELOG.md/Popup**: This popup will show you the latest changes. You can edit it in the constants.ts file.
 
 
+## [0.1.101] - 2024-02-22
+
 ### Fixed
 ### Fixed
 
 
-- X, Y, and Z
+- LaTex output formatting issue (#828)
 
 
 ### Changed
 ### Changed
 
 
-- X, Y, and Z
-
-### Removed
-
-- X, Y, and Z
-
-## [0.1.101] - 2024-02-21
-
-### Added
-
-- X, Y, and Z
+- Instead of having the previous 1.0.0-alpha.101, we switched to semantic versioning as a way to respect global conventions.

+ 15 - 9
src/lib/components/ChangelogModal.svelte

@@ -24,7 +24,7 @@
 		<div class="flex justify-between items-start">
 		<div class="flex justify-between items-start">
 			<div class="text-xl font-bold">
 			<div class="text-xl font-bold">
 				What’s New in {WEBUI_NAME}
 				What’s New in {WEBUI_NAME}
-				<!-- <Confetti x={[-1, -0.25]} y={[0, 0.5]} /> -->
+				<Confetti x={[-1, -0.25]} y={[0, 0.5]} />
 			</div>
 			</div>
 			<button
 			<button
 				class="self-center"
 				class="self-center"
@@ -44,39 +44,45 @@
 				</svg>
 				</svg>
 			</button>
 			</button>
 		</div>
 		</div>
-		<div class=" pb-3 flex items-center mt-2">
+		<div class="flex items-center mt-1">
 			<div class="text-sm dark:text-gray-200">Release Notes</div>
 			<div class="text-sm dark:text-gray-200">Release Notes</div>
 			<div class="flex self-center w-[1px] h-6 mx-2.5 bg-gray-200 dark:bg-gray-700" />
 			<div class="flex self-center w-[1px] h-6 mx-2.5 bg-gray-200 dark:bg-gray-700" />
 			<div class="text-sm dark:text-gray-200">
 			<div class="text-sm dark:text-gray-200">
 				v{WEB_UI_VERSION}
 				v{WEB_UI_VERSION}
 			</div>
 			</div>
 		</div>
 		</div>
-		<hr class=" dark:border-gray-800" />
+	</div>
+
+	<hr class=" dark:border-gray-800" />
+
+	<div class=" w-full p-4 px-5">
 		<div class=" overflow-y-scroll max-h-80">
 		<div class=" overflow-y-scroll max-h-80">
-			<div class="my-3">
+			<div class="mb-3">
 				{#if changelog}
 				{#if changelog}
 					{#each Object.keys(changelog) as version}
 					{#each Object.keys(changelog) as version}
 						<div class="font-bold text-xl mb-1">
 						<div class="font-bold text-xl mb-1">
 							v{version} - {changelog[version].date}
 							v{version} - {changelog[version].date}
 						</div>
 						</div>
 
 
+						<hr class=" dark:border-gray-800 my-2" />
+
 						{#each Object.keys(changelog[version]).filter((section) => section !== 'date') as section}
 						{#each Object.keys(changelog[version]).filter((section) => section !== 'date') as section}
 							<div class="">
 							<div class="">
 								<div
 								<div
 									class="font-bold capitalize text-xs {section === 'added'
 									class="font-bold capitalize text-xs {section === 'added'
-										? 'text-white bg-blue-500'
+										? 'text-white bg-blue-600'
 										: section === 'fixed'
 										: section === 'fixed'
-										? 'text-white bg-green-500'
+										? 'text-white bg-green-600'
 										: section === 'changed'
 										: section === 'changed'
-										? 'text-white bg-yellow-500'
+										? 'text-white bg-yellow-600'
 										: section === 'removed'
 										: section === 'removed'
-										? 'text-white bg-red-500'
+										? 'text-white bg-red-600'
 										: ''}  w-fit px-3 rounded-full my-3"
 										: ''}  w-fit px-3 rounded-full my-3"
 								>
 								>
 									{section}
 									{section}
 								</div>
 								</div>
 
 
-								<div class="my-2">
+								<div class="my-1.5 px-1.5">
 									{#each Object.keys(changelog[version][section]) as item}
 									{#each Object.keys(changelog[version][section]) as item}
 										<div class="text-sm mb-2">
 										<div class="text-sm mb-2">
 											<div class="font-semibold">
 											<div class="font-semibold">