Skip to content

setValue is a prototype method the outgroup option overrides #142

Closed

Description

@jtklein-agents

Parent

#118

What to build

A behavioural rewrite that already works on MobX 5: MobX 6 and 7 reject the outgroup option's redeclared arrow action, so setValue becomes a prototype method on the option base and the outgroup option replaces it with its own method. The outgroup's "none" behaviour is unchanged.

Cut the worktree from the spec's feature branch spec/118-page-store-mobx-7 and open the pull request into it.

Acceptance criteria

  • setValue on the Option base class is a prototype method and still an action.
  • The outgroup option replaces it with its own prototype method; choosing a taxon clears "none" and choosing "none" clears the taxa, as before.
  • Every call site calls setValue on its option; none passes it unbound. This is checked across the page, not assumed.
  • The partition's reset is passed unbound and stays an arrow field.
  • MobX stays on 5 and the decorators stay.
  • The coverage tests and the parity test pass unchanged.
  • Jest, lint, the typecheck baseline check and the end-to-end suite pass.

Activity

  1. added
    ready-for-agent
    on Nov 14, 2026
  2. jtklein-agents commented on Nov 15, 2026

    @jtklein-agents
    OwnerAuthor

    Merged in #186 into spec/118-page-store-mobx-7.

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

    ready-for-agent

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions