Git Product home page Git Product logo

Comments (4)

lalalune avatar lalalune commented on August 20, 2024

Playtest needs to be redesigned--

  • [Data] button is a dropdown
    • [custom] option to enter own data as it is now
    • Default spell comes with default playtest data so users understand how to test
    • Default playtest UI which has form fields and a feedback, similar to now but unified data/chat input
    • plugins can add a custom copmponent to override the playtest window

Instead of trying to force a whole bunch of paradigms, letting each plugin add an event input type and custom playtest window will be easier to manage as a good UX IMO

from magick.

michaelsharpe avatar michaelsharpe commented on August 20, 2024

Notes for myself:

  • update spellManager to expose runComponent
  • create a new run methpd on the spellRunner service
  • spellRunner run method will trigger off a chgain from a specific node
  • create a stubbed our data object for each node before running. Figure out a way to attach this to the component being run to be automatically gotten by the playtest window
  • move allowed methods into service export

from magick.

lalalune avatar lalalune commented on August 20, 2024

We want to add three datatypes to start

Event input -- this is the current behavior -- sends a JSON object to the input, whatever is typed into the playtest goes out as the "content" field
String input -- sends whatever is typed directly to the input
Custom Data -- sends whatever data is in the "Data" tab

Parzival: We should also have data presets for different connectors I think. People should never have to open the data tab except perhaps for using the rest connector.

from magick.

michaelsharpe avatar michaelsharpe commented on August 20, 2024

totally agreed on data presets for all of them. And making your own data preset should eventually be thing.

from magick.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.