Skip to content

Replace result-type switches with lookup tables #86

Description

@2chanhaeng
  • Add a shared helper mapping resultType (and nested error type) to a
    message or navigation via a Record lookup, with one default for %other and
    %future added value.
  • Drop oxlint-disable-next-line max-statements in actors.tsx.
  • No GraphQL or behavior change.

Tracks the FIXME in packages/web/src/routes/workspace/create/[instance_id]/actors.tsx; instance.tsx in the same directory has the same pattern.

AI disclosure

The user asked Claude Code (claude-fable-5-1) to survey every FIXME comment in the codebase and draft an issue for each. The user read and edited the drafts, then directed Claude Code to file them through the GitHub CLI.

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

    enhancementNew feature or request

    Type

    No type

    Fields

    Priority

    None yet

    Effort

    None yet

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions