-
Notifications
You must be signed in to change notification settings - Fork 25
FEATURE: upload dialog with configurable additional property fields #165
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
andrehoffmann30
wants to merge
18
commits into
Flowpack:main
Choose a base branch
from
punktDeForks:feature/upload-dialog-with-copyright-notice
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 1 commit
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
f471fa3
FEATURE: add copyright notice to upload dialog
andrehoffmann30 1ca5ed9
FEATURE: make shown upload properties configurable
andrehoffmann30 e00fd51
TASK: assest replace dialog to handle additional upload properties
andrehoffmann30 f45045c
FEATURE: add media upload screen for content area
andrehoffmann30 e033705
TASK: adjust readme
andrehoffmann30 cee6c5a
TASK: rename media upload screen to asset upload screen
andrehoffmann30 519ea74
TASK: add pre build assets
andrehoffmann30 66cda1d
TASK: fixup after rebase
andrehoffmann30 b02c71e
TASK: refactor asset replace dialog and asset upload screen
andrehoffmann30 6966907
TASK: adjust handling of selected, uploaded and rejected files in upl…
andrehoffmann30 86a530b
TASK: rebase to latest release, refactor and fix code to work with la…
andrehoffmann30 2b1f31f
TASK: update build after rebase
andrehoffmann30 bca0fe5
TASK: fix linting errors
andrehoffmann30 a53e3ff
TASK: remove unneeded console.log
andrehoffmann30 652e833
TASK: adjust styling for preview section in upload dialog
andrehoffmann30 130634f
TASK: adjust line-hight for checkbox label in preview section
andrehoffmann30 3aad116
TASK: adjust and refactor changes according to review feedback
andrehoffmann30 66fb08d
TASK: add explanation in PropertyInstpector.tsx, adjust css imports f…
andrehoffmann30 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 0 additions & 1 deletion
1
Resources/Private/JavaScript/asset-upload/src/hooks/useReplaceAsset.ts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 0 additions & 1 deletion
1
Resources/Private/JavaScript/asset-upload/src/hooks/useUploadDialogState.ts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 0 additions & 1 deletion
1
Resources/Private/JavaScript/asset-upload/src/state/uploadDialogState.ts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 2 additions & 1 deletion
3
Resources/Private/JavaScript/asset-upload/typings/FileUploadResult.ts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
Resources/Private/JavaScript/asset-upload/typings/FilesUploadState.ts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 2 additions & 1 deletion
3
Resources/Private/JavaScript/asset-upload/typings/UploadedFile.ts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
8 changes: 8 additions & 0 deletions
8
Resources/Private/JavaScript/core/src/components/Property.module.css
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| .propertyGroupRow label { | ||
| display: flex; | ||
| justify-content: flex-start; | ||
| } | ||
|
|
||
| .propertyGroupLabel { | ||
| line-height: 20px; | ||
| } |
25 changes: 25 additions & 0 deletions
25
Resources/Private/JavaScript/core/src/components/Property.tsx
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,25 @@ | ||
| import React from 'react'; | ||
| import { Label } from '@neos-project/react-ui-components'; | ||
| import classes from './Property.module.css'; | ||
|
|
||
| const Property: React.FC<{ label: React.ReactNode; isCheckbox?: boolean }> = ({ children, label, isCheckbox }) => { | ||
| return ( | ||
| <> | ||
| {isCheckbox ? ( | ||
| <div className={'propertyGroup ' + classes.propertyGroupRow}> | ||
| <Label> | ||
| {children} | ||
| <div className={classes.propertyGroupLabel}>{label}</div> | ||
| </Label> | ||
| </div> | ||
| ) : ( | ||
| <div className="propertyGroup"> | ||
| <Label>{label}</Label> | ||
| {children} | ||
| </div> | ||
| )} | ||
| </> | ||
| ); | ||
| }; | ||
|
|
||
| export default Property; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 0 additions & 13 deletions
13
Resources/Private/JavaScript/media-module/src/components/SideBarRight/Inspector/Property.tsx
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.