Logo Hof Cp Popover

Hof Cp Popover

Tổ chức
openreachtech
hof-cp-popover

Use when building a floating panel anchored to a trigger, or a hover/focus hint, in a repo that consumes @openreachtech/furo-vue — "floating panel", "inline edit popup", "action panel", "hover hint", "tooltip". Routes to FuroPopover, FuroTooltip.

Tổng quan

Nhà phát hànhopenreachtech
Kho mãhora-skills-ort-furo
Tên kỹ nănghof-cp-popover
Sao
32
Bản fork
0
Tệp đi kèm
Chỉ có hướng dẫn
Giấy phépApache-2.0
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • Hướng dẫn có đủ mọi thứ cần thiết

    Mọi thứ mô hình cần đều nằm trong hướng dẫn — không có tệp bổ sung cần đồng bộ.

  • Mã nguồn mở

    Được openreachtech công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Hof Cp Popover trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/openreachtech/hora-skills-ort-furo/tree/main/kit/skills/hof-cp-popover
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/openreachtech/hora-skills-ort-furo.git /tmp/hora-skills-ort-furo
mkdir -p .claude/skills
cp -r /tmp/hora-skills-ort-furo/kit/skills/hof-cp-popover .claude/skills/hof-cp-popover
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Hof Cp Popover trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Hof Cp Popover ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Hof Cp Popover với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

FuroPopover / FuroTooltip

Both are floating-overlay molecules anchored to a trigger slot, but they solve different problems. FuroPopover is a click-triggered surface that holds any interactive content (inline cell edit forms, action menus, small panels) and can be modal (focus-trapped). FuroTooltip is a hover/focus-only hint — non-interactive by convention, shows short text (or a rich content slot), and opens after a configurable delay. Pick based on trigger interaction (click vs. hover/focus) and content interactivity (form/buttons vs. plain text), not on visual similarity.

  • Layer: molecule
  • Import: import { FuroPopover, FuroTooltip } from '@openreachtech/furo-vue'
  • Manifest entry: node_modules/@openreachtech/furo-vue/public/furo-vue/components.json → components[].name === 'FuroPopover' / 'FuroTooltip'

Read the manifest before writing markup if you need to confirm this information is still current — the library may have added props/events since this skill was written.

When NOT to use

  • Needs a menu of discrete actions (not a click-anchored surface with slot content) → use hof-cp-dropdown-menu.
  • Content must block the whole page or demand an explicit decision → use hof-cp-dialog (FuroDialog / FuroAlertDialog), not a modal FuroPopover.
  • Needs a persistent side panel → use hof-cp-dialog (FuroDrawer).
  • Plain collapsible section inline in the page flow (no floating/anchored positioning) → use hof-cp-collapsible.
  • Just want a static text hint with no hover behavior (e.g. always-visible helper text next to a field) → use hof-cp-control-block's hint area, not FuroTooltip.

Props

Both components take a single parcel prop — no other props.

PropTypeDefaultNotes
parcelPopoverParcel | null (FuroPopover) / TooltipParcel | null (FuroTooltip)nullReactive data object holding positioning, disabled, and optional controlled open state. FuroPopover's also has modal; FuroTooltip's also has text and delayDuration.

parcel fields

FuroPopover

FieldTypeDefaultNotes
side'top' | 'right' | 'bottom' | 'left''bottom'Edge of the trigger the content prefers.
align'start' | 'center' | 'end''center'Alignment along the chosen side.
sideOffsetnumber4Gap in pixels between trigger and content.
disabledbooleanfalseWhen true, the trigger never opens the popover.
modalbooleanfalseWhen true, focus is trapped and outside interaction is blocked while open.
openboolean | nullnullWhen set (non-null), open state is controlled by the consumer; otherwise the component manages it internally.

FuroTooltip

FieldTypeDefaultNotes
textstringnullTooltip body shown when no content slot is supplied.
side'top' | 'right' | 'bottom' | 'left''top'Edge of the trigger the content prefers.
align'start' | 'center' | 'end''center'Alignment along the chosen side.
sideOffsetnumber4Gap in pixels between trigger and content.
delayDurationnumber200Delay in milliseconds before the tooltip opens on hover.
disabledbooleanfalseWhen true, the tooltip never opens.
openboolean | nullnullWhen set (non-null), open state is controlled by the consumer; otherwise the component manages it internally.

Events

ComponentEventPayloadFires when
FuroPopoveropen:change{ open: boolean }Whenever the open state changes (trigger click, outside click, or Escape).
FuroTooltipopen:change{ open: boolean }Whenever the open state changes (hover, focus, or dismissal).

Slots

FuroPopover

SlotDescription
triggerThe element the popover is anchored to. Focusable by default (rendered as a button).
contentThe popover body. Holds any interactive content.

FuroTooltip

SlotDescription
triggerThe element the tooltip is anchored to. Focusable by default (rendered as a button).
contentRich tooltip body. Falls back to parcel.text when omitted.

Fallthrough attributes on FuroPopover

FuroPopover hands every fallthrough attribute, class and style included, to the trigger button. The trigger keeps the attributes it sets itself:

AttributeLands on
class, style, aria-label, data-*, title, …the trigger button
idnowhere: the trigger keeps its generated id
aria-haspopup, aria-expanded, aria-controls, data-statenowhere: the trigger's own values win

Do not hang a <label for> or an aria-* reference off a consumer id. Put the id on a wrapper element you own, or on the content you pass through a slot.

Usage

vue
<script>
import {
  FuroPopover,
  FuroTooltip,
} from '@openreachtech/furo-vue'

export default {
  components: {
    FuroPopover,
    FuroTooltip,
  },
}
</script>

<template>
  <FuroPopover
    :parcel="{ side: 'bottom', align: 'start', modal: true }"
    @open:change="context.onEditPopoverOpenChange({ payload: $event })"
  >
    <template #trigger>
      Edit price
    </template>

    <template #content>
      <form @submit.prevent="context.onSubmitPriceEdit()">
        <input
          v-model="context.priceFormValue"
          type="number"
        >
        <button type="submit">
          Save
        </button>
      </form>
    </template>
  </FuroPopover>

  <FuroTooltip :parcel="{ text: 'Shows the total including tax', side: 'top' }">
    <template #trigger>
      <span>Total</span>
    </template>
  </FuroTooltip>
</template>

Rules (per project conventions)

  • Neither component follows the form-control (parcel.value + v-model:value) contract — they are overlay/visibility components. Drive open state either uncontrolled (omit parcel.open) or controlled via parcel.open + listening to open:change (there is no update:open event on these two, unlike FuroDialog/FuroDrawer — do not assume v-model:open works here).
  • Never import the underlying headless primitive (reka-ui's PopoverRoot, etc.) — only the public FuroPopover / FuroTooltip exports.
  • Keep business logic (what happens on open/close, what the popover form submits) in the page/component Context, not inline in the template.
  • Pass only the parcel keys this skill lists. A component reads the keys it names and ignores the rest, so a mistyped key changes nothing and reports nothing, so check a key against the manifest rather than trusting silence.

Câu hỏi thường gặp

Kỹ năng AI Hof Cp Popover làm được gì?

Use when building a floating panel anchored to a trigger, or a hover/focus hint, in a repo that consumes @openreachtech/furo-vue — "floating panel", "inline edit popup", "action panel", "hover hint", "tooltip". Routes to FuroPopover, FuroTooltip.

Vì sao nên dùng Hof Cp Popover trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Hof Cp Popover là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Hof Cp Popover trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/openreachtech/hora-skills-ort-furo/tree/main/kit/skills/hof-cp-popover. TypingMind đọc tệp SKILL.md rồi cài đặt kỹ năng để bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Hof Cp Popover?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Hof Cp Popover với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Hof Cp Popover với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Hof Cp Popover có miễn phí không?

Có. Kỹ năng này được openreachtech phát hành trên GitHub theo giấy phép Apache-2.0. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇