Skip to content

Commit 9b9bb55

Browse files
authored
Merge pull request #72 from KnowledgeCanvas/release-0.6.1
Release 0.6.1
2 parents 1441852 + a61cea5 commit 9b9bb55

26 files changed

+887
-331
lines changed

.github/workflows/release-0.x.yaml

Lines changed: 0 additions & 15 deletions
This file was deleted.

.github/workflows/release-main.yml

Lines changed: 0 additions & 14 deletions
This file was deleted.

src/kc_angular/src/app/app-routing.module.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,6 @@ const routes: Routes = [
5050
path: 'calendar/:projectId',
5151
component: CalendarComponent
5252
},
53-
54-
/* Settings routes use named outlets, which are located inside */
5553
{
5654
path: 'display',
5755
outlet: 'settings',

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

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,10 @@ type SidebarItem = {
5151
</div>
5252
<div *ngIf="!os || (os && os !== 'darwin')"></div>
5353
54-
<div class="title-bar-interactive flex-row-center-between">
55-
<app-history class="pr-8"></app-history>
56-
<app-search></app-search>
54+
<div class="flex-row-center-between">
55+
<app-create class="title-bar-interactive"></app-create>
56+
<app-search class="title-bar-interactive mx-8"></app-search>
57+
<app-history class="title-bar-interactive"></app-history>
5758
</div>
5859
5960
<div *ngIf="!os || (os && os === 'darwin')"></div>
@@ -406,6 +407,7 @@ export class AppComponent implements OnInit {
406407
if (ksReq) {
407408
this.factory.many(ksReq).then((ksList) => {
408409
if (ksList.length > 0) {
410+
ksList.forEach(ks => ks.importMethod = 'dnd');
409411
this.ingest.enqueue(ksList);
410412
}
411413
})

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

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,9 @@ import {TopicSearchComponent} from './components/shared/topic-search.component';
132132
import {SearchThresholdPipe} from './pipes/search-threshold.pipe';
133133
import {TutorialComponent} from './components/shared/tutorial.component';
134134
import {ViewIconPipe} from './pipes/view-icon.pipe';
135+
import {CreateComponent} from './components/shared/create.component';
136+
import {ImportMethodPipe} from './pipes/import-method.pipe';
137+
import {KsMessageComponent} from './components/source-components/ks-message.component';
135138

136139
@NgModule({
137140
declarations: [
@@ -182,7 +185,10 @@ import {ViewIconPipe} from './pipes/view-icon.pipe';
182185
TopicSearchComponent,
183186
SearchThresholdPipe,
184187
TutorialComponent,
185-
ViewIconPipe
188+
ViewIconPipe,
189+
CreateComponent,
190+
ImportMethodPipe,
191+
KsMessageComponent
186192
],
187193
imports: [
188194
BrowserAnimationsModule,

0 commit comments

Comments
 (0)