Skip to content

docs(code): JSDoc pass on exported composables and utils — published export paths lack IDE docs #89

Description

@IgorShevchik

Background

Surfaced during the June 2026 multi-angle project audit (engineering review). JSDoc coverage is bimodal: props interfaces are exemplary (consistent @defaultValue, e.g. Select.vue, module.ts options, useComponentProps.ts), but exported functions are thin — and ./composables and ./utils are published exports paths in package.json, so this is consumer-facing IDE experience.

Numbers (audit count: exported functions with a preceding doc block)

  • Composables: ≈16/38 (~42%). Zero JSDoc on: defineShortcuts (arguably the most public API of all), useToast, usePortal, useFileUpload, useResizable, useScrollspy, useFilter.
  • Utils: ≈11/63 (~17%). runtime/utils/editor.ts 0/16, runtime/utils/form.ts 0/6, runtime/utils/index.ts 1/15.

Fix

A mechanical pass: one-line summary + @param/@returns (and a usage example for the big composables: defineShortcuts, useToast, useOverlay, useFileUpload). No behavior changes; vue-tsc and snapshots stay green.

Related but distinct: missing docs-site pages for 6 composables are tracked separately (docs-site issue); #48 covers the FormField #label slot page.

Priority: P3 — cheap, directly improves IDE experience for every consumer.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentationenhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions