appsmith icon indicating copy to clipboard operation
appsmith copied to clipboard

[Feature] Grid Widget for layouts

Open somangshu opened this issue 3 years ago • 17 comments

Summary

A widget which can allow users to create a layout easily and help them make there applications responsive (for the grid content only).

  • The users should be able to next multiple grids to create complex layout easily.
  • The user should be able to set the number of sections inside the grid while nesting
  • the grids inside should always inherit the parent height automatically

Example

Front logo Front conversations

somangshu avatar Sep 08 '21 13:09 somangshu

@riodeuno need to have a technical discussion around this

somangshu avatar Sep 08 '21 13:09 somangshu

@somangshu do you know if we will be tackling this soon?

momcilo-appsmith avatar Oct 10 '21 22:10 momcilo-appsmith

@momcilo-appsmith that is right, We will need a technical discussion around this and then detail the PRD. We will take this up post that

somangshu avatar Oct 11 '21 07:10 somangshu

@riodeuno @somangshu Should we have a discussion about this soon?

momcilo-appsmith avatar Nov 29 '21 06:11 momcilo-appsmith

@somangshu If we were to build this widget we would also solve the issue linked below, right? https://github.com/appsmithorg/appsmith/issues/4138

momcilo-appsmith avatar Nov 29 '21 07:11 momcilo-appsmith

@momcilo-appsmith why do you say that, #4138 according to me is to show simple data in a tabular / list format.

somangshu avatar Jan 06 '22 09:01 somangshu

Screenshot 2022-01-26 at 12 37 53 PM Feature request on intercom

pranavkanade avatar Jan 26 '22 07:01 pranavkanade

Hi Friends,

Laying out a UI with absolute coordinates is is quite difficult and old fashioned. It is better to have basic Layout widgets to support responsiveness and to make the design process a lot more simple.

Some suggestions:

  • RowLayout
  • ColumnLayout
  • GridLayout

mnesarco avatar Jan 30 '22 15:01 mnesarco

@dilippitchika @somangshu @areyabhishek I think we should prioritize this issue soon. Would like to pick it up with our design team.

momcilo-appsmith avatar Feb 02 '22 23:02 momcilo-appsmith

@mnesarco thanks for adding more context here, We appreciate it, This will help us triage the issue further

somangshu avatar Feb 09 '22 07:02 somangshu

I think we need to do a POC on this using the list widget, i believe these are the requirements but would want to refine them once with you @somangshu @momcilo-appsmith

Creating a grid widget POC using the list widget The properties we need to expose to the devs for the POC are

  1. No. of items in a row - A number which the dev configures to show the amount of list items horizontally. Ex - 3 items in a row.
  2. Item horizontal spacing - Similar to item spacing field in the list we need a horizontal spacing field.

Out of scope

  1. Responsiveness - Will need some discussions around it.

dilippitchika avatar Apr 12 '22 10:04 dilippitchika

@dilippitchika i think for 1.) We should do it based on the total available width and height and the item dimensions. User based configurations will have to be handled otherwise and might look unexpected or ugly.

Can we checkout some example in the market to identify the right behaviour, Meanwhile the discussion around list widget will resolve the other challenges that we might face on the grid widget. Right now doing a POC is not going to be possible.

somangshu avatar Apr 14 '22 07:04 somangshu

An internal user was looking for this - https://www.notion.so/appsmith/Rishabh-Kashyap-85ea180b031b42e58ef0f7a4910580cf

dilippitchika avatar Jul 05 '22 10:07 dilippitchika

Another user reached out to us about this - https://discord.com/channels/725602949748752515/1021675257897168937

pranavkanade avatar Sep 20 '22 07:09 pranavkanade

Another user reached out to us about this - https://discord.com/channels/725602949748752515/1021675257897168937

It would be great if we can dynamically add widgets when looping through an array

codefromrvk avatar Sep 20 '22 07:09 codefromrvk

Hello folks, we are picking up the grid widget. If this is still something that you are interested in, it would help us if we could understand your usecase. Please book a slot here to discuss this feature with us - https://calendly.com/dilip_pitchika/30min?month=2022-10

dilippitchika avatar Oct 20 '22 08:10 dilippitchika

[internal] Some initial research i did - https://www.notion.so/appsmith/Grid-widget-9fa1752c370e47339f5eec68a8794098 @shastry-gg

dilippitchika avatar Dec 05 '22 08:12 dilippitchika

[ Internal] Notion, Outlining work done on grid.

Parked until the responsive behaviour for 2d widgets are finalized, to avoid a platform change for a grid widget.

shastryy avatar Dec 19 '22 11:12 shastryy

any updates on this ?

n4l5u0r avatar Mar 10 '23 09:03 n4l5u0r

I had asked about this in the community forum: https://community.appsmith.com/t/is-there-a-card-widget-or-horizontal-list-view/1685 Just so things are interlinked.

michacassola avatar Mar 26 '23 12:03 michacassola

@n4l5u0r @michacassola thanks for showing the interest here. This is still not prioritized, essentially we will be picking this up after shipping the responsiveness project.

While we triage this further, can you folks help us understand you use case?

somangshu avatar Mar 27 '23 10:03 somangshu

Yes please

Charuru avatar Aug 11 '23 14:08 Charuru

I want a grid like widget shown in the image, with invisible buttons, which means i can do multiple selection and later i can build logic to get each selected items details using form widget, then build logic/calculations.

Need to be auto-layout supported for mobile devices too.

I see this is open since 2021, is there plan to get this into roadmap ?

ashiqdcm avatar Sep 07 '23 04:09 ashiqdcm

Any updates?

OverWeo avatar Sep 13 '23 10:09 OverWeo

@ashiqdcm @DeskYT As pointed out before we will pick this up after the new responsive UI Building paradigm ships.

somangshu avatar Sep 20 '23 10:09 somangshu

@ashiqdcm @DeskYT As pointed out before we will pick this up after the new responsive UI Building paradigm ships.

OK got it, nice to have high level timeline if that is there already.

ashiqdcm avatar Sep 21 '23 05:09 ashiqdcm

We expect this to be picked up post Q2 next year

somangshu avatar Oct 03 '23 10:10 somangshu

Hey guys any updates on the grid layout under the list widget

umeshdiwekarrapiddata avatar Jan 30 '24 17:01 umeshdiwekarrapiddata

hi, any updates on this?

augustopena avatar Feb 20 '24 00:02 augustopena

Hey @augustopena @umeshdiwekarrapiddata we have recently launched the custom widget which could help you with your use case. Otherwise the grid widget as a building block is getting planned under a major re-design of our editor coming this year.

somangshu avatar Feb 28 '24 07:02 somangshu