From ef637aaacf5e5025b2cd976682a33df36e438643 Mon Sep 17 00:00:00 2001 From: Andrey Sobolev Date: Fri, 7 Apr 2023 22:53:49 +0700 Subject: [PATCH] TSK-1007: Add comments in talent editor Fix placement for some Card based dialogs. Signed-off-by: Andrey Sobolev --- models/recruit/src/index.ts | 12 +++++ .../src/components/LinkPopup.svelte | 1 + .../components/selectors/IconChooser.svelte | 1 + .../src/components/BitrixConfigure.svelte | 1 + .../src/components/BitrixConnect.svelte | 1 + .../src/components/BitrixImport.svelte | 1 + .../src/components/CreateMapping.svelte | 2 +- .../components/CreateMappingAttribute.svelte | 1 + .../src/components/CreateCard.svelte | 1 + .../src/components/CreateEvent.svelte | 1 + .../src/components/CreateReminder.svelte | 1 + .../src/components/SaveEventReminder.svelte | 1 + .../ConvertDmToPrivateChannel.svelte | 1 + .../src/components/CreateEmployee.svelte | 1 + .../src/components/CreateMember.svelte | 1 + .../src/components/CreateOrganization.svelte | 1 + .../src/components/CreatePerson.svelte | 1 + .../components/EmployeeSetStatusPopup.svelte | 1 + .../src/components/MergeEmployee.svelte | 1 + .../src/components/SelectAvatarPopup.svelte | 1 + .../src/components/CreateDocument.svelte | 1 + .../src/components/Configure.svelte | 1 + .../src/components/CreateDepartment.svelte | 1 + .../src/components/CreateRequest.svelte | 1 + .../src/components/EditRequestType.svelte | 1 + .../schedule/CreatePublicHoliday.svelte | 1 + .../components/schedule/ReportsPopup.svelte | 1 + .../src/components/CreateCategory.svelte | 1 + .../src/components/CreateProduct.svelte | 1 + .../src/components/CreateVariant.svelte | 1 + .../src/components/CreateCustomer.svelte | 1 + .../src/components/CreateLead.svelte | 1 + .../src/components/Applications.svelte | 49 ++++++++++++++----- .../src/components/ApplicationsPopup.svelte | 21 +++++--- .../src/components/CreateApplication.svelte | 1 + .../src/components/CreateCandidate.svelte | 1 + .../src/components/CreateVacancy.svelte | 1 + .../src/components/KanbanCard.svelte | 14 +++++- .../src/components/MatchVacancy.svelte | 1 + .../src/components/MoveApplication.svelte | 1 + .../components/review/CreateOpinion.svelte | 1 + .../src/components/review/CreateReview.svelte | 1 + .../src/components/review/EditOpinion.svelte | 1 + plugins/recruit-resources/src/plugin.ts | 3 +- .../src/components/CreateAttribute.svelte | 1 + .../src/components/CreateMixin.svelte | 1 + .../src/components/EditAttribute.svelte | 1 + .../src/components/EditClassLabel.svelte | 1 + .../src/components/EditEnum.svelte | 1 + .../src/components/CreateTagElement.svelte | 1 + .../src/components/EditTagElement.svelte | 1 + .../src/components/kanban/KanbanView.svelte | 2 +- .../components/state/StateRefPresenter.svelte | 2 +- .../src/components/todos/CreateTodo.svelte | 1 + .../src/components/todos/EditTodo.svelte | 1 + plugins/task-resources/src/index.ts | 1 + .../src/components/Copy.svelte | 1 + .../src/components/EditGroup.svelte | 1 + .../src/components/Move.svelte | 1 + .../components/components/NewComponent.svelte | 1 + .../issues/StatusRefPresenter.svelte | 2 +- .../issues/timereport/EstimationPopup.svelte | 1 + .../issues/timereport/ReportsPopup.svelte | 1 + .../timereport/TimeSpendReportPopup.svelte | 1 + .../components/projects/ChangeIdentity.svelte | 1 + .../components/projects/CreateProject.svelte | 1 + .../projects/ProjectIconChooser.svelte | 1 + .../src/components/scrums/NewScrum.svelte | 1 + .../sprints/MoveAndDeleteSprintPopup.svelte | 1 + .../src/components/sprints/NewSprint.svelte | 1 + .../templates/CreateIssueTemplate.svelte | 1 + .../src/components/ViewletSetting.svelte | 1 + .../src/components/filter/FilterSave.svelte | 1 + .../status/StatusRefPresenter.svelte | 2 +- 74 files changed, 148 insertions(+), 25 deletions(-) diff --git a/models/recruit/src/index.ts b/models/recruit/src/index.ts index 906d171f5c..536eb77171 100644 --- a/models/recruit/src/index.ts +++ b/models/recruit/src/index.ts @@ -415,6 +415,18 @@ export function createModel (builder: Builder): void { recruit.viewlet.VacancyApplicationsShort ) + builder.createDoc( + view.class.Viewlet, + core.space.Model, + { + attachTo: recruit.class.Applicant, + descriptor: view.viewlet.Table, + config: ['', '$lookup.space.name', '$lookup.space.$lookup.company', 'state', 'comments', 'doneState'], + variant: 'short' + }, + recruit.viewlet.VacancyApplicationsEmbeddeed + ) + builder.createDoc( view.class.Viewlet, core.space.Model, diff --git a/packages/text-editor/src/components/LinkPopup.svelte b/packages/text-editor/src/components/LinkPopup.svelte index 92d6d3cf9f..e3cfd46b1b 100644 --- a/packages/text-editor/src/components/LinkPopup.svelte +++ b/packages/text-editor/src/components/LinkPopup.svelte @@ -39,6 +39,7 @@ on:close={() => { dispatch('close') }} + on:changeContent > diff --git a/plugins/automation-resources/src/components/selectors/IconChooser.svelte b/plugins/automation-resources/src/components/selectors/IconChooser.svelte index 91c115cacf..32e51a3da2 100644 --- a/plugins/automation-resources/src/components/selectors/IconChooser.svelte +++ b/plugins/automation-resources/src/components/selectors/IconChooser.svelte @@ -36,6 +36,7 @@ okLabel={presentation.string.Save} okAction={save} canSave={icon !== undefined} + on:changeContent on:close={() => { dispatch('close') }} diff --git a/plugins/bitrix-resources/src/components/BitrixConfigure.svelte b/plugins/bitrix-resources/src/components/BitrixConfigure.svelte index e1fb713165..2f9d8f6eef 100644 --- a/plugins/bitrix-resources/src/components/BitrixConfigure.svelte +++ b/plugins/bitrix-resources/src/components/BitrixConfigure.svelte @@ -141,6 +141,7 @@ okLabel={presentation.string.Ok} on:close={() => dispatch('close')} fullSize={true} + on:changeContent > {#if profile} diff --git a/plugins/bitrix-resources/src/components/BitrixConnect.svelte b/plugins/bitrix-resources/src/components/BitrixConnect.svelte index 878f772107..58c3cb7bc7 100644 --- a/plugins/bitrix-resources/src/components/BitrixConnect.svelte +++ b/plugins/bitrix-resources/src/components/BitrixConnect.svelte @@ -38,6 +38,7 @@ canSave={true} okLabel={presentation.string.Ok} on:close={() => dispatch('close')} + on:changeContent > diff --git a/plugins/bitrix-resources/src/components/BitrixImport.svelte b/plugins/bitrix-resources/src/components/BitrixImport.svelte index e78da8a7cd..fbcccb84b6 100644 --- a/plugins/bitrix-resources/src/components/BitrixImport.svelte +++ b/plugins/bitrix-resources/src/components/BitrixImport.svelte @@ -51,6 +51,7 @@ }} okLabel={getEmbeddedLabel('Close')} on:close + on:changeContent > {#if integration && bitrixClient} {#each mappings as mapping} diff --git a/plugins/bitrix-resources/src/components/CreateMapping.svelte b/plugins/bitrix-resources/src/components/CreateMapping.svelte index a4eee0cf11..9f9eea9c48 100644 --- a/plugins/bitrix-resources/src/components/CreateMapping.svelte +++ b/plugins/bitrix-resources/src/components/CreateMapping.svelte @@ -55,7 +55,7 @@ ) - +