Skip to content

FOLLOW-UP: Non-canonical Deprecated: godoc marker for WithOpen #307

@adnaan

Description

@adnaan

Context

This follow-up task was identified during the review of PR #292.

Source PR: #292
Suggested by: @claude[bot]

Task Description

The current comment format:

// WithOpen is a no-op. Open/close is now handled client-side via CSS classes.
// Deprecated: This option has no effect.
func WithOpen(_ bool) Option {

Go tools (and IDEs) recognize the canonical form where Deprecated: appears as the first sentence:

// Deprecated: WithOpen is a no-op; open/close is now handled client-side via CSS classes.
func WithOpen(_ bool) Option {

This enables IDE strike-through and static analysis warnings for callers.

Affected files: All */options.go files with WithOpen across dropdown, menu, drawer, popover, datepicker, timepicker.


This issue was automatically created from PR #292 review comments.

Metadata

Metadata

Assignees

No one assigned

    Labels

    follow-upFollow-up task from PR reviewfrom-reviewIssue originated from PR review

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions