Skip to content
This repository was archived by the owner on Sep 3, 2025. It is now read-only.

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
@wssheldon wssheldon requested a review from kevgliss February 27, 2023 19:41
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 subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

enhancement New feature or request javascript Pull requests that update Javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants