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

Add Entity Type create dialog and Entity Type playground editor #3008

Merged
merged 30 commits into from Mar 2, 2023

Conversation

wssheldon
Copy link
Contributor

@wssheldon wssheldon commented Feb 16, 2023

Mockup

Divided areas are expandable with arrow buttons. Regex and JSONPath text area's auto-grow. Option to load signal data from prior signals or just put any arbitrary json blob. Highlight matching for values that match the supplied entity type pair (jsonpath +/- regex).

Retrieve list of all signal instances over last 30 days and run javascript version of find_entities function that checks the entity type pair supplied in realtime as the user updates the regex or jsonpath text area. Matches are returned and update the playground JSON object with any matches via CSS highlighting.

Screenshot 2023-02-16 at 9 23 28 AM

Create Dialog

Screenshot 2023-02-16 at 9 48 45 AM

MVP

The MVP here is everything minus the right hand side JSON playground. We should still check for matches with the supplied values and display a count + table of matches.

Implementation

Screenshot 2023-02-20 at 11 45 39 AM

@wssheldon wssheldon added enhancement New feature or request UI/UX javascript Pull requests that update Javascript code labels Feb 16, 2023
@wssheldon wssheldon marked this pull request as ready for review February 20, 2023 19:50
@wssheldon wssheldon changed the title initial scaffolding for mvp version of entity creation playground/dialog Add Entity Type create dialog and Entity Type playground editor Feb 20, 2023
Comment on lines +287 to +290
/**
* This function sets up the draggable feature for the signal table and the playground editor.
* Updates the editor value with the selected signal raw JSON when dragging ends.
*/
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
/**
* This function sets up the draggable feature for the signal table and the playground editor.
* Updates the editor value with the selected signal raw JSON when dragging ends.
*/

@kevgliss kevgliss merged commit 975ed2c into master Mar 2, 2023
@kevgliss kevgliss deleted the ehancement/entity-create-playground branch March 2, 2023 17:17
rutvijmehta-harness pushed a commit to rutvijmehta-harness/dispatch that referenced this pull request Mar 17, 2023
…lix#3008)

* initial scaffolding for mvp version of entity creation playground/dialog
rutvijmehta-harness added a commit to rutvijmehta-harness/dispatch that referenced this pull request Mar 17, 2023
…lix#3008) (#19)

* initial scaffolding for mvp version of entity creation playground/dialog

Co-authored-by: Will Sheldon <114631109+wssheldon@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request javascript Pull requests that update Javascript code UI/UX
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants