appsmithorg / appsmith

Platform to build admin panels, internal tools, and dashboards. Integrates with 25+ databases and any API.
https://www.appsmith.com
Apache License 2.0
33.79k stars 3.64k forks source link

[Feature] Tag Group Widget #6447

Open areyabhishek opened 3 years ago

areyabhishek commented 3 years ago

Summary

I saw this request on reddit where a user wants to generate a list of buttons dynamically. See below.

Screenshot_20210808-001813

Another adjacent idea: Generate list of items from an API response inside a menu button

Front logo Front conversations

somangshu commented 3 years ago

IIUC, we need a component which can loop our action here. After that pretty much everything is straightforward. I dont see how a button group/ Menu button widget solve the problem

Nikhil-Nandagopal commented 3 years ago

This is a classic example of using a list widget or giving the #4889 a data property. Closing this in favor of that

areyabhishek commented 3 years ago

This issue is a bit different from button group widget. See message below on Discord with a similar use case. Screenshot_20210827-123915

hetunandu commented 3 years ago

https://www.lightningdesignsystem.com/components/pills/

areyabhishek commented 3 years ago

Even GitHub uses one.

Screen Shot 2021-08-27 at 12 53 01 PM
codexsmith commented 3 years ago

IIUC, we need a component which can loop our action here. After that pretty much everything is straightforward. I dont see how a button group/ Menu button widget solve the problem

"loop our action" oh! Yes! a looping widget generator would solve the problem in a more generic/reusable fashion.

Nikhil-Nandagopal commented 3 years ago

Thank you all for the additional information! :)

dilippitchika commented 2 years ago

@andrewdietekoki check this out, this may the improvement on our current button group dynamism behavior