Commit Graph

104 Commits

Author SHA1 Message Date
Aditya Toshniwal
3bcac26ff9 Fix multiple UI and SonarQube issues found when testing wcDocker changes. #6479 2023-10-26 12:06:28 +05:30
Aditya Toshniwal
862f101772 Significant changes to use ReactJS extensively.
1. Replace the current layout library wcDocker with ReactJS based rc-dock. #6479
2. Have close buttons on individual panel tabs instead of common. #2821
3. Changes in the context menu on panel tabs - Add close, close all and close others menu items. #5394
4. Allow closing all the tabs, including SQL and Properties. #4733
5. Changes in docking behaviour of different tabs based on user requests and remove lock layout menu.
6. Fix an issue where the scroll position of panels was not remembered on Firefox. #2986
7. Reset layout now will not require page refresh and is done spontaneously.
8. Use the zustand store for storing preferences instead of plain JS objects. This will help reflecting preferences immediately.
9. The above fix incorrect format (no indent) of SQL stored functions/procedures. #6720
10. New version check is moved to an async request now instead of app start to improve startup performance.
11. Remove jQuery and Bootstrap completely.
12. Replace jasmine and karma test runner with jest. Migrate all the JS test cases to jest. This will save time in writing and debugging JS tests.
13. Other important code improvements and cleanup.
2023-10-23 17:43:17 +05:30
Anil Sahoo
cbeacf890d Fixed Query Tool/ PSQL tool tab title not getting updated on database rename. #6364 2023-06-29 10:34:20 +05:30
Aditya Toshniwal
466e969776 Fix an issue where object explorer tree crashes occasionally. #5306 2023-06-21 11:05:58 +05:30
Aditya Toshniwal
96f3ac8a53 Code improvements to handle API errors gracefully in tree code. #6308 2023-05-23 14:37:16 +05:30
Aditya Toshniwal
cedfd12f6a Add an option to hide/show empty object collection nodes. #5048 2023-05-22 14:55:01 +05:30
Pravesh Sharma
2ec460bf8f Fix the browser tree state that is not remembered when reopening pgAdmin. #5777 2023-05-11 14:32:00 +05:30
Khushboo Vashi
1f2f405057 Indicate the user if all the server's children nodes are hidden from the preferences setting. #6003 2023-05-09 15:14:14 +05:30
Aditya Toshniwal
1e7517dc98 Show object breadcrumbs path along with its comment on object hover. #2078 2023-04-26 11:18:16 +05:30
Pravesh Sharma
c2a54f3524 Fixed an issue where browser tree state is not remembered when reopening pgAdmin. #5777 2023-04-13 13:02:46 +05:30
Aditya Toshniwal
a18d469c90 Fix an issue in search objects where objects were unable to locate occasionally. #5916 2023-04-04 18:29:54 +05:30
Aditya Toshniwal
5330121b36 On pressing Ctrl+C on a tree object, copy the fully qualified name to clipboard. #5854 2023-03-29 21:45:09 +05:30
Akshay Joshi
140494454a Fixed linter errors after eslint upgrade. 2023-03-29 17:22:50 +05:30
Aditya Toshniwal
9924fae378 Nomenclature changes:
1. Rename "Properties..." context menu option of object to "Edit Object...".
2. Rename "Browser" tree to "Object Explorer". #4734
2023-03-28 22:20:14 +05:30
Aditya Toshniwal
42ac0d577d Add .ts and .tsx files under linter and fix linter issues. #5830 2023-03-16 17:22:26 +05:30
Anil Sahoo
5abb748c3e Display the 'No menu available for this object' message if the selected tree node does not have any options. #5775 2023-03-02 11:02:15 +05:30
Aditya Toshniwal
08062e67ca Do not allow to save invalid JSON in query tool JSON editor. #5822 2023-02-20 15:37:59 +05:30
Aditya Toshniwal
713ddb5f62 Remove usage of jQuery in pgAdmin.
Remove usage of Bootstrap in React components. #5701
2023-02-10 10:28:39 +05:30
Aditya Toshniwal
53ae657cc9 Fix menu closing issue on file manager. #5615
Fix file path issue in import/export servers caused due to vulnerability fix.
2023-01-16 19:28:23 +05:30
Aditya Toshniwal
83b207e7da Fix few more issues related to Menu rewrite. #5615 2023-01-13 12:28:23 +05:30
Aditya Toshniwal
1c705cf9be Fix issues related to menu rewrite. #5615 2023-01-09 18:41:23 +05:30
Nikhil Mohite
9c61670c9f Ensure the query tool opens successfully on renaming any tree node from the database selected for the query tool connection #5542, #5559 2023-01-04 12:20:54 +05:30
Akshay Joshi
98184e5835 Update copyright notices for 2023 2023-01-02 11:53:55 +05:30
Aditya Toshniwal
5c34c10d4e - Move pgadmin4-treeview to pgAdmin main repo.
- Use react based context menu for browser tree. #5615.
- Fix feature tests failure.
2023-01-02 10:51:13 +05:30
Nikhil Mohite
046b56bab1 Ensure the browser tree does not freeze while rendering 10k+ nodes/objects. #5541 2022-12-21 15:36:07 +05:30
Aditya Toshniwal
8d74de09cc Remove all traces of Backbone, Underscore. #5493 2022-11-21 10:54:15 +05:30
Nikhil Mohite
c38face9fc Ensure that the browser tree should auto scroll to the selected node when expanding the server node. #2174 2022-11-07 10:54:58 +05:30
Nikhil Mohite
bb78d91d1b Ensure that scroll bar on browser tree should be visible on windows resize #5402 2022-10-06 15:58:05 +05:30
Aditya Toshniwal
2de965d710 1. Use EDB's repo for react-data-grid instead of the personal repo.
2. Improved searching in the Search Objects.
3. Fixed react warnings in the query tool.
4. Fixed some SonarQube issues.
2022-09-13 19:13:33 +05:30
Khushboo Vashi
ca8b5c68fd Remove Backgrid and Backform. Fixes #6134 2022-09-10 14:22:49 +05:30
Akshay Joshi
7086719640 Fixed SonarQube issues. 2022-09-08 18:08:58 +05:30
Akshay Joshi
18b77f15dd Remove Alertify from pgAdmin completely. Fixes #7619 2022-09-08 15:16:48 +05:30
Aditya Toshniwal
4808df5e95 1) Port the file/storage manager to React. Fixes #7313
2) Allow users to delete files/folders from the storage manager. Fixes #4607
3) Allow users to search within the file/storage manager. Fixes #7389
4) Fixed an issue where new folders cannot be created in the save dialog. Fixes #7524
2022-07-19 15:27:47 +05:30
Nikhil Mohite
e3225b6565 Fixed the browser tree overlapping nodes and expansion issue. Fixes #6962 2022-05-28 13:26:17 +05:30
Khushboo Vashi
7d91cca14d 1) Fixed linter error.
2) Fixed an issue where a password popup will appear on disconnecting from the server.
2022-04-26 18:16:33 +05:30
Khushboo Vashi
0b7bde2775 Fixed an issue where the Browser panel is not completely viewable. Fixes #7026 2022-04-13 17:37:34 +05:30
Akshay Joshi
86a3696ab4 Remove aciTree and its references. 2022-04-13 17:35:01 +05:30
Pradip Parkale
fe416c838b Fixed an issue where the browser tree state was not preserved correctly. Fixes #7176 2022-03-31 18:28:36 +05:30
Nikhil Mohite
74c620e478 Fixes the arrow key issue in the preferences tree. Fixes #7274
Ensure that the select folder dialog should be on top when selecting the binary path. Fixes #7276
2022-03-31 11:46:34 +05:30
Nikhil Mohite
08e00ccebc Fixed an issue where the newly added table is not visible under the Tables node on refresh. Fixes #7239 2022-03-29 14:40:54 +05:30
Nikhil Mohite
2f37f0ca51 Fixes for the preferences dialog
1) Add server mode validation in the binary path.
  2) Updated preferences tree rendering to avoid using the ReactDOM render.
  3) Updated CSS for keyboard shortcuts checkbox border makes it consistent with input box border.
  4) Fixed jasmine test case and improved code coverage.
  5) Fixed SonarQube issues.
  6) Added validation to disable "Maximum column with" option if "Column sized by" option is set to "Column name" in Query Tool -> Result grid.
  7) Updated documentation with the latest screenshots.
  8) Correct typo in the documentation. Fixes #7261

refs #7149
2022-03-23 13:28:35 +05:30
Nikhil Mohite
74e794b416 Port preferences dialog to React. Fixes #7149 2022-03-21 13:29:26 +05:30
Khushboo Vashi
e61a1045f5 Added capability to deploy PostgreSQL servers on Amazon RDS. Fixes #7177 2022-02-14 12:13:48 +05:30
Aditya Toshniwal
bc4e8a3c82 Implemented utilities in React to make porting easier for pgAdmin tools. 2022-02-11 10:36:24 +05:30
Nikhil Mohite
4a195e7ef6 Fixed value error in the restore dialog. Fixes #7151 2022-02-03 17:44:54 +05:30
Khushboo Vashi
8f7b30075e Fixed SonarQube issues. 2022-01-27 17:22:19 +05:30
Akshay Joshi
1013d7ccdd Fixed code smell reported by SonarQube. 2022-01-20 16:58:21 +05:30
Nikhil Mohite
d945c6f843 Fixed an issue where connections keep open to (closed) connections on the initial connection to the database server. Fixes #7035 2022-01-19 15:02:05 +05:30
Akshay Joshi
9f836f5433 Fixed following code smells reported by SonarQube:
1) Immediately return this expression instead of assigning it to the temporary variable.
 2) Extract this nested ternary operation into an independent statement.
 3) Expected a `for-of` loop instead of a `for` loop with this simple iteration.
2022-01-18 14:49:54 +05:30
Nikhil Mohite
d2457f2a1d Ensure that Partitioned tables should be visible correctly when creating multiple partition levels. Fixes #7085 2022-01-12 16:29:13 +05:30