Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

document editor store #118

Open
1 task
Tracked by #109
josephfusco opened this issue Apr 16, 2024 · 0 comments
Open
1 task
Tracked by #109

document editor store #118

josephfusco opened this issue Apr 16, 2024 · 0 comments
Labels
component: store Related to application store

Comments

@josephfusco
Copy link
Member

josephfusco commented Apr 16, 2024

The goal here is to have a Redux store registered that maintains the state of the document editor and handles user user actions.

Acceptance Criteria

  • uses registerStore() from @wordpress/data

Possible Public State

  • addTab
  • changeTab
  • moveTab
  • closeTab
    • preCloseTab (i.e. prevent closing without saving changes)
  • updateActiveTabValues
  • externalFragments
  • shouldPersistHeaders
  • setShouldPersistHeaders
  • validationRules
  • initialVariables
  • initialResponse
  • initialQuery
  • initialHeaders
  • setOperationName
  • setVariableEditor
  • setResponseEditor
  • setQueryEditor
  • setHeaderEditor
  • variableEditor
  • responseEditor
  • headerEditor
  • execute
  • stop
  • operationName
  • isSubscribed
  • isFetching
  • fetcher

Related

@josephfusco josephfusco mentioned this issue Apr 16, 2024
14 tasks
@josephfusco josephfusco added the component: store Related to application store label May 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: store Related to application store
Projects
None yet
Development

No branches or pull requests

2 participants