rowyio / rowy

Low-code backend platform. Manage database on spreadsheet-like UI and build cloud functions workflows in JS/TS, all in your browser.
http://rowy.io
Other
6.14k stars 487 forks source link

Clicking on the "Insert to the left" button is not adding column at the correct position #1282

Closed rishipurwar1 closed 1 year ago

rishipurwar1 commented 1 year ago

Describe the bug When you click the "Insert to the left" button, it doesn't insert a new column on the left side of the selected column. Instead, it adds a new column one position before the selected column.

To Reproduce Steps to reproduce the behaviour:

  1. Go to any of the table pages
  2. Click on the 3-dot icon of any of the columns to open the dropdown menu
  3. Click on the "Insert to the left" button
  4. Add a new column
  5. See error

Video of the bug https://www.loom.com/share/381e8ab0680c43feaf513fcfee91febd

Expected behaviour Clicking on the "Insert to the left" button should add a new column on the left side of the selected column. https://www.loom.com/share/b4b70b0fb0a747dc802ced5562c2e339

rishipurwar1 commented 1 year ago

I am working on this issue. Soon, I will make a PR.