From c67a512164c4ede0f6c49c62d3357177fe675846 Mon Sep 17 00:00:00 2001 From: itsmartashub <44645238+itsmartashub@users.noreply.github.com> Date: Thu, 29 Aug 2024 18:53:23 +0200 Subject: [PATCH] chore: Bump version number to `v4.0.2` --- src/manifests/chromium-mv3/manifest.json | 2 +- src/manifests/firefox-mv2/manifest.json | 2 +- src/popup/popup.js | 19 ++++++------ src/sass/elements/_right--main.scss | 38 +----------------------- 4 files changed, 13 insertions(+), 48 deletions(-) diff --git a/src/manifests/chromium-mv3/manifest.json b/src/manifests/chromium-mv3/manifest.json index 7c0fd82..13054ff 100644 --- a/src/manifests/chromium-mv3/manifest.json +++ b/src/manifests/chromium-mv3/manifest.json @@ -1,6 +1,6 @@ { "manifest_version": 3, - "version": "4.0.1", + "version": "4.0.2", "name": "GPThemes - ChatGPT Customization", "description": "Transform ChatGPT's user interface with customisable accent colour, font styles and chats width, modern designs and chat bubbles.", "author": "itsmarta", diff --git a/src/manifests/firefox-mv2/manifest.json b/src/manifests/firefox-mv2/manifest.json index 41faf19..3e71df2 100644 --- a/src/manifests/firefox-mv2/manifest.json +++ b/src/manifests/firefox-mv2/manifest.json @@ -1,6 +1,6 @@ { "manifest_version": 2, - "version": "4.0.1", + "version": "4.0.2", "name": "GPThemes - ChatGPT Customization", "description": "Transform ChatGPT's user interface with customisable accent colour, font styles and chats width, modern designs and chat bubbles.", "author": "itsmarta", diff --git a/src/popup/popup.js b/src/popup/popup.js index 1e0e0e8..64df761 100644 --- a/src/popup/popup.js +++ b/src/popup/popup.js @@ -4,23 +4,24 @@ import { EXT_CURRENT_VERSION, CHANGELOG_URL } from '../js/app/config' const seeFullChangelog = (version) => `🚀 See full release notes` +// #42 + let htmlChangesList = `

🛠️ Improvements

🐛 Bug Fixes

diff --git a/src/sass/elements/_right--main.scss b/src/sass/elements/_right--main.scss index 8f37513..8625dac 100644 --- a/src/sass/elements/_right--main.scss +++ b/src/sass/elements/_right--main.scss @@ -29,14 +29,6 @@ main [role='presentation'] { } } -/* === RIGHT - Chats - Gap from heading and svg icons ===*/ -// main [data-message-author-role='user'], -// main [data-message-author-role='assistant'] { -// margin-top: var(--mt-chat-txt) !important; -// margin-bottom: var(--mb-chat-txt) !important; -// } - - /* @ === RIGHT - CHATS BUBBLES ===*/ main [data-testid^='conversation-turn-'] { /* Edit icon in user chat for example. Edit state user chat bg */ @@ -48,28 +40,6 @@ main [data-testid^='conversation-turn-'] { max-width: var(--w_chat_gpt) !important; } - // TODO proveriti ovo sve kad ima #prompt-textarea i kad nema (tipa u shared link layout-u) - /* .px-3.text-base.m-auto { - padding-left: var(--px-chat-bubble-edge-gap) !important; - padding-right: var(--px-chat-bubble-edge-gap) !important; - } */ - - /* Horizontal gap from chat bubble to screen-edge */ - & > div { - // padding-left: var(--px-chat-bubble-edge-gap); - // padding-right: var(--px-chat-bubble-edge-gap); - - /* Original is px-4 or 1rem */ - // @include dev('sm') { - // padding-left: 0.45rem; - // padding-right: 0.45rem; - // } - } - - /* RIGHT - CHATS BUBBLES DIV */ - // & > div:first-child > div:first-child { - // } - /* Chat bubble footer SVG icons - edit, read aloud, copy, regenerate, bad response */ [class*='empty:hidden'] { @@ -87,8 +57,6 @@ main [data-testid^='conversation-turn-'] { svg { color: var(--c-on-accent) !important; } - - // background-color: hsla(var(--accent-hsl) / 0.18); } } @@ -146,10 +114,7 @@ main [data-testid^='conversation-turn-'] { &:has([data-message-author-role='user']) { line-height: calc(var(--lineHeight) / 16) !important; - - /* RIGHT - CHATS BUBBLE BG */ - // & > div:first-child > div:first-child { /* ? gpt4o - User message */ [class*='bg-[#f4f4f4]'] { background-color: var(--c-bg-msg-user); @@ -161,7 +126,6 @@ main [data-testid^='conversation-turn-'] { max-width: var(--w_chat_user) !important; } - // } /* Flex-end the Reply in user chat bubble */ [data-message-author-role='user'] { @@ -230,11 +194,11 @@ main [data-testid^='conversation-turn-'] { padding: var(--p-chat-bubble) !important; border: 1px solid hsla(var(--accent-hsl) / 0.2); caret-color: var(--c-accent); - @extend %animFadeIn; } div:has(>.grid > textarea) { border: none !important; + @extend %animFadeIn; /* Make the text in edit textarea to be the full-width */ textarea {