Skip to content

Commit

Permalink
chore: Bump version number to v4.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
itsmartashub committed Aug 29, 2024
1 parent 897e0b4 commit c67a512
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 48 deletions.
2 changes: 1 addition & 1 deletion src/manifests/chromium-mv3/manifest.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
2 changes: 1 addition & 1 deletion src/manifests/firefox-mv2/manifest.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
19 changes: 10 additions & 9 deletions src/popup/popup.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,23 +4,24 @@ import { EXT_CURRENT_VERSION, CHANGELOG_URL } from '../js/app/config'
const seeFullChangelog = (version) =>
`<a href="https://github.com/itsmartashub/GPThemes/releases/tag/v${version}" target="_blank" rel="noopener noreferrer" class="changelog__seefullchangelog">🚀 See full release notes</a>`

// <a href="https://github.com/itsmartashub/GPThemes/issues/42">#42</a>

let htmlChangesList = `
<h2>🛠️ Improvements</h2>
<ul>
<li>
<strong>Enhanced DALLE UI</strong>: Streamlined the image generation experience with a redesigned prompt preview layout and DALLE prompt sidebar. Restyled DALLE image hover buttons to match the GPThemes.
</li>
<li>Redesigned example button cards in new chat layout</li>
<li>Revamped <strong>"Upgrade Your Plan"</strong> dialog (<a href="https://github.com/itsmartashub/GPThemes/issues/44">#44</a>)</li>
<li>Adjusted gap for the new chat button from other link in sidebar</li>
<li>Enhanced <strong>"Create Link"</strong> button style in <strong>"Share Link"</strong> dialogs</li>
</ul>
<h2>🐛 Bug Fixes</h2>
<ul>
<li>
<strong>Assistant Chat Bubble Background (
<a href="https://github.com/itsmartashub/GPThemes/issues/42">#42</a>)</strong>: Fixed an issue where the assistant's chat
bubble background was not visible due to recent ChatGPT changes, improving readability and visual
clarity.
</li>
<li>Improved user chat edit state design (<a href="https://github.com/itsmartashub/GPThemes/issues/43">#43</a>)</li>
<li>Fixed chat bubble background flash in new chats (<a href="https://github.com/itsmartashub/GPThemes/issues/46">#46</a>)</li>
<li>Restored visibility of menu separators</li>
<li>Enhanced active tag appearance in feedback dialog</li>
</ul>
Expand Down
38 changes: 1 addition & 37 deletions src/sass/elements/_right--main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand All @@ -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'] {

Expand All @@ -87,8 +57,6 @@ main [data-testid^='conversation-turn-'] {
svg {
color: var(--c-on-accent) !important;
}

// background-color: hsla(var(--accent-hsl) / 0.18);
}
}

Expand Down Expand Up @@ -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);
Expand All @@ -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'] {
Expand Down Expand Up @@ -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 {
Expand Down

0 comments on commit c67a512

Please sign in to comment.