RamiAwar / dataline

Chat with your data - AI data analysis and visualization on CSV, Postgres, MySQL, Snowflake, SQLite...
https://dataline.app
GNU General Public License v3.0
502 stars 49 forks source link

Empty space for single item data results + broken scrollbar #255

Open RamiAwar opened 1 month ago

RamiAwar commented 1 month ago

Privileged issue

Issue Content

Visually annoying edge-case, but also breaks the horizontall scrollbar (can't drag it anymore) which is annoying. Users will have to workaround with shift + scroll (horizontal scroll)

image

Here the scrollbar doesn't work:

image

More icons shifted badly:

image
rohitt-gupta commented 2 weeks ago

hi can i work on this issue? if yes, please assign this to me @RamiAwar

RamiAwar commented 2 weeks ago

of course 🙂

RamiAwar commented 2 weeks ago

fyi the storybook components are a bit broken, im fixing them in my current PR. I could merge part of it if you wanna use that for testing. I think it'll make your life easier cause then you control the inputs to those components.

rohitt-gupta commented 2 weeks ago

I just realised that the backend is written in python, First i am exploring how to run the backend as i know very little python. Second on which frontend route i can reproduce this issue?

rohitt-gupta commented 2 weeks ago

cc: @RamiAwar image

anthony2261 commented 2 weeks ago

@rohitt-gupta you'll need to install python 3.11 on your Windows machine, at time of writing 3.11.9 is the most recent patch version. Then, you'll need to tell poetry to use that version that you just installed, see the instructions here.

There is one other alternative, in case you have docker installed on your system, we have a dev docker compose. If you don't have docker installed (and that last sentence did not make sense to you), no worries, you can just ignore this option and stick to installing python 3.11 😄

RamiAwar commented 2 weeks ago

We encourage using docker though, that's the simplest way to get started + installs all the deps for you! @rohitt-gupta

It will still work when you change the code - your changes would reflect instantly on both FE and BE. Only scenario where they wouldn't is if you install new dependencies, but that doesn't apply to this ticket.

rohitt-gupta commented 2 weeks ago

Alright, let me try that.