Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Feature enhancement:reset action should empty the undo/redo stacks, but maintain/rebase the current state of the store/module at this point. #13

Closed
Assignees
andrewbeng89
Labels
enhancementNew feature or request
@andrewbeng89

Description

@andrewbeng89

This enhancement builds on from#7. The currentclear action will empty the undo/redo stacks and set the state of the store when theemptyState mutation is committed. Thenewreset action should empty the undo/redo stacks, but still maintain the state of the store up to this particular point.

IS

  • given done:[mutationA, mutationB], undone:[mutationC], state:emptyState + mutationA, mutationB
  • whenclear() is dispatched
  • then done:[], undone:[], state:emptyState

SHOULD

  • given done:[mutationA, mutationB], undone:[mutationC], state:emptyState + mutationA, mutationB
  • whenreset() is dispatched
  • then done:[], undone:[], state:emptyState + mutationA, mutationB

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions


    [8]ページ先頭

    ©2009-2025 Movatter.jp