-
Notifications
You must be signed in to change notification settings - Fork 1
Feature/files context menu #161
Conversation
Test summaryRun details
View run in Cypress Dashboard ➡️ This comment has been generated by cypress-bot as a result of this project's GitHub integration settings. You can manage this integration in this project's settings in the Cypress Dashboard |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code looks good
color: "secondary" | ||
}; | ||
|
||
function FileIcon(isFolder: boolean, name: string): ReactElement { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice that this is a component now, the backend also provides information about the exact mimetype and the general type, we could use this to improve this (then you dont have to list all the file extensions )
<Button type="submit">Download</Button> | ||
<Button onClick={handleDeleteClicked} disabled={props.selectedFsEntities.length < 1}>Delete</Button> | ||
<form method="get" className="d-inline" | ||
action={constants.url.FH_URL + "/download?ids=" + props.selectedFsEntities.map((e: FsEntity) => e.fileSystemId)}> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How does this add the ";" im confused?
* Extracted FileIcon * Corrected Typo in FileEntities * Corrected Typo in FileEntities * Add FileListContextMenu Basic * WIP Context menu * Positioning Context Menu * changed context menu items * Added icons * Added commits * removed context menu on right click * refactoring * extracted sorting method * remove else * removed else in arrays.ts * removed else in serviceWorker * remove else in sortFilesAndFolders * added drop down menu * rename fileList Header * WIP Context Menu Content * Basic Menu done * Implemented Download to Dropdown Menu * fixed bug in filesystem toolbar which allowed to click buttons when they are faded out * Added Binary Icon * Refactored FileIcons * Code Style * updated snapshot tests * install husky * resolved issue with missing dropdown indicator * add query parameters to form by input tags * add query parameter forwarding to nginx Co-authored-by: qvalentin <valentin.theodor@web.de>
* Extracted FileIcon * Corrected Typo in FileEntities * Corrected Typo in FileEntities * Add FileListContextMenu Basic * WIP Context menu * Positioning Context Menu * changed context menu items * Added icons * Added commits * removed context menu on right click * refactoring * extracted sorting method * remove else * removed else in arrays.ts * removed else in serviceWorker * remove else in sortFilesAndFolders * added drop down menu * rename fileList Header * WIP Context Menu Content * Basic Menu done * Implemented Download to Dropdown Menu * fixed bug in filesystem toolbar which allowed to click buttons when they are faded out * Added Binary Icon * Refactored FileIcons * Code Style * updated snapshot tests * install husky * resolved issue with missing dropdown indicator * add query parameters to form by input tags * add query parameter forwarding to nginx Co-authored-by: qvalentin <valentin.theodor@web.de>
No description provided.