Skip to content

Tickets - Add/Remove columns in tabular view #5311

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

Open
6 of 7 tasks
sanmont3drepo opened this issue Dec 17, 2024 · 1 comment
Open
6 of 7 tasks

Tickets - Add/Remove columns in tabular view #5311

sanmont3drepo opened this issue Dec 17, 2024 · 1 comment
Assignees

Comments

@sanmont3drepo
Copy link
Contributor

sanmont3drepo commented Dec 17, 2024

Description

Product issue: https://github.com/3drepo/3D-Repo-Product-Team/issues/443
For providing more flexibility to users to be able to customize the view in tabular view we want to add the abilty to add and remove columns.
In this new feature we are going to add a gear representing the configuration of the table. After clicking there we are going to show a searchable select box (like the one in multi select in tickets) showing all the possible columns which includes all the current columns + properties + moduleproperties.
After the user selects or deselect the columns for the table the columns are added or removed to each table group

(there is some overlap of goals with #5310)

Goals

  • As a viewer+ I want to be able to remove some columns i do not care about
  • As a viewer+ I want to be able to add additional columns for custom properties that I want to see
  • As a viewer+, when I change the table, retain the column width if the column remains.
  • As a viewer+, when I remove a column, retain the preferred width if I were to reinstate it within that session.

Tasks

  • Add the extra column with the gear
  • Add the multi-select option with the available/selected columns
  • Modify redux files to update the table with the new columns values

Related Resources

MockUp

Amantini1997 added a commit that referenced this issue Feb 13, 2025
Amantini1997 added a commit that referenced this issue Feb 13, 2025
Amantini1997 added a commit that referenced this issue Feb 13, 2025
Amantini1997 added a commit that referenced this issue Feb 13, 2025
Amantini1997 added a commit that referenced this issue Feb 25, 2025
Amantini1997 added a commit that referenced this issue Feb 26, 2025
…mplate and data is lost when template changes
@Didi-Kwan
Copy link

Acceptance criteria

  • User clicking on the gear icon able to open the columns selection dialogue.
  • User able to search columns inside the dialogue.
  • User able to select/deselect columns inside the dialogue.
  • User able to scroll through the dialogue to view all columns.
  • If the length of column name exceed the dialogue box, make sure to shorten it and generate a tooltip to display full name if cursor hovering on it.
  • The available columns should include both active and deprecated properties inside the selected ticket template.
  • Selected columns should move to the front of the column list.
  • The column should be added to the table immediately after selecting the column in the dialogue.
  • The new column should be added at the end of the table with default width.
  • The new column data should update immediately.
  • If the length of column name exceed the column width, make sure to shorten it and generate a tooltip to display full name if cursor hovering on it.
  • When adding new column, other columns width should not be affected.
  • If two or more columns have the same name, adding new column to the table should be based on selection in the dialogue, not label.
  • The column should be removed from the table immediately after deselecting the column in the dialogue.
  • No data loss, misalignment or overlapping should occur in other cells after removing the column.
  • When removing a column, other columns width should not be affected.
  • If two or more columns have the same name, removing a column from the table should be based on deselection in the dialogue, not label.
  • If the user select the removed column again, the column width should be the same as before it got removed.
  • Make sure the columns stays the same when user use existing functions which updates the table such as add/remove models, change to other ticket type back and forth, apply grouping.
  • If user change to other ticket type which some columns are not available, the columns should be removed automatically.
  • Ensure adding/removing column of a table also applied to other tables when grouping is applied.
  • Refresh the page/Re-enter the tabular view should restore everything back to default state. (e.g. Display the table with default columns and default column width.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants