pi-studio 0.9.53 → 0.9.54
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/CHANGELOG.md +14 -0
- package/README.md +7 -3
- package/ROADMAP.md +4 -4
- package/client/studio-client.js +794 -144
- package/client/studio.css +50 -0
- package/index.ts +445 -97
- package/package.json +1 -1
- package/shared/studio-disk-revisions.js +558 -0
- package/shared/studio-file-watcher.js +181 -0
- package/shared/studio-workspace-state.js +4 -0
package/client/studio.css
CHANGED
|
@@ -496,6 +496,45 @@
|
|
|
496
496
|
font-size: 14px;
|
|
497
497
|
}
|
|
498
498
|
|
|
499
|
+
body[data-watched-file-preview="1"] #rightSectionHeader .section-header-main::before {
|
|
500
|
+
content: "Watched preview";
|
|
501
|
+
}
|
|
502
|
+
|
|
503
|
+
body[data-watched-file-preview="1"] #saveAsBtn,
|
|
504
|
+
body[data-watched-file-preview="1"] #saveOverBtn,
|
|
505
|
+
body[data-watched-file-preview="1"] #refreshFromDiskBtn,
|
|
506
|
+
body[data-watched-file-preview="1"] #clearWorkspaceBtn,
|
|
507
|
+
body[data-watched-file-preview="1"] #importFileBtn,
|
|
508
|
+
body[data-watched-file-preview="1"] #suggestCompletionBtn,
|
|
509
|
+
body[data-watched-file-preview="1"] #suggestCompletionOptionsBtn,
|
|
510
|
+
body[data-watched-file-preview="1"] #insertHeaderBtn,
|
|
511
|
+
body[data-watched-file-preview="1"] #annotationModeSelect,
|
|
512
|
+
body[data-watched-file-preview="1"] #stripAnnotationsBtn,
|
|
513
|
+
body[data-watched-file-preview="1"] #saveAnnotatedBtn,
|
|
514
|
+
body[data-watched-file-preview="1"] #getEditorBtn {
|
|
515
|
+
display: none !important;
|
|
516
|
+
}
|
|
517
|
+
|
|
518
|
+
body[data-watched-file-preview="1"] #sourceText {
|
|
519
|
+
cursor: default;
|
|
520
|
+
}
|
|
521
|
+
|
|
522
|
+
.studio-watched-preview-error {
|
|
523
|
+
position: sticky;
|
|
524
|
+
top: 8px;
|
|
525
|
+
z-index: 2;
|
|
526
|
+
display: flex;
|
|
527
|
+
align-items: center;
|
|
528
|
+
justify-content: space-between;
|
|
529
|
+
gap: 10px;
|
|
530
|
+
margin: 8px 0;
|
|
531
|
+
box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
|
|
532
|
+
}
|
|
533
|
+
|
|
534
|
+
.studio-watched-preview-error button {
|
|
535
|
+
flex: 0 0 auto;
|
|
536
|
+
}
|
|
537
|
+
|
|
499
538
|
.reference-meta {
|
|
500
539
|
padding: 8px 10px;
|
|
501
540
|
border-bottom: 1px solid var(--panel-border);
|
|
@@ -3009,6 +3048,17 @@
|
|
|
3009
3048
|
font-style: italic;
|
|
3010
3049
|
}
|
|
3011
3050
|
|
|
3051
|
+
.studio-preview-staging {
|
|
3052
|
+
position: fixed !important;
|
|
3053
|
+
top: 0;
|
|
3054
|
+
left: -100000px;
|
|
3055
|
+
z-index: -1;
|
|
3056
|
+
max-height: none !important;
|
|
3057
|
+
overflow: visible !important;
|
|
3058
|
+
visibility: hidden;
|
|
3059
|
+
pointer-events: none;
|
|
3060
|
+
}
|
|
3061
|
+
|
|
3012
3062
|
.panel-scroll.preview-pending::after {
|
|
3013
3063
|
content: "Updating";
|
|
3014
3064
|
position: absolute;
|