feat(icon): Notion-style icon picker + custom workspace emojis; fix side peek file content & ctx menu overflow
FlowDeck CI / lint (push) Successful in 45s
FlowDeck CI / test (push) Failing after 3h6m55s
FlowDeck CI / docker (push) Skipped

This commit is contained in:
2026-09-12 20:05:53 -04:00
parent 19e8ba0e4a
commit da3e09c215
16 changed files with 766 additions and 53 deletions
+12
View File
@@ -114,3 +114,15 @@
<svg width="{{s}}" height="{{s}}" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2"/><circle cx="12" cy="7" r="4"/></svg>
{%- endif -%}
{%- endmacro -%}
{#- Renders a page_icon value: custom-emoji image URL, known icon name, or emoji. -#}
{%- macro fd_page_icon(value, size=18) -%}
{%- set v = (value or '')|string|trim -%}
{%- if v.startswith('/') or v.startswith('http') -%}
<img src="{{ v }}" alt="" style="width:{{ size }}px;height:{{ size }}px;object-fit:contain;vertical-align:middle;display:inline-block;">
{%- elif v in ("folder","file","calendar","clock","star","bot","users","globe","lock","book","check-square","trash","help-circle","settings","refresh","log-out","message-square","home","search","link","plus","bell","image","download","list","bar-chart","grid","align-left","corner-down-right","copy","key","inbox","edit","eye","share","x","paperclip","external-link","sparkles","lightbulb","tag","file-text","save","upload","trending-up","zap","alert-triangle","user") -%}
{{ fd_icon(v, size) }}
{%- else -%}
{{ v }}
{%- endif -%}
{%- endmacro -%}