Skip to content
This repository was archived by the owner on Apr 5, 2024. It is now read-only.

Conversation

Gimleux
Copy link
Member

@Gimleux Gimleux commented May 17, 2021

No description provided.

@cypress
Copy link

cypress bot commented May 17, 2021



Test summary

6 0 0 0


Run details

Project WebApp
Status Passed
Commit b064a12
Started May 18, 2021 3:33 PM
Ended May 18, 2021 3:34 PM
Duration 00:43 💡
OS Linux Ubuntu - 16.04
Browser Electron 89

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

Copy link
Member

@qvalentin qvalentin left a 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 {
Copy link
Member

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 )

@Gimleux Gimleux requested a review from qvalentin May 18, 2021 11:17
@Gimleux Gimleux self-assigned this May 18, 2021
@Gimleux Gimleux added the enhancement New feature or request label May 18, 2021
@Gimleux Gimleux marked this pull request as ready for review May 18, 2021 11:18
<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)}>
Copy link
Member

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?

@qvalentin qvalentin merged commit f6b0285 into master May 18, 2021
@qvalentin qvalentin deleted the feature/files-context-menu branch May 18, 2021 16:36
qvalentin added a commit that referenced this pull request May 19, 2021
* 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>
Gimleux added a commit that referenced this pull request May 20, 2021
* 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>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants