Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

h-spreadsheet: additional features #373

Open
6 of 18 tasks
ninetteadhikari opened this issue Oct 17, 2022 · 3 comments
Open
6 of 18 tasks

h-spreadsheet: additional features #373

ninetteadhikari opened this issue Oct 17, 2022 · 3 comments
Labels
epic For larger pieces of work UI UI Components
Milestone

Comments

@ninetteadhikari
Copy link
Member

ninetteadhikari commented Oct 17, 2022

Additional features:

image

image

new-spreadsheet-design

  • Delete a single row: Click on a single cell and right click

image

  • Delete a single row: Hover on the row index number and click on the checkbox and right click

image

  • Delete multiple selected rows: Hover on multiple row index numbers and click on the checkboxes, then right click on one of the selected rows. For all record deletion, display confirmation dialog (as shown when two records are selected)

image

![Uploading image.png…]()

image

right-click-spreadsheet

image

move-row-spreadsheet

For future enhancements:

  • Add view/edit event/hook (not sure if its done yet) - tap into the logic to double-click functionality
  • improvement on setting data type by column
  • allow user to control the width of the column
  • allow devs to merge cells (header cells): example from ElementUI: https://element.eleme.io/#/en-US/component/table#grouping-table-head
  • allow users to freeze/fix certain columns
  • allows user to use tab key to switch cells
  • make the '+' add button to be sticky at the bottom when the table is long
  • Select a row height. Provide a set of predefined row heights a user can select:
  • Short (1 line)
  • Medium (2 lines)
  • Tall (4 lines)
  • Extra Tall (6 lines)

image

  • Summary of sort columns:
    image

  • Highlight entire row when right clicking the row

#286

Originally posted by @andrewtpham in #355 (comment)

@andrewtpham
Copy link
Member

andrewtpham commented Oct 25, 2022

@michaelbukachi tested in develop, looks really good. Here's a few more things we can continue working on:

  • When a single checkbox is selected and a user right clicks, the single record menu should display:

Image

Currently the delete all selected records menu displays. This should only display when 2 or more rows are selected.

  • We can add the summary of hide/display columns when a user clicks the + icon on the far right column of the spreadsheet
  • We can add the right click when a user clicks the column icon or right clicks on the column header to display the column menu:

Image

  • We can add the ability to move columns by dragging and dropping
  • We can add the ability to move rows by dragging and dropping

@amosnjoroge
Copy link
Contributor

amosnjoroge commented Oct 25, 2022

Additional issues:

  • When deleting multiple records reset the checked state of the checkboxes.
  • Highlight a row by both left and right click. When right clicking highlight the row before the right click pop up is displayed.
  • Tab key navigation to the next cell during edit (nice to have, lower priority)

@andrewtpham
Copy link
Member

@michaelbukachi for the hide column icon, you can use the eye icon el-icon-view and we can figure out how to put a slash through it

Image

@andrewtpham andrewtpham added UI UI Components and removed hackathon labels Nov 5, 2022
@andrewtpham andrewtpham modified the milestones: November 22, February 23 Jan 20, 2023
@ninetteadhikari ninetteadhikari modified the milestones: February 23, March 23 Mar 6, 2023
@andrewtpham andrewtpham removed this from the March 23 milestone Oct 12, 2023
@andrewtpham andrewtpham added this to the Dec 2023 milestone Nov 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
epic For larger pieces of work UI UI Components
Projects
None yet
Development

No branches or pull requests

4 participants