Skip to content

Commit 7dc4895

Browse files
committed
yaml
1 parent 3188c3f commit 7dc4895

File tree

9 files changed

+36
-9
lines changed

9 files changed

+36
-9
lines changed

.github/workflows/build-macos.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ on:
66
- 'v*'
77
branches:
88
- main
9+
- feature
910
workflow_dispatch:
1011

1112
jobs:

.github/workflows/build-windows.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ on:
66
- 'v*'
77
branches:
88
- main
9+
- feature
910
workflow_dispatch:
1011

1112
jobs:

.github/workflows/compliance-check.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ name: Compliance Check
22

33
on:
44
push:
5-
branches: [main, ship_v1.0, v1]
5+
branches: [main, ship_v1.0, v1, feature]
66
pull_request:
7-
branches: [main, ship_v1.0, v1]
7+
branches: [main, ship_v1.0, v1, feature]
88
schedule:
99
- cron: '0 0 * * 0' # weekly
1010

.github/workflows/docs-check.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@ name: Docs Check
33

44
on:
55
push:
6-
branches: ['main', 'main_deprecated']
6+
branches: ['main', 'main_deprecated', 'feature']
77
paths: ['docs/**', '.github/**', '.lycheeignore']
88
pull_request:
9-
branches: ['main', 'main_deprecated']
9+
branches: ['main', 'main_deprecated', 'feature']
1010
paths: ['docs/**', '.github/**', '.lycheeignore']
1111

1212
jobs:

.github/workflows/license-compliance.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ name: License Compliance
22

33
on:
44
push:
5-
branches: [main, ship_v1.0, v1]
5+
branches: [main, ship_v1.0, v1, feature]
66
pull_request:
7-
branches: [main, ship_v1.0, v1]
7+
branches: [main, ship_v1.0, v1, feature]
88
schedule:
99
- cron: '0 0 * * 0' # weekly
1010

.github/workflows/release-gates.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ on:
44
push:
55
branches:
66
- main
7+
- feature
78
workflow_dispatch:
89

910
jobs:

.github/workflows/security-scan.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ name: Security Scan
22

33
on:
44
push:
5-
branches: [main, main_deprecated, ship_v1.0, v1]
5+
branches: [main, main_deprecated, ship_v1.0, v1, feature]
66
pull_request:
7-
branches: [main, main_deprecated, ship_v1.0, v1]
7+
branches: [main, main_deprecated, ship_v1.0, v1, feature]
88
schedule:
99
- cron: '0 0 * * 0' # weekly
1010

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Test
22

33
on:
44
push:
5-
branches: ['main', 'main_deprecated', 'phase_*']
5+
branches: ['main', 'main_deprecated', 'phase_*', 'feature']
66

77
jobs:
88
test:

src/cuepoint/ui/dialogs/sync_tags_dialog.py

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@
1919
QVBoxLayout,
2020
)
2121

22+
from cuepoint.ui.widgets.styles import Colors
23+
2224
_SETTINGS_GROUP = "SyncWithRekordbox"
2325
_KEY_FORMAT = "key_format"
2426
_WRITE_KEY = "write_key"
@@ -101,16 +103,19 @@ class SyncTagsDialog(QDialog):
101103

102104
def __init__(self, parent=None):
103105
super().__init__(parent)
106+
self.setObjectName("syncTagsDialog")
104107
self.setWindowTitle("Sync with Rekordbox")
105108
self._saved = _load_saved_options()
106109
self._options: SyncOptions | None = None
107110
self._init_ui()
111+
self._apply_key_format_style()
108112

109113
def _init_ui(self) -> None:
110114
layout = QVBoxLayout(self)
111115
layout.setSpacing(12)
112116

113117
key_group = QGroupBox("Key format")
118+
key_group.setObjectName("keyFormatGroup")
114119
key_layout = QVBoxLayout(key_group)
115120
self._normal_rb = QRadioButton("Normal (e.g. A Minor, G Major)")
116121
self._camelot_rb = QRadioButton("Camelot (e.g. 8A, 12B)")
@@ -162,6 +167,25 @@ def _init_ui(self) -> None:
162167
btn.rejected.connect(self.reject)
163168
layout.addWidget(btn)
164169

170+
def _apply_key_format_style(self) -> None:
171+
"""Make the selected key format radio button clearly visible (background + border)."""
172+
self.setStyleSheet(
173+
f"""
174+
QDialog#syncTagsDialog QGroupBox#keyFormatGroup QRadioButton {{
175+
padding: 6px 10px;
176+
border-radius: 4px;
177+
border: 1px solid transparent;
178+
}}
179+
QDialog#syncTagsDialog QGroupBox#keyFormatGroup QRadioButton:checked {{
180+
background-color: {Colors.SURFACE};
181+
color: {Colors.TEXT_PRIMARY};
182+
border: 1px solid {Colors.BORDER};
183+
border-left: 3px solid {Colors.PRIMARY};
184+
font-weight: bold;
185+
}}
186+
"""
187+
)
188+
165189
def _on_accept(self) -> None:
166190
key_format = "camelot" if self._camelot_rb.isChecked() else ("short" if self._short_rb.isChecked() else "normal")
167191
comment_text = (self._comment_edit.text() or "").strip() or "ok"

0 commit comments

Comments
 (0)