Skip to content

Commit 0ca0bb6

Browse files
authored
Merge branch 'master' into publish
2 parents ab957f7 + e13cca2 commit 0ca0bb6

File tree

4 files changed

+144
-205
lines changed

4 files changed

+144
-205
lines changed

CHANGELOG.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
1-
## v0.1.2 - 2025-10-08
1+
## v1.0.6 - 2025-10-08
22

33
## What's Changed
44

5-
* No changes
5+
* feat: Remove Set button from Organization Name field (#244) @Anshumancanrock
6+
* fix: resolve Weblate integration issues with translation key inconsistencies (#243) @Anshumancanrock
7+
* Publish workflow correction (#251) @vedansh-5
8+
* chore: update UI version number to v2.0.1 to match manifest.json (#242) @Mariam-Saeed
69

710
---
811

src/index.css

Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -732,4 +732,75 @@ hr,
732732
.dark-mode #platformDropdownList li[aria-selected="true"] {
733733
background-color: transparent !important;
734734
color: #fff !important;
735+
}
736+
737+
/* Enhanced focus styles for organization input */
738+
#orgInput:focus {
739+
border-color: #3b82f6 !important;
740+
box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1) !important;
741+
background-color: #f8fafc !important;
742+
outline: none;
743+
}
744+
745+
/* Organization input active state (manual highlighting) */
746+
#orgInput.org-input-active {
747+
border-color: #3b82f6 !important;
748+
box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15) !important;
749+
background-color: #f0f9ff !important;
750+
}
751+
752+
.dark-mode #orgInput:focus {
753+
border-color: #3b82f6 !important;
754+
box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1) !important;
755+
background-color: #374151 !important;
756+
}
757+
758+
.dark-mode #orgInput.org-input-active {
759+
border-color: #3b82f6 !important;
760+
box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15) !important;
761+
background-color: #1e3a8a !important;
762+
}
763+
764+
/* Organization validation message styles */
765+
#orgValidationMessage {
766+
transition: all 0.3s ease;
767+
margin-top: -8px;
768+
margin-bottom: 8px;
769+
}
770+
771+
#orgValidationMessage.success {
772+
background-color: #ecfdf5;
773+
border: 1px solid #a7f3d0;
774+
color: #065f46;
775+
}
776+
777+
#orgValidationMessage.error {
778+
background-color: #fef2f2;
779+
border: 1px solid #fca5a5;
780+
color: #dc2626;
781+
}
782+
783+
#orgValidationMessage.warning {
784+
background-color: #fffbeb;
785+
border: 1px solid #fde68a;
786+
color: #d97706;
787+
}
788+
789+
/* Dark mode validation styles */
790+
.dark-mode #orgValidationMessage.success {
791+
background-color: #064e3b;
792+
border-color: #065f46;
793+
color: #a7f3d0;
794+
}
795+
796+
.dark-mode #orgValidationMessage.error {
797+
background-color: #7f1d1d;
798+
border-color: #dc2626;
799+
color: #fca5a5;
800+
}
801+
802+
.dark-mode #orgValidationMessage.warning {
803+
background-color: #78350f;
804+
border-color: #d97706;
805+
color: #fde68a;
735806
}

src/popup.html

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -277,13 +277,13 @@ <h4 class="font-semibold text-xl" data-i18n="noteTitle">Note:</h4>
277277
</span>
278278
</span>
279279
</div>
280-
<div class="flex items-center mt-4 gap-2">
281-
<input id="orgInput" type="text"
282-
class="w-full border-2 border-gray-200 bg-gray-200 rounded-xl text-gray-800 p-2 my-2"
283-
data-i18n-placeholder="settingsOrgNamePlaceholder">
284-
<button id="setOrgBtn" type="button"
285-
class="px-5 py-2 bg-blue-600 hover:bg-blue-700 text-white font-medium rounded-xl text-base my-2 h-[44px] flex-shrink-0"
286-
style="min-width:60px;" data-i18n="setButton">Set</button>
280+
<input id="orgInput" type="text"
281+
class="w-full border-2 border-gray-200 bg-gray-200 rounded-xl text-gray-800 p-2 my-2"
282+
data-i18n-placeholder="settingsOrgNamePlaceholder" style="margin-top: 0.3rem; margin-bottom: 0.8rem;">
283+
284+
<!-- Organization validation feedback -->
285+
<div id="orgValidationMessage" class="hidden text-xs mt-1 mb-2 px-3 py-2 rounded-lg">
286+
<span id="orgValidationText"></span>
287287
</div>
288288
</div>
289289

0 commit comments

Comments
 (0)