feat(forms): merge notes tab into main info for activity and deal forms; show activity hashtags
- Activity form: notes/tags card inline, live hashtag preview, focus notes when required - Hashtags shown in activity detail (clickable search) and list rows; search accepts #tag - Deal form: remove mobile tabs Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -983,6 +983,10 @@ onUnmounted(() => {
|
||||
{{ item.title }}
|
||||
</RouterLink>
|
||||
<p v-if="subtitle(item)" class="sub">{{ subtitle(item) }}</p>
|
||||
<p v-if="item.tags?.length" class="row-tags">
|
||||
<span v-for="t in item.tags.slice(0, 3)" :key="t">#{{ t }}</span>
|
||||
<span v-if="item.tags.length > 3">+{{ toFaDigits(item.tags.length - 3) }}</span>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<div v-if="colOn('who')" class="who">
|
||||
@@ -1727,6 +1731,22 @@ time.note {
|
||||
gap: 0.25rem;
|
||||
}
|
||||
|
||||
.row-tags {
|
||||
margin: 0.2rem 0 0;
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 0.25rem;
|
||||
}
|
||||
|
||||
.row-tags span {
|
||||
background: #f0fdfa;
|
||||
color: #0f766e;
|
||||
border-radius: 999px;
|
||||
padding: 0.05rem 0.45rem;
|
||||
font-size: 0.7rem;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.customer {
|
||||
display: grid;
|
||||
gap: 0.15rem;
|
||||
|
||||
Reference in New Issue
Block a user