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

[META] [FEATURE] Simplify model input configurations #491

Closed
5 tasks done
ohltyler opened this issue Nov 20, 2024 · 1 comment · Fixed by #504
Closed
5 tasks done

[META] [FEATURE] Simplify model input configurations #491

ohltyler opened this issue Nov 20, 2024 · 1 comment · Fixed by #504
Labels
feature A new feature for the plugin v2.19.0

Comments

@ohltyler
Copy link
Member

ohltyler commented Nov 20, 2024

To flexibly handle all input types for a model (static fields, transforms, document fields, templates, etc.), we can have a more structured UI for configuring. The current UI just allows freeform text or a dropdown of available fields, if found. In the end, it is all converted just to text anyways. Below are some of the target mockups highlighting the different input types we should explicitly show:

Screenshot 2024-11-20 at 9 57 17 AM
Screenshot 2024-11-20 at 9 57 26 AM

To accomplish this, we will need to do the following:

@ohltyler ohltyler added feature A new feature for the plugin v2.19.0 labels Nov 20, 2024
@ohltyler ohltyler changed the title [FEATURE] Simplify model input configurations [META] [FEATURE] Simplify model input configurations Nov 20, 2024
@kamingleung
Copy link

A small adjustment to UI for Prompt and Expression:

  • For initial state, we can remove the pencil icon in the "Configure" button. Click on the Configure button will open the prompt/expression modal.
  • For the inputted state, we can use plain text and the pencil icon. Clicking on the pencil icon will open the prompt/expression modal. The read only text field may confuse users into thinking it can be editable inline.

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature A new feature for the plugin v2.19.0
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants