Skip to content

Commit 3b24a68

Browse files
committed
Merge branch 'release-0.6.2'
2 parents 9b9bb55 + 632da86 commit 3b24a68

13 files changed

+298
-401
lines changed

src/kc_angular/src/app/app.component.ts

+18-7
Original file line numberDiff line numberDiff line change
@@ -71,13 +71,19 @@ type SidebarItem = {
7171
</div>
7272
</div>
7373
74-
<div *ngIf="!readyToShow" class="w-full h-full surface-a flex-col-center-center">
75-
<p-image src="assets/img/kc-logo-transparent.svg" class="w-5"></p-image>
76-
<p-progressBar mode="indeterminate" class="w-3"></p-progressBar>
77-
Getting things ready...
74+
<div *ngIf="!readyToShow" class="w-full h-full surface-a flex-col-center-center gap-4" style="max-height: calc(100vh - 32px)">
75+
<div>
76+
<img src="assets/img/kc-icon-greyscale.png"
77+
alt="Knowledge Logo"
78+
class="pulsate-fwd knowledge-logo">
79+
</div>
80+
<div style="width: 100%; max-width: 12rem;">
81+
<p-progressBar mode="indeterminate" class="w-full" [style]="{'height': '0.5rem'}"></p-progressBar>
82+
Getting things ready...
83+
</div>
7884
</div>
7985
80-
<div [hidden]="!readyToShow" class="flex relative lg:static" style="height: calc(100vh - 32px); max-width: 100vw">
86+
<div *ngIf="readyToShow" class="flex relative lg:static" style="height: calc(100vh - 32px); max-width: 100vw">
8187
<div id="app-sidebar" class="h-full md:h-auto md:block flex-shrink-0 absolute md:static left-0 top-0 z-1 border-right-1 surface-0 border-primary w-auto">
8288
<div class="flex h-full">
8389
<div class="flex flex-column h-full flex-shrink-0">
@@ -134,7 +140,7 @@ type SidebarItem = {
134140
135141
<p-confirmDialog appendTo="body"></p-confirmDialog>
136142
<p-messages key="app-banner"></p-messages>
137-
<p-toast key="app-toast"></p-toast>
143+
<p-toast [preventOpenDuplicates]="true" position="bottom-right" key="app-toast"></p-toast>
138144
`,
139145
styles: [
140146
`
@@ -148,6 +154,11 @@ type SidebarItem = {
148154
}
149155
}
150156
157+
.knowledge-logo {
158+
height: 8rem;
159+
filter: drop-shadow(0 0 1px var(--primary-color));
160+
}
161+
151162
.title-bar {
152163
-webkit-user-select: none;
153164
-webkit-app-region: drag;
@@ -322,7 +333,7 @@ export class AppComponent implements OnInit {
322333
themes.setLocal().then((_: any) => {
323334
setTimeout(() => {
324335
this.readyToShow = true;
325-
}, Math.floor(Math.random() * 1000));
336+
}, Math.floor(Math.random() * 1500));
326337
});
327338
}
328339

src/kc_angular/src/app/app.module.ts

-2
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,6 @@ import {CountdownPipe} from "./pipes/countdown.pipe";
9494
import {TruncatePipe} from "./pipes/truncate.pipe";
9595
import {KsCardComponent} from './components/source-components/ks-card.component';
9696
import {KsIconComponent} from './components/source-components/ks-icon.component';
97-
import {KsIngestComponent} from './components/source-components/ks-ingest.component';
9897
import {SliderModule} from "primeng/slider";
9998
import {KsDropzoneComponent} from './components/source-components/ks-dropzone.component';
10099
import {InputSwitchModule} from "primeng/inputswitch";
@@ -160,7 +159,6 @@ import {KsMessageComponent} from './components/source-components/ks-message.comp
160159
TruncatePipe,
161160
KsCardComponent,
162161
KsIconComponent,
163-
KsIngestComponent,
164162
KsDropzoneComponent,
165163
ProjectCardComponent,
166164
TopicListPipe,

0 commit comments

Comments
 (0)