@phenx-inc/ctlsurf 0.12.1 → 0.13.1

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 (31) hide show
  1. package/out/headless/index.mjs +25 -19
  2. package/out/headless/index.mjs.map +2 -2
  3. package/out/main/index.js +30 -18
  4. package/out/renderer/assets/{cssMode-D7r66wvO.js → cssMode-KhYyY-BM.js} +3 -3
  5. package/out/renderer/assets/{freemarker2-jSWJIjPG.js → freemarker2-BFsSgcWk.js} +1 -1
  6. package/out/renderer/assets/{handlebars-BnFyz5RH.js → handlebars-Be6_aBsm.js} +1 -1
  7. package/out/renderer/assets/{html-Bl5UFavp.js → html-G8mvsyfc.js} +1 -1
  8. package/out/renderer/assets/{htmlMode-D4VByBT6.js → htmlMode-Cfd5VCjw.js} +3 -3
  9. package/out/renderer/assets/{index-Cc_TqOCL.css → index-Bi_MjBqs.css} +116 -8
  10. package/out/renderer/assets/{index-DxhW1emk.js → index-MqgBcJzy.js} +259 -87
  11. package/out/renderer/assets/{javascript-CMN1OmwG.js → javascript-XyDWi6dC.js} +2 -2
  12. package/out/renderer/assets/{jsonMode-CJ5AYSPV.js → jsonMode-DZT5gBVW.js} +3 -3
  13. package/out/renderer/assets/{liquid-BGMIDTEm.js → liquid-BuajCNJ9.js} +1 -1
  14. package/out/renderer/assets/{lspLanguageFeatures-DGifVYB5.js → lspLanguageFeatures-BYkg2Yc-.js} +1 -1
  15. package/out/renderer/assets/{mdx-B2Z7R10Q.js → mdx-D0Qx2GMS.js} +1 -1
  16. package/out/renderer/assets/{python-LMDMSSdn.js → python-ChncNy6S.js} +1 -1
  17. package/out/renderer/assets/{razor-BZSrziPu.js → razor-C6MUtfaS.js} +1 -1
  18. package/out/renderer/assets/{tsMode-DF9m6_3n.js → tsMode-C2aMdzdU.js} +1 -1
  19. package/out/renderer/assets/{typescript-rZeCMf0a.js → typescript-CB71AtAT.js} +1 -1
  20. package/out/renderer/assets/{xml-fNSZ-7so.js → xml-tHS1Ec9w.js} +1 -1
  21. package/out/renderer/assets/{yaml-1wxIuvzh.js → yaml-CZcp5ueF.js} +1 -1
  22. package/out/renderer/index.html +2 -2
  23. package/package.json +1 -1
  24. package/src/main/index.ts +9 -0
  25. package/src/main/orchestrator.ts +1 -1
  26. package/src/main/ticketStore.ts +26 -20
  27. package/src/renderer/App.tsx +14 -2
  28. package/src/renderer/components/CtlsurfPanel.tsx +169 -35
  29. package/src/renderer/components/TerminalPanel.tsx +7 -21
  30. package/src/renderer/components/TicketPanel.tsx +80 -24
  31. package/src/renderer/styles.css +116 -8
@@ -529,13 +529,88 @@ html, body, #root {
529
529
  width: 100%;
530
530
  height: 100%;
531
531
  overflow: hidden;
532
+ display: flex;
533
+ flex-direction: column;
534
+ }
535
+
536
+ .ctlsurf-addressbar {
537
+ flex: 0 0 auto;
538
+ display: flex;
539
+ align-items: center;
540
+ gap: 4px;
541
+ padding: 5px 6px;
542
+ background: #1a1b26;
543
+ border-bottom: 1px solid #2a2b3d;
544
+ }
545
+
546
+ .ctlsurf-nav-btn {
547
+ flex: 0 0 auto;
548
+ width: 24px;
549
+ height: 24px;
550
+ display: flex;
551
+ align-items: center;
552
+ justify-content: center;
553
+ padding: 0;
554
+ background: transparent;
555
+ border: none;
556
+ border-radius: 4px;
557
+ color: #a9b1d6;
558
+ font-size: 16px;
559
+ line-height: 1;
560
+ cursor: pointer;
561
+ }
562
+
563
+ .ctlsurf-nav-btn:hover:not(:disabled) {
564
+ background: #2a2b3d;
565
+ }
566
+
567
+ .ctlsurf-nav-btn:disabled {
568
+ color: #565f89;
569
+ opacity: 0.5;
570
+ cursor: default;
571
+ }
572
+
573
+ .ctlsurf-address-form {
574
+ flex: 1 1 auto;
575
+ display: flex;
576
+ min-width: 0;
577
+ }
578
+
579
+ .ctlsurf-address-input {
580
+ width: 100%;
581
+ height: 26px;
582
+ padding: 0 11px;
583
+ background: #16161e;
584
+ border: 1px solid #2a2b3d;
585
+ border-radius: 13px;
586
+ color: #c0caf5;
587
+ font-size: 12px;
588
+ outline: none;
532
589
  }
533
590
 
534
- .ctlsurf-panel webview {
591
+ .ctlsurf-address-input:focus {
592
+ border-color: #7aa2f7;
593
+ }
594
+
595
+ .ctlsurf-webview-host {
596
+ flex: 1 1 auto;
597
+ position: relative;
598
+ min-height: 0;
599
+ }
600
+
601
+ .ctlsurf-webview-host webview {
535
602
  width: 100%;
536
603
  height: 100%;
537
604
  }
538
605
 
606
+ .ctlsurf-webview-loading {
607
+ width: 100%;
608
+ height: 100%;
609
+ display: flex;
610
+ align-items: center;
611
+ justify-content: center;
612
+ }
613
+
539
614
  /* Status bar */
540
615
  .statusbar {
541
616
  height: 24px;
@@ -2052,24 +2127,57 @@ html, body, #root {
2052
2127
  .ticket-card {
2053
2128
  display: flex;
2054
2129
  align-items: stretch;
2055
- gap: 10px;
2056
2130
  background: #15161f;
2057
2131
  border: 1px solid #262a3f;
2058
2132
  border-radius: 10px;
2059
- padding: 10px 11px 10px 0;
2060
- cursor: pointer;
2061
- text-align: left;
2062
- font-family: inherit;
2063
2133
  overflow: hidden;
2064
- transition: border-color 0.13s ease, background 0.13s ease, transform 0.06s ease;
2134
+ transition: border-color 0.13s ease, background 0.13s ease;
2065
2135
  }
2066
2136
  .ticket-card:hover {
2067
2137
  border-color: #3d425f;
2068
2138
  background: #181a26;
2069
2139
  }
2070
- .ticket-card:active {
2140
+ /* Clickable body of the card — opens the editor. */
2141
+ .ticket-card-open {
2142
+ flex: 1;
2143
+ min-width: 0;
2144
+ display: flex;
2145
+ align-items: stretch;
2146
+ gap: 10px;
2147
+ padding: 10px 11px 10px 0;
2148
+ background: transparent;
2149
+ border: none;
2150
+ color: inherit;
2151
+ cursor: pointer;
2152
+ text-align: left;
2153
+ font-family: inherit;
2154
+ transition: transform 0.06s ease;
2155
+ }
2156
+ .ticket-card-open:active {
2071
2157
  transform: scale(0.99);
2072
2158
  }
2159
+ /* Trailing button that dispatches the ticket to the coding terminal. */
2160
+ .ticket-card-send {
2161
+ flex-shrink: 0;
2162
+ width: 36px;
2163
+ align-self: stretch;
2164
+ display: flex;
2165
+ align-items: center;
2166
+ justify-content: center;
2167
+ background: transparent;
2168
+ border: none;
2169
+ border-left: 1px solid #262a3f;
2170
+ color: #565f89;
2171
+ cursor: pointer;
2172
+ transition: background 0.13s ease, color 0.13s ease, transform 0.06s ease;
2173
+ }
2174
+ .ticket-card-send:hover {
2175
+ background: #1b2030;
2176
+ color: #7aa2f7;
2177
+ }
2178
+ .ticket-card-send:active {
2179
+ transform: scale(0.9);
2180
+ }
2073
2181
  .ticket-card-bar {
2074
2182
  width: 3px;
2075
2183
  border-radius: 3px;