diff --git a/packages/presentation/src/components/UserBox.svelte b/packages/presentation/src/components/UserBox.svelte
index 3fac2383c0..8ffc54ce36 100644
--- a/packages/presentation/src/components/UserBox.svelte
+++ b/packages/presentation/src/components/UserBox.svelte
@@ -124,17 +124,18 @@
+
{/if}
diff --git a/plugins/contact-resources/src/components/ChannelsDropdown.svelte b/plugins/contact-resources/src/components/ChannelsDropdown.svelte
index f8f04cf209..cb74385260 100644
--- a/plugins/contact-resources/src/components/ChannelsDropdown.svelte
+++ b/plugins/contact-resources/src/components/ChannelsDropdown.svelte
@@ -271,6 +271,7 @@
bind:input={addBtn}
icon={contact.icon.SocialEdit}
label={presentation.string.AddSocialLinks}
+ notSelected
{kind}
{size}
{shape}
diff --git a/plugins/recruit-resources/src/components/CreateApplication.svelte b/plugins/recruit-resources/src/components/CreateApplication.svelte
index 07a655066a..5b0fc81191 100644
--- a/plugins/recruit-resources/src/components/CreateApplication.svelte
+++ b/plugins/recruit-resources/src/components/CreateApplication.svelte
@@ -18,14 +18,20 @@
import ExpandRightDouble from '@hcengineering/contact-resources/src/components/icons/ExpandRightDouble.svelte'
import { Account, Class, Client, Doc, FindOptions, generateId, Ref, SortingOrder, Space } from '@hcengineering/core'
import { getResource, OK, Resource, Severity, Status } from '@hcengineering/platform'
- import { Card, createQuery, EmployeeBox, getClient, SpaceSelect, UserBox } from '@hcengineering/presentation'
+ import presentation, {
+ Card,
+ createQuery,
+ EmployeeBox,
+ getClient,
+ SpaceSelect,
+ UserBox
+ } from '@hcengineering/presentation'
import type { Applicant, Candidate, Vacancy } from '@hcengineering/recruit'
import task, { calcRank, SpaceWithStates, State } from '@hcengineering/task'
import ui, {
Button,
ColorPopup,
createFocusManager,
- eventToHTMLElement,
FocusHandler,
getPlatformColor,
Label,
@@ -249,6 +255,7 @@
}
let verticalContent: boolean = false
$: verticalContent = $deviceInfo.isMobile && $deviceInfo.isPortrait
+ let btn: HTMLButtonElement
@@ -333,11 +340,12 @@
width="min-content"
size="small"
kind="no-border"
- on:click={(ev) => {
+ bind:input={btn}
+ on:click={() => {
showPopup(
ColorPopup,
{ value: states, searchable: true, placeholder: ui.string.SearchDots },
- eventToHTMLElement(ev),
+ btn,
(result) => {
if (result && result.id) {
selectedState = { ...result, _id: result.id, title: result.label }
@@ -347,10 +355,13 @@
)
}}
>
-
+
{#if selectedState}
{selectedState.title}
+ {:else}
+
+
{/if}
@@ -382,4 +393,19 @@
text-overflow: ellipsis;
overflow: hidden;
}
+
+ .empty {
+ .color {
+ border-color: var(--content-color);
+ }
+ .label {
+ color: var(--content-color);
+ }
+ &:hover .color {
+ border-color: var(--accent-color);
+ }
+ &:hover .label {
+ color: var(--accent-color);
+ }
+ }
diff --git a/plugins/tags-resources/src/components/TagsDropdownEditor.svelte b/plugins/tags-resources/src/components/TagsDropdownEditor.svelte
index f9fe9cab6e..d19276840b 100644
--- a/plugins/tags-resources/src/components/TagsDropdownEditor.svelte
+++ b/plugins/tags-resources/src/components/TagsDropdownEditor.svelte
@@ -73,12 +73,15 @@
async function removeTag (id: Ref
): Promise {
dispatch('delete', id)
}
+ $: console.log('[!!!] items: ', items)
+ $: console.log('[!!!] items - count: ', items.length)
diff --git a/plugins/tracker-resources/src/components/ProjectSelector.svelte b/plugins/tracker-resources/src/components/ProjectSelector.svelte
index 89b05bdcc7..b7f61799dd 100644
--- a/plugins/tracker-resources/src/components/ProjectSelector.svelte
+++ b/plugins/tracker-resources/src/components/ProjectSelector.svelte
@@ -117,9 +117,9 @@
on:click={handleProjectEditorOpened}
>
diff --git a/plugins/tracker-resources/src/components/issues/timereport/EstimationEditor.svelte b/plugins/tracker-resources/src/components/issues/timereport/EstimationEditor.svelte
index acfeb58dc8..88b32cb357 100644
--- a/plugins/tracker-resources/src/components/issues/timereport/EstimationEditor.svelte
+++ b/plugins/tracker-resources/src/components/issues/timereport/EstimationEditor.svelte
@@ -79,6 +79,7 @@