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:
@@ -316,6 +316,16 @@ onMounted(() => {
|
||||
<UiIcon name="building" :size="14" />
|
||||
{{ subtitle }}
|
||||
</p>
|
||||
<div v-if="activity.tags?.length" class="tags">
|
||||
<RouterLink
|
||||
v-for="t in activity.tags"
|
||||
:key="t"
|
||||
class="tag"
|
||||
:to="{ name: 'activities', query: { q: t, filter: 'all' } }"
|
||||
>
|
||||
#{{ t }}
|
||||
</RouterLink>
|
||||
</div>
|
||||
</div>
|
||||
<span class="type-ico" :style="typeColorStyle(typeView!.color)">
|
||||
<UiIcon :name="typeView!.icon" :size="22" />
|
||||
@@ -612,6 +622,23 @@ h1 {
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.tags {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 0.3rem;
|
||||
margin-top: 0.5rem;
|
||||
}
|
||||
|
||||
.tag {
|
||||
background: #f0fdfa;
|
||||
color: #0f766e;
|
||||
border-radius: 999px;
|
||||
padding: 0.15rem 0.55rem;
|
||||
font-size: 0.76rem;
|
||||
font-weight: 600;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.type-ico.sm {
|
||||
width: 28px;
|
||||
height: 28px;
|
||||
|
||||
Reference in New Issue
Block a user