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

Feature request: Add function explorer panel in Query Builder for user defined functions #819

Closed
7 of 8 tasks
YannanGao-gs opened this issue Jan 27, 2022 · 1 comment · Fixed by #888
Closed
7 of 8 tasks
Assignees
Labels
Component: Query Builder Issues related to query builder core Studio Core Team Opened by a member of the Studio core team Type: Feature Request
Milestone

Comments

@YannanGao-gs
Copy link
Contributor

YannanGao-gs commented Jan 27, 2022

Similar requests

  • I have searched and found no existing similar requests

How are you using Studio?

Legend Studio

What problems are you trying to solve?

To enhance our user experience in using user-defined functions in the query builder.
Adding a function explorer panel would give users ability to explorer functions defined in the project and drag and drop into fetch structure panel.

Implementation Ideas/Steps

  • Enable a new panel for user-defined functions
  • Two modes of displaying by package or flatten out by function name
  • CONSIDER Leverage the doc.doc tag value so producers of function can add documentation for the function and consumers can read tag value and learn what function does
  • For functions whom return type is primitive users can DND directly into fetch structure.
  • Drag and drop into derivation panel
  • CONSIDER include on the fly calculated attributes where users can reuse defined attributes within query builder: @akphi - I have thought about this and I think we can support it but it doesn't have to persistable, meaning that within one editing session, the user can create their calculated attribute to save time, then DnD it etc. but this will not exist in the next editing session (I have seen this behavior in Google Sheets before with number format)
  • CONSIDER add a dropdown somewhere to enable/disable panels to show as we start to have too many panels (parameters, setup, explorer, functions, calculated attributes, etc.)
demo.mov
@github-actions github-actions bot added the Studio Core Team Opened by a member of the Studio core team label Jan 27, 2022
@MauricioUyaguari MauricioUyaguari added this to the 4.0.0 milestone Jan 27, 2022
@MauricioUyaguari MauricioUyaguari added Component: Query Builder Issues related to query builder core Application: Studio Issues related to Legend Studio application and removed Application: Studio Issues related to Legend Studio application labels Jan 27, 2022
@MauricioUyaguari MauricioUyaguari changed the title Feature request: Support a panel for user-defined functions in Query Builder Feature request: Add function explorer panel in Query Builder for user defined functions Jan 27, 2022
@akphi
Copy link
Contributor

akphi commented Jan 28, 2022

I have updated the list a bit to add my own refinement to the implementation plan

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: Query Builder Issues related to query builder core Studio Core Team Opened by a member of the Studio core team Type: Feature Request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants