1
0
mirror of https://github.com/bitwarden/browser.git synced 2025-01-17 20:31:50 +01:00
bitwarden-browser/libs/components/src/table
SmithThe4th faf7e3d315
[PM-11201][CL-507] Add the ability to sort by Name, Group, and Permission within the collection and item tables (#11453)
* Added sorting to vault, name, permission and group

Added default sorting

* Fixed import

* reverted test on template

* Only add sorting functionality to admin console

* changed code order

* Fixed leftover test for sortingn

* Fixed reference

* sort permissions by ascending order

* Fixed bug where a collection had multiple groups and sorting alphbatically didn't happen correctly all the time

* Fixed bug whne creating a new cipher item

* Introduced fnFactory to create a sort function with direction provided

* Used new sort function to make collections always remain at the top and ciphers below

* extracted logic to always sort collections at the top

Added similar sorting to sortBygroup

* removed org vault check

* remove unused service

* Sort only collections

* Got rid of sortFn factory in favour of passing the direction as an optional parameter

* Removed tenary

* get cipher permissions

* Use all collections to filter collection ids

* Fixed ascending and descending issues

* Added functionality to default sort in descending order

* default sort permissions in descending order

* Refactored setActive to not pass direction as a paramater
2024-11-07 10:10:15 -05:00
..
cell.directive.ts [AC-1192] Create new device approvals component for TDE (#5548) 2023-06-15 14:53:21 -07:00
index.ts [SM-74] TableDataSource for sorting (#4079) 2023-01-12 17:06:58 -05:00
row.directive.ts [AC-1192] Create new device approvals component for TDE (#5548) 2023-06-15 14:53:21 -07:00
sortable.component.ts [PM-11201][CL-507] Add the ability to sort by Name, Group, and Permission within the collection and item tables (#11453) 2024-11-07 10:10:15 -05:00
table-data-source.ts [PM-11201][CL-507] Add the ability to sort by Name, Group, and Permission within the collection and item tables (#11453) 2024-11-07 10:10:15 -05:00
table-scroll.component.html [CL-343] Create a new table component for virtual scrolling (#10113) 2024-10-22 21:51:45 +02:00
table-scroll.component.ts [CL-343] Create a new table component for virtual scrolling (#10113) 2024-10-22 21:51:45 +02:00
table.component.html [CL-343] Create a new table component for virtual scrolling (#10113) 2024-10-22 21:51:45 +02:00
table.component.ts [CL-343] Create a new table component for virtual scrolling (#10113) 2024-10-22 21:51:45 +02:00
table.mdx [PM-11201][CL-507] Add the ability to sort by Name, Group, and Permission within the collection and item tables (#11453) 2024-11-07 10:10:15 -05:00
table.module.ts [CL-343] Create a new table component for virtual scrolling (#10113) 2024-10-22 21:51:45 +02:00
table.stories.ts [CL-343] Create a new table component for virtual scrolling (#10113) 2024-10-22 21:51:45 +02:00