Skip to content

Latest commit

 

History

History
29 lines (23 loc) · 2.27 KB

File metadata and controls

29 lines (23 loc) · 2.27 KB

目录说明:src/components/hooks

目录定位

该目录主要放置 hooks,用于封装状态派生、副作用和复用交互逻辑。

目录快照

  • 相对路径:src/components/hooks
  • 直接文件数:6
  • 直接子目录数:0
  • 递归文件数:6
  • 主要文件类型:.tsx x 6

依赖关系观察

  • 该目录最常引用的仓库内目录:src (7)、src/utils/hooks (5)、src/components/design-system (5)、entrypoints (4)、src/components/CustomSelect (4)、src/utils (3)、src/keybindings (2)
  • 最常引用该目录的仓库内目录:src/screens (1)、src/commands/hooks (1)

直接文件说明

文件 行数 导出/关键符号 说明
HooksConfigMenu.tsx 578 HooksConfigMenu 配置读取或配置定义;导出符号以 HooksConfigMenu 为主,顶部注释说明:HooksConfigMenu is a read-only browser for configured hooks. Users can drill into each hook event, see configured mat...
PromptDialog.tsx 90 PromptDialog 提示词/提示模板定义;导出符号以 PromptDialog 为主,结合所在目录可判断其服务于 src/components/hooks 这条功能线。
SelectEventMode.tsx 127 SelectEventMode 界面组件或交互视图;导出符号以 SelectEventMode 为主,顶部注释说明:SelectEventMode is the entrypoint of the Hooks config menu, where the user sees the list of available hook events. Th...
SelectHookMode.tsx 112 SelectHookMode hook 或 hook 执行逻辑;导出符号以 SelectHookMode 为主,顶部注释说明:SelectHookMode shows all hooks configured for a given event+matcher pair. The /hooks menu is read-only: this view no ...
SelectMatcherMode.tsx 144 SelectMatcherMode 界面组件或交互视图;导出符号以 SelectMatcherMode 为主,顶部注释说明:SelectMatcherMode shows the configured matchers for a selected hook event. The /hooks menu is read-only: this view no...
ViewHookMode.tsx 199 ViewHookMode hook 或 hook 执行逻辑;导出符号以 ViewHookMode 为主,顶部注释说明:ViewHookMode shows read-only details for a single configured hook. The /hooks menu is read-only; this view replaces t...

直接子目录说明

该目录没有直接子目录。