Skip to content
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

V15: Show server configuration when configuring the Upload Field #18185

Merged
merged 49 commits into from
Feb 3, 2025
Merged
Changes from 1 commit
Commits
Show all changes
49 commits
Select commit Hold shift + click to select a range
d5a021d
feat: shows notification when no suitable media type is found
iOvergaard Jan 28, 2025
455992a
chore: rearrange imports
iOvergaard Jan 28, 2025
4f6b4b7
feat: use a forward ref to find the dropzone
iOvergaard Jan 28, 2025
343e771
chore: rearrange imports
iOvergaard Jan 28, 2025
11976a0
chore(mock): send back correct header
iOvergaard Jan 28, 2025
37b3c94
feat: avoid using the context consumer to get a token, but instead mi…
iOvergaard Jan 28, 2025
badf18f
chore(mock): allow more file types
iOvergaard Jan 28, 2025
a79aa2c
chore(mock): create more upload fields
iOvergaard Jan 28, 2025
61abee4
chore(mock): also look for mediaPicker fields
iOvergaard Jan 28, 2025
4990a84
chore(mock): improve media mock db
iOvergaard Jan 28, 2025
9f821e5
chore(mock): add missing endpoints
iOvergaard Jan 28, 2025
38720c0
chore(mock): update media data
iOvergaard Jan 28, 2025
9addb3e
chore(mock): fix aliases for media grid and table
iOvergaard Jan 28, 2025
7cf4d59
chore(mock): add urls to media
iOvergaard Jan 28, 2025
dda7b79
chore(mock): adds missing endpoint for imaging
iOvergaard Jan 28, 2025
a12ec27
fix: reverse order of properties to overwrite existing status
iOvergaard Jan 28, 2025
ddbe415
feat: listen to progress updates on upload and update the `progress` …
iOvergaard Jan 28, 2025
900f57c
feat: adds tracking of upload progress to placeholders
iOvergaard Jan 28, 2025
647232a
feat: bind the progress number up on the temporary file badge to indi…
iOvergaard Jan 28, 2025
c0d67e5
feat: optimises progress calculation and makes the badge bigger to be…
iOvergaard Jan 28, 2025
f57d1ae
feat: allow text to be normal
iOvergaard Jan 28, 2025
e1e5408
chore: use correct localization
iOvergaard Jan 28, 2025
f8a9791
feat: shows error status for anything that isn't waiting or complete
iOvergaard Jan 28, 2025
ea3ea33
feat: makes `progress` optional
iOvergaard Jan 28, 2025
fa75e67
feat: adds repository+store for temporary file configuration
iOvergaard Jan 29, 2025
207d681
chore(mock): adds mock endpoint for temporary file configuration
iOvergaard Jan 29, 2025
b1a6125
feat: set progress for createTemporaryFiles
iOvergaard Jan 29, 2025
867da12
Merge branch 'v15/feature/media-library-drop-progress' into v15/featu…
iOvergaard Jan 29, 2025
966669b
Merge remote-tracking branch 'origin/v15/dev' into v15/feature/tempor…
iOvergaard Jan 29, 2025
66cf11d
feat: allows a `whitespace` option to notifications
iOvergaard Jan 29, 2025
bc58d72
feat: validates uploads before trying to query the server
iOvergaard Jan 29, 2025
4ba5aa5
feat: adds `formatBytes` function to format numbers
iOvergaard Jan 29, 2025
5fa5e09
chore: export all consts
iOvergaard Jan 29, 2025
a60dbc0
feat: exports bytes function
iOvergaard Jan 29, 2025
b1b655d
feat: set decimals to default to 2, which works nicely with the Intl …
iOvergaard Jan 29, 2025
d43127a
feat: use `formatBytes` to format the error message
iOvergaard Jan 29, 2025
72a0490
chore(mock): set max file size for mock to 1.4 GB
iOvergaard Jan 29, 2025
660334d
feat: adds localization
iOvergaard Jan 29, 2025
60c344e
Update src/Umbraco.Web.UI.Client/src/packages/core/utils/bytes/bytes.…
iOvergaard Jan 30, 2025
2c2206c
chore: add end character to comment
iOvergaard Jan 30, 2025
b6379fb
feat: binds multiple text string to validation
iOvergaard Jan 30, 2025
fce920f
chore: fixes event type
iOvergaard Jan 30, 2025
bcca6ec
feat: adds new property editor ui for accepted file types
iOvergaard Jan 30, 2025
9299cb3
feat: changes the upload field to use the property editor ui for acce…
iOvergaard Jan 30, 2025
efd9f3f
adds localization
iOvergaard Jan 31, 2025
72557cc
Merge remote-tracking branch 'origin/v15/dev' into v15/feature/dropzo…
iOvergaard Jan 31, 2025
2e7c214
Merge branch 'v15/dev' into v15/feature/dropzone-allowed-types
leekelleher Feb 3, 2025
1061701
Markup/style refactoring/streamlining
leekelleher Feb 3, 2025
eee38d4
Renamed "Accepted Types" to "Accepted Upload Types"
leekelleher Feb 3, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
feat: shows error status for anything that isn't waiting or complete
  • Loading branch information
iOvergaard committed Jan 28, 2025
commit f8a979162d657ad5ab2159a6dd4ff72e97ccd403
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ export class UmbMediaGridCollectionViewElement extends UmbLitElement {

#renderPlaceholder(item: UmbMediaCollectionItemModel) {
const complete = item.status === UmbFileDropzoneItemStatus.COMPLETE;
const error = item.status === UmbFileDropzoneItemStatus.ERROR;
const error = item.status !== UmbFileDropzoneItemStatus.WAITING && !complete;
return html`<uui-card-media disabled class="media-placeholder-item" name=${ifDefined(item.name)}>
<umb-temporary-file-badge
.progress=${item.progress}
Expand Down
Loading