@ibgib/space-gib 0.0.34 → 0.0.35

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.
Files changed (45) hide show
  1. package/dist/client/bootstrap.mjs +1 -1
  2. package/dist/client/{chunk-25PXC4HP.mjs → chunk-FIAGRVBY.mjs} +1487 -468
  3. package/dist/client/chunk-XLQ3UCQY.mjs +53 -0
  4. package/dist/client/css/activity-bar.css +21 -3
  5. package/dist/client/css/layout.css +126 -5
  6. package/dist/client/index.html +6 -0
  7. package/dist/client/index.mjs +22 -45
  8. package/dist/client/privacy.html +22 -22
  9. package/dist/client/script.mjs +1 -1
  10. package/dist/server/server.mjs +3 -3
  11. package/package.json +6 -6
  12. package/src/client/AUTO-GENERATED-version.mts +1 -1
  13. package/src/client/cosmos/seed-cosmos-workspace.mts +20 -6
  14. package/src/client/css/activity-bar.css +21 -3
  15. package/src/client/css/layout.css +126 -5
  16. package/src/client/dev-tools/vcs-workspace.mts +4 -4
  17. package/src/client/index.html +6 -0
  18. package/src/client/privacy.html +22 -22
  19. package/src/client/ui/component/changes/changes.css +413 -0
  20. package/src/client/ui/component/changes/changes.html +37 -0
  21. package/src/client/ui/component/changes/changes.mts +766 -0
  22. package/src/client/ui/component/changes/index.mts +9 -0
  23. package/src/client/ui/component/chat-view/chat-view.html +6 -58
  24. package/src/client/ui/component/chat-view/chat-view.mts +13 -26
  25. package/src/client/ui/component/clone/clone.mts +67 -39
  26. package/src/client/ui/component/code-editor/code-editor.css +91 -9
  27. package/src/client/ui/component/code-editor/code-editor.html +58 -45
  28. package/src/client/ui/component/code-editor/code-editor.mts +265 -49
  29. package/src/client/ui/component/cosmos-navigator/cosmos-navigator.css +1 -1
  30. package/src/client/ui/component/cosmos-navigator/cosmos-navigator.html +5 -10
  31. package/src/client/ui/component/cosmos-navigator/cosmos-navigator.mts +297 -64
  32. package/src/client/ui/component/file-explorer/file-explorer.css +475 -11
  33. package/src/client/ui/component/file-explorer/file-explorer.html +45 -65
  34. package/src/client/ui/component/file-explorer/file-explorer.mts +1164 -98
  35. package/src/client/ui/component/nested-chat/chat/chat.mts +5 -90
  36. package/src/client/ui/component/nested-chat/nested-chat.mts +10 -8
  37. package/src/client/ui/component/timeline/timeline.css +16 -1
  38. package/src/client/ui/component/timeline/timeline.mts +37 -93
  39. package/src/client/ui/router/space-gib-router-helpers.mts +33 -233
  40. package/src/client/ui/router/space-gib-router-helpers.respec.mts +298 -122
  41. package/src/client/ui/router/space-gib-router-service.mts +28 -151
  42. package/src/client/ui/router/space-gib-router-types.mts +32 -76
  43. package/src/client/ui/shell/cosmic-big-bang.mts +12 -3
  44. package/src/client/ui/shell/space-gib-shell-service.mts +687 -119
  45. package/dist/client/chunk-RXWLL2AI.mjs +0 -30
@@ -290,18 +290,36 @@
290
290
 
291
291
  /* Left Panel Views (New User POV) */
292
292
  .space-side-view {
293
- display: flex;
293
+ display: none;
294
294
  flex-direction: column;
295
295
  height: 100%;
296
+ flex: 1;
297
+ min-height: 0;
298
+ overflow: hidden;
299
+ box-sizing: border-box;
300
+ }
301
+
302
+ /* Force flex column whenever the side-view is visible, overriding any inline display: block */
303
+ .space-side-view:not([style*="display: none"]):not([style*="display:none"]),
304
+ .space-side-view.active {
305
+ display: flex !important;
306
+ flex-direction: column !important;
307
+ }
308
+
309
+ .space-side-view[style*="display: none"],
310
+ .space-side-view[style*="display:none"] {
311
+ display: none !important;
296
312
  }
297
313
 
298
314
  .side-view-header {
299
315
  display: flex;
300
316
  align-items: center;
301
317
  justify-content: space-between;
302
- padding: 0.65rem 0.5rem 0.85rem;
318
+ padding: 0.35rem 0.5rem 0.4rem;
303
319
  border-bottom: 1px solid var(--clr-border);
304
- margin-bottom: 1rem;
320
+ margin-bottom: 0.35rem;
321
+ flex: 0 0 auto !important;
322
+ flex-shrink: 0 !important;
305
323
  }
306
324
 
307
325
  .side-view-title {
@@ -204,6 +204,10 @@
204
204
  .left-panel {
205
205
  width: var(--left-panel-width);
206
206
  border-right: 1px solid var(--clr-border);
207
+ display: flex;
208
+ flex-direction: column;
209
+ height: 100%;
210
+ overflow: hidden;
207
211
  }
208
212
 
209
213
  .left-panel.collapsed {
@@ -227,6 +231,27 @@
227
231
  min-width: 150px;
228
232
  height: 100%;
229
233
  overflow-y: auto;
234
+ box-sizing: border-box;
235
+ }
236
+
237
+ .left-panel-content {
238
+ padding: 0.35rem 0.5rem 0.5rem !important;
239
+ overflow: hidden !important;
240
+ display: flex;
241
+ flex-direction: column;
242
+ height: 100%;
243
+ box-sizing: border-box;
244
+ }
245
+
246
+ .left-panel-content > .space-side-view:not([style*="display: none"]):not([style*="display:none"]),
247
+ .left-panel-content > .space-side-view.active {
248
+ display: flex !important;
249
+ flex-direction: column !important;
250
+ height: 100% !important;
251
+ flex: 1 1 0px !important;
252
+ min-height: 0 !important;
253
+ overflow: hidden !important;
254
+ box-sizing: border-box !important;
230
255
  }
231
256
 
232
257
  .placeholder-text {
@@ -586,7 +611,7 @@ space-gib-cosmos-navigator {
586
611
  overflow: visible !important;
587
612
  }
588
613
 
589
- /* ── Code Space File Explorer & Timeline Containers (Zero vertical margin) ── */
614
+ /* ── Code Space File Explorer & Timeline Containers ── */
590
615
  .code-file-explorer-container {
591
616
  width: 100%;
592
617
  display: flex;
@@ -594,8 +619,17 @@ space-gib-cosmos-navigator {
594
619
  margin: 0 !important;
595
620
  padding: 0 !important;
596
621
  gap: 0 !important;
597
- overflow-y: auto;
598
- overflow-x: hidden;
622
+ overflow: hidden;
623
+ position: relative;
624
+ z-index: 30;
625
+ flex: 1 1 0px;
626
+ min-height: 76px;
627
+ }
628
+
629
+ .code-file-explorer-container:has(space-gib-file-explorer[collapsed]) {
630
+ flex: 0 0 auto !important;
631
+ height: auto !important;
632
+ min-height: 0 !important;
599
633
  }
600
634
 
601
635
  .code-file-explorer-container space-gib-file-explorer,
@@ -603,6 +637,39 @@ space-gib-file-explorer {
603
637
  display: flex !important;
604
638
  flex-direction: column !important;
605
639
  width: 100% !important;
640
+ height: 100%;
641
+ min-height: 0;
642
+ margin: 0 !important;
643
+ padding: 0 !important;
644
+ }
645
+
646
+ .code-changes-container {
647
+ width: 100%;
648
+ display: flex;
649
+ flex-direction: column;
650
+ margin: 0 !important;
651
+ padding: 0 !important;
652
+ gap: 0 !important;
653
+ overflow: hidden;
654
+ position: relative;
655
+ z-index: 20;
656
+ flex: 1 1 0px;
657
+ min-height: 32px;
658
+ }
659
+
660
+ .code-changes-container:has(space-gib-changes[collapsed]) {
661
+ flex: 0 0 auto !important;
662
+ height: auto !important;
663
+ min-height: 0 !important;
664
+ }
665
+
666
+ .code-changes-container space-gib-changes,
667
+ space-gib-changes {
668
+ display: flex !important;
669
+ flex-direction: column !important;
670
+ width: 100% !important;
671
+ height: 100%;
672
+ min-height: 0;
606
673
  margin: 0 !important;
607
674
  padding: 0 !important;
608
675
  }
@@ -614,8 +681,17 @@ space-gib-file-explorer {
614
681
  margin: 0 !important;
615
682
  padding: 0 !important;
616
683
  gap: 0 !important;
617
- overflow-y: auto;
618
- overflow-x: hidden;
684
+ overflow: hidden;
685
+ position: relative;
686
+ z-index: 10;
687
+ flex: 1 1 0px;
688
+ min-height: 32px;
689
+ }
690
+
691
+ .code-timeline-container:has(space-gib-timeline[collapsed]) {
692
+ flex: 0 0 auto !important;
693
+ height: auto !important;
694
+ min-height: 0 !important;
619
695
  }
620
696
 
621
697
  .code-timeline-container space-gib-timeline,
@@ -623,10 +699,55 @@ space-gib-timeline {
623
699
  display: flex !important;
624
700
  flex-direction: column !important;
625
701
  width: 100% !important;
702
+ height: 100%;
703
+ min-height: 0;
626
704
  margin: 0 !important;
627
705
  padding: 0 !important;
628
706
  }
629
707
 
708
+ /* ── Accordion Horizontal Resizers ── */
709
+ .accordion-resizer {
710
+ height: 6px;
711
+ background: transparent;
712
+ cursor: row-resize;
713
+ position: relative;
714
+ z-index: 25;
715
+ flex: 0 0 6px;
716
+ margin: 1px 0;
717
+ transition: background 0.15s ease;
718
+ }
719
+
720
+ .accordion-resizer::before {
721
+ content: '';
722
+ position: absolute;
723
+ top: -4px;
724
+ bottom: -4px;
725
+ left: 0;
726
+ right: 0;
727
+ z-index: 26;
728
+ }
729
+
730
+ .accordion-resizer:hover,
731
+ .accordion-resizer.active {
732
+ background: var(--clr-accent, #78f87e);
733
+ }
734
+
735
+ .code-file-explorer-container:has(space-gib-file-explorer[collapsed]) + #resizer-explorer-changes {
736
+ display: none !important;
737
+ }
738
+
739
+ #resizer-explorer-changes:has(+ .code-changes-container:has(space-gib-changes[collapsed])) {
740
+ display: none !important;
741
+ }
742
+
743
+ .code-changes-container:has(space-gib-changes[collapsed]) + #resizer-changes-timeline {
744
+ display: none !important;
745
+ }
746
+
747
+ #resizer-changes-timeline:has(+ .code-timeline-container:has(space-gib-timeline[collapsed])) {
748
+ display: none !important;
749
+ }
750
+
630
751
  /* ── Right Panel & Chat View Container ── */
631
752
  .right-panel-content {
632
753
  padding: 0 !important;
@@ -233,6 +233,12 @@
233
233
 
234
234
  <!-- File Explorer Container (Web Component injected dynamically) -->
235
235
  <div id="code-file-explorer-container" class="code-file-explorer-container"></div>
236
+ <!-- Resizer between Explorer and Changes -->
237
+ <div id="resizer-explorer-changes" class="accordion-resizer" title="Drag to resize, double-click to reset"></div>
238
+ <!-- Changes / Staging Accordion Container (Web Component injected dynamically) -->
239
+ <div id="code-changes-container" class="code-changes-container"></div>
240
+ <!-- Resizer between Changes and Timeline -->
241
+ <div id="resizer-changes-timeline" class="accordion-resizer" title="Drag to resize, double-click to reset"></div>
236
242
  <!-- Timeline Container (Web Component injected dynamically) -->
237
243
  <div id="code-timeline-container" class="code-timeline-container"></div>
238
244
  </div>