cosmos-explorer/src
Laurent Nguyen 7e95f5d8c8
Enable column selection and sorting in DocumentsTab (with persistence) (#1881)
* Initial implementation of saving split value to local storage

* Make table columns generic (no more id and partition keys)

* Save column width

* Add column selection from right-click

* Implement new menu for column selection with search.

* Switch icons and search compare with lowercase.

* Search uses string includes instead of startsWith

* Only allow data fields that can be rendered (string and numbers) in column selection

* Accumulate properties rather than replace for column definitions

* Do not allow deselecting all columns

* Move table values under its own property

* Update choices of column when creating new or updating document

* Rework column selection UI

* Fix table size issue with some heuristics

* Fix heuristic for size update

* Don't allow unselecting last column

* Implement column sorting

* Fix format

* Fix format, update snapshots

* Add reset button to column selection and fix naming of openUploadItemsPanePane()

* Fix unit tests

* Fix unit test

* Persist column selection

* Persist column sorting

* Save columns definition (schema) along with selected columns.

* Merge branch 'master' into users/languy/save-documentstab-prefs

* Revert "Merge branch 'master' into users/languy/save-documentstab-prefs"

This reverts commit e5a82fd356.

* Disable column selection for Mongo. Remove extra refresh button

* Update test snapshots

* Remove unused function

* Fix table width

* Add background color to "..." button for column selection

* Label to indicate which field is a partition key in Column Selection Pane

* Update unit test snapshot

* Move column selection and sorting behind feature flag enableDocumentsTableColumnSelection

* Cleanup checkbox styles
2024-09-05 17:43:40 +02:00
..
Bindings Update prettier to latest. Remove tslint (#1641) 2023-10-03 17:13:24 +02:00
CellOutputViewer Update prettier to latest. Remove tslint (#1641) 2023-10-03 17:13:24 +02:00
Common Point DE to new Mongo and Cassandra Proxies only and activate Cassandra Proxy in FF/MC (#1958) 2024-09-05 10:57:55 -04:00
Contracts Set AllowPartialScopes flag to true (#1900) 2024-07-08 16:30:14 -04:00
Controls/Heatmap Upgrade typescript to 4.9.5 and jest to 29.7.0 (and related packages) (#1884) 2024-07-30 15:41:41 -07:00
Definitions Fix datatables issue and indicator not loading for Table API > Entities. Upgrade jquery. Fix right panel resize issue. (#1713) 2024-01-03 14:52:34 +01:00
Explorer Enable column selection and sorting in DocumentsTab (with persistence) (#1881) 2024-09-05 17:43:40 +02:00
GalleryViewer Upgrade typescript to 4.9.5 and jest to 29.7.0 (and related packages) (#1884) 2024-07-30 15:41:41 -07:00
GitHub Make Data Explorer work on node v18 (#1654) 2023-12-13 10:24:40 -08:00
Juno Add Mongo Proxy to Data Explorer (Standalone and Portal) (#1738) 2024-02-09 10:58:10 -05:00
Libs Drop IE11 Support (#476) 2021-03-29 13:31:52 -05:00
Localization/en Fix spelling of Refresh for self-serve blades. (#1585) 2023-08-23 16:56:12 -07:00
NotebookViewer Upgrade typescript to 4.9.5 and jest to 29.7.0 (and related packages) (#1884) 2024-07-30 15:41:41 -07:00
Phoenix Add Mongo Proxy to Data Explorer (Standalone and Portal) (#1738) 2024-02-09 10:58:10 -05:00
Platform Enable column selection and sorting in DocumentsTab (with persistence) (#1881) 2024-09-05 17:43:40 +02:00
SelfServe Upgrade typescript to 4.9.5 and jest to 29.7.0 (and related packages) (#1884) 2024-07-30 15:41:41 -07:00
Shared Enable column selection and sorting in DocumentsTab (with persistence) (#1881) 2024-09-05 17:43:40 +02:00
Terminal Adds restarting vcore mongo shell if user enters wrong password (#1675) 2023-10-26 16:40:59 -07:00
Utils Enable column selection and sorting in DocumentsTab (with persistence) (#1881) 2024-09-05 17:43:40 +02:00
hooks Add AAD Endpoints for Data Explorer in Portal (#1943) 2024-08-28 09:11:21 -07:00
AuthType.ts Prettier 2.0 (#393) 2021-01-20 09:15:01 -06:00
ConfigContext.ts Point DE to new Mongo and Cassandra Proxies only and activate Cassandra Proxy in FF/MC (#1958) 2024-09-05 10:57:55 -04:00
HostedExplorer.tsx Update Playwright, improve E2E test reliability, add scripts to deploy test resources (#1857) 2024-06-05 12:46:32 -07:00
HostedExplorerChildFrame.ts Redo user endpoint dynamic token (#827) 2021-05-27 16:18:44 -04:00
Index.tsx Migrate Index page to React (#952) 2021-07-22 10:19:17 -05:00
KeyboardShortcuts.tsx Redesign resource tree (#1865) 2024-08-01 10:02:36 -07:00
Main.tsx Error rendering improvements (#1887) 2024-08-15 13:29:57 -07:00
ReactDevTools.ts add support for react dev tools in the cosmos explorer (#1788) 2024-04-04 09:16:23 -07:00
UserContext.ts Fix bug in viewing tables account databases (#1899) 2024-07-08 08:48:22 -07:00
applyExplorerBindings.ts Remove show div after applyExplorerBindings (#797) 2021-05-18 23:41:44 -05:00
connectToGitHub.html Update prettier to latest. Remove tslint (#1641) 2023-10-03 17:13:24 +02:00
explorer.html Upgrade typescript to 4.9.5 and jest to 29.7.0 (and related packages) (#1884) 2024-07-30 15:41:41 -07:00
global.d.ts Upgrade typescript to 4.9.5 and jest to 29.7.0 (and related packages) (#1884) 2024-07-30 15:41:41 -07:00
hostedExplorer.html Upgrade typescript to 4.9.5 and jest to 29.7.0 (and related packages) (#1884) 2024-07-30 15:41:41 -07:00
i18n.ts Upgrade typescript to 4.9.5 and jest to 29.7.0 (and related packages) (#1884) 2024-07-30 15:41:41 -07:00
index.html Upgrade typescript to 4.9.5 and jest to 29.7.0 (and related packages) (#1884) 2024-07-30 15:41:41 -07:00
quickstart.html Upgrade typescript to 4.9.5 and jest to 29.7.0 (and related packages) (#1884) 2024-07-30 15:41:41 -07:00
quickstart.ts Prettier 2.0 (#393) 2021-01-20 09:15:01 -06:00
setupTests.ts Migrate DocumentsTab to React and add bulk delete and column resize (#1770) 2024-05-29 09:09:13 +02:00
userContext.test.ts Adds unit tests for vcore quickstart feature code (#1618) 2023-09-19 17:12:41 -07:00