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

Named actions #21

Open
9 tasks
alex-dixon opened this issue Dec 28, 2017 · 0 comments
Open
9 tasks

Named actions #21

alex-dixon opened this issue Dec 28, 2017 · 0 comments

Comments

@alex-dixon
Copy link
Contributor

UI should have an expand/collapse table with human readable names that correspond to actions, or facts unconditionally inserted from outside the session that correspond to event 0 of each state

image

  • Actions should be discoverable within the devtool at runtime or registered in Precept and sent to the devtools ahead of time
  • Each row's title should default to the inserted fact
  • Each row's title should be customizable via a text input
  • When a custom row title is added, it should be paired with the fact it corresponds to and written to a .precept-config.edn file via the server
  • Actions defined in the app that are not identified by fact should not be persisted
  • Each row should contain a delta icon that lights up when an action fires
  • A state view contextual to the action and its resultant calculations should be visible within the action's table cell
  • A line chart should be used to represent fact inserted by the action as shown in the drawing above. Lines indicating additions and removals should be shown.
  • defconseq should be added to Precept as an optional drop-in replacement for then that registers the action by its name, namespace, and the facts it inserts. Note these may not be resolved at runtime.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant