mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
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
This commit is contained in:
committed by
Akshay Joshi
parent
4585597388
commit
4808df5e95
@@ -28,10 +28,10 @@ import {FormInputText, FormInputFileSelect, FormInputSQL,
|
||||
FormInputColor,
|
||||
FormFooterMessage,
|
||||
MESSAGE_TYPE} from '../../../pgadmin/static/js/components/FormComponents';
|
||||
import * as legacyConnector from '../../../pgadmin/static/js/helpers/legacyConnector';
|
||||
import CodeMirror from '../../../pgadmin/static/js/components/CodeMirror';
|
||||
import { ToggleButton } from '@material-ui/lab';
|
||||
import { DefaultButton, PrimaryButton } from '../../../pgadmin/static/js/components/Buttons';
|
||||
import * as showFileManager from '../../../pgadmin/static/js/helpers/showFileManager';
|
||||
|
||||
/* MUI Components need to be wrapped in Theme for theme vars */
|
||||
describe('FormComponents', ()=>{
|
||||
@@ -118,7 +118,7 @@ describe('FormComponents', ()=>{
|
||||
let ThemedFormInputFileSelect = withTheme(FormInputFileSelect), ctrl;
|
||||
|
||||
beforeEach(()=>{
|
||||
spyOn(legacyConnector, 'showFileDialog').and.callFake((controlProps, onFileSelect)=>{
|
||||
spyOn(showFileManager, 'showFileManager').and.callFake((controlProps, onFileSelect)=>{
|
||||
onFileSelect('selected/file');
|
||||
});
|
||||
ctrl = mount(
|
||||
|
||||
Reference in New Issue
Block a user