remove CreateApplicationPresenter

Signed-off-by: Andrey Platov <andrey@hardcoreeng.com>
This commit is contained in:
Andrey Platov 2021-09-25 20:58:08 +02:00
parent a7a21b429f
commit 65b57b1f42
No known key found for this signature in database
GPG Key ID: C8787EFEB4B64AF0
8 changed files with 812 additions and 727 deletions

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -40,6 +40,7 @@ export function createDemo (builder: Builder): void {
builder.createDoc(recruit.class.Candidate, recruit.space.CandidatesPublic, {
firstName: 'Andrey',
lastName: 'P.',
title: 'Chief Architect',
city: 'Monte Carlo',
channels: [
{
@ -53,6 +54,7 @@ export function createDemo (builder: Builder): void {
builder.createDoc(recruit.class.Candidate, recruit.space.CandidatesPublic, {
firstName: 'Marina',
lastName: 'M.',
title: 'Chief Designer',
city: 'Los Angeles',
channels: [
{
@ -62,4 +64,18 @@ export function createDemo (builder: Builder): void {
],
attachments: {}
})
builder.createDoc(recruit.class.Candidate, recruit.space.CandidatesPublic, {
firstName: 'Alex',
lastName: 'P.',
title: 'Frontend Engineer',
city: 'Krasnodar, Russia',
channels: [
{
provider: contact.channelProvider.Email,
value: 'alex@hc.engineering'
}
],
attachments: {}
})
}

View File

@ -110,7 +110,7 @@ export function createModel (builder: Builder): void {
// resume: chunter.class.Attachment
// }
} as FindOptions<Doc>, // TODO: fix
config: ['', '#' + recruit.component.CreateApplicationPresenter + '/Action', 'title', 'city', '#' + chunter.component.AttachmentPresenter + '/Files', 'channels']
config: ['', 'title', 'city', '#' + chunter.component.AttachmentPresenter + '/Files', 'channels']
})
builder.createDoc(view.class.Viewlet, core.space.Model, {

View File

@ -41,7 +41,6 @@ export default mergeIds(recruitId, recruit, {
CreateApplication: '' as AnyComponent,
EditCandidate: '' as AnyComponent,
KanbanCard: '' as AnyComponent,
CreateApplicationPresenter: '' as AnyComponent,
ApplicationPresenter: '' as AnyComponent
},
space: {

View File

@ -23,7 +23,6 @@ import EditCandidate from './components/EditCandidate.svelte'
import CandidateGeneral from './components/CandidateGeneral.svelte'
import Attachments from './components/Attachments.svelte'
import KanbanCard from './components/KanbanCard.svelte'
import CreateApplicationPresenter from './components/CreateApplicationPresenter.svelte'
import ApplicationPresenter from './components/ApplicationPresenter.svelte'
import { showPopup } from '@anticrm/ui'
@ -45,7 +44,6 @@ export default async () => ({
CandidateGeneral,
Attachments,
KanbanCard,
CreateApplicationPresenter,
ApplicationPresenter
},
})

File diff suppressed because it is too large Load Diff