gitmaps 1.1.20 → 1.1.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/app/analytics.db +0 -0
- package/app/globals.css +19 -3
- package/app/layout.tsx +10 -4
- package/app/lib/events.tsx +4 -2
- package/package.json +1 -1
package/app/analytics.db
CHANGED
|
Binary file
|
package/app/globals.css
CHANGED
|
@@ -1145,17 +1145,24 @@ body {
|
|
|
1145
1145
|
|
|
1146
1146
|
/* ── Sticky Zoom Controls ── */
|
|
1147
1147
|
body.repo-loading .sticky-zoom-pill,
|
|
1148
|
-
body.repo-loading .
|
|
1148
|
+
body.repo-loading .floating-top-controls,
|
|
1149
1149
|
body.landing-placeholder-visible .sticky-zoom-pill,
|
|
1150
|
-
body.landing-placeholder-visible .
|
|
1150
|
+
body.landing-placeholder-visible .floating-top-controls {
|
|
1151
1151
|
display: none;
|
|
1152
1152
|
}
|
|
1153
1153
|
|
|
1154
|
-
.
|
|
1154
|
+
.floating-top-controls {
|
|
1155
1155
|
position: fixed;
|
|
1156
1156
|
top: 12px;
|
|
1157
1157
|
right: 144px;
|
|
1158
1158
|
z-index: 10001;
|
|
1159
|
+
display: flex;
|
|
1160
|
+
align-items: center;
|
|
1161
|
+
gap: 8px;
|
|
1162
|
+
}
|
|
1163
|
+
|
|
1164
|
+
.detail-mode-switch {
|
|
1165
|
+
position: relative;
|
|
1159
1166
|
}
|
|
1160
1167
|
|
|
1161
1168
|
.detail-mode-btn {
|
|
@@ -1192,6 +1199,15 @@ body.landing-placeholder-visible .detail-mode-switch {
|
|
|
1192
1199
|
box-shadow: 0 10px 28px rgba(59, 130, 246, 0.16);
|
|
1193
1200
|
}
|
|
1194
1201
|
|
|
1202
|
+
.detail-mode-btn--secondary {
|
|
1203
|
+
border-color: rgba(148, 163, 184, 0.28);
|
|
1204
|
+
color: #e2e8f0;
|
|
1205
|
+
}
|
|
1206
|
+
|
|
1207
|
+
.detail-mode-btn--secondary:hover {
|
|
1208
|
+
border-color: rgba(148, 163, 184, 0.48);
|
|
1209
|
+
}
|
|
1210
|
+
|
|
1195
1211
|
.detail-mode-label {
|
|
1196
1212
|
opacity: 0.72;
|
|
1197
1213
|
text-transform: uppercase;
|
package/app/layout.tsx
CHANGED
|
@@ -875,10 +875,16 @@ export default function RootLayout({ children }: { children: any }) {
|
|
|
875
875
|
</div>
|
|
876
876
|
|
|
877
877
|
{/* Sticky Zoom Controls — floating pill, bottom-right */}
|
|
878
|
-
<div
|
|
879
|
-
<
|
|
880
|
-
<
|
|
881
|
-
|
|
878
|
+
<div className="floating-top-controls">
|
|
879
|
+
<div id="detailModeSwitch" className="detail-mode-switch" title="Toggle preview-focused detail mode">
|
|
880
|
+
<button id="toggleDetailMode" type="button" className="detail-mode-btn">
|
|
881
|
+
<span className="detail-mode-label">Renderer</span>
|
|
882
|
+
<span id="detailModeState" className="detail-mode-state">Preview</span>
|
|
883
|
+
</button>
|
|
884
|
+
</div>
|
|
885
|
+
<button id="openSettingsFloating" type="button" className="detail-mode-btn detail-mode-btn--secondary" title="Open settings">
|
|
886
|
+
<span className="detail-mode-label">Settings</span>
|
|
887
|
+
<span className="detail-mode-state">Tune</span>
|
|
882
888
|
</button>
|
|
883
889
|
</div>
|
|
884
890
|
|
package/app/lib/events.tsx
CHANGED
|
@@ -740,9 +740,11 @@ export function setupEventListeners(ctx: CanvasContext) {
|
|
|
740
740
|
});
|
|
741
741
|
|
|
742
742
|
// Settings modal
|
|
743
|
-
|
|
743
|
+
const openSettings = () => {
|
|
744
744
|
import('./settings-modal').then(({ openSettingsModal }) => openSettingsModal(ctx));
|
|
745
|
-
}
|
|
745
|
+
};
|
|
746
|
+
document.getElementById('openSettings')?.addEventListener('click', openSettings);
|
|
747
|
+
document.getElementById('openSettingsFloating')?.addEventListener('click', openSettings);
|
|
746
748
|
|
|
747
749
|
// Global search
|
|
748
750
|
document.getElementById('openGlobalSearch')?.addEventListener('click', () => {
|