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.85k stars 3.65k forks source link

[Bug]: Generate CRUD for mongo DB leads to broken experience #28989

Open sneha122 opened 10 months ago

sneha122 commented 10 months ago

Is there an existing issue for this?

Description

When I create a mongo db datasource and generate a page using one of the collections in that database, it leads to broken experience. Since we are thinking of adding datasource preview experience for mongo DB which has generate CRUD functionality, if users go through the flow, it will lead them to broken experience, we should fix this as it would directly affect the activation rate

https://github.com/appsmithorg/appsmith/assets/30018882/aa4c020d-9918-48a5-80c1-0d2c6a40be55

Steps To Reproduce

  1. Create a valid mongo DB datasource
  2. Generate a crud page using one of the collections
  3. Observe the generated flow

Public Sample App

No response

Environment

Production

Issue video log

No response

Version

Cloud - v1.8.6

dhruvchandak30 commented 10 months ago

@sneha122 By broken Experience you mean that a user cannot add more than 50 Attributes?

sneha122 commented 10 months ago

Hi @dhruvchandak30 Thanks for asking this question. To answer your question, by broken experience I mean that the table has a single row and on right side I cannot see or alter any of its properties, so we need to think of better UX experience so that we are able to use the mongoDB data in more efficient way. Hope this is clear!!

dhruvchandak30 commented 10 months ago

@sneha122 Thank you for the Clarification. For the UI we can do one thing, let the page be shown as it is but we add one more option of preview. Where a new tab is opened where the Data Table will be shown as it is it will look into real website, and an option of Minimize ( To see all the Attributes at once) or Maximize the page similar to Microsoft Excel. And If in a table we have only 1 row (as Shown) we can display the data in the form of key value pair Serial Number | Attribute | Value One Below the other.