-
Notifications
You must be signed in to change notification settings - Fork 61
feat: 🎸 HCPSDKFIORIUIKIT-3001, Loading Indicator on Upload #1295
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
Conversation
Adding loading and error state to attachment grid/list; allowing extra info for custom style BREAKING CHANGE: 🧨 data model ✅ Closes: 1
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.
- Add Public API Doc
- Add unit test
480fcac to
fbac5a6
Compare
3b9d59a to
19bf79d
Compare
|
Docs and Tests were added. |
Apps/Examples/Examples/FioriSwiftUICore/Attachment/AttachmentDelegateExample.swift
Outdated
Show resolved
Hide resolved
Sources/FioriSwiftUICore/_ComponentProtocols/CompositeComponentProtocols.swift
Outdated
Show resolved
Hide resolved
...riSwiftUICore/_generated/StyleableComponents/AttachmentGroup/AttachmentGroup.generated.swift
Outdated
Show resolved
Hide resolved
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.
Correct some typos:
./_generated/StyleableComponents/Attachment/Attachment.generated.swift:37: attachement ==> attachment
./_generated/StyleableComponents/AttachmentButtonImage/AttachmentButtonImage.generated.swift:17: Attachements ==> Attachments
./_generated/StyleableComponents/AttachmentButtonImage/AttachmentButtonImage.generated.swift:32: poping ==> popping, pooping
./_generated/StyleableComponents/AttachmentButtonImage/AttachmentButtonImage.generated.swift:34: attachement ==> attachment
./_generated/StyleableComponents/AttachmentThumbnail/AttachmentThumbnail.generated.swift:24: attachement ==> attachment
./_generated/StyleableComponents/AttachmentGroup/AttachmentGroup.generated.swift:11: Attachements ==> Attachments
./_generated/StyleableComponents/AttachmentGroup/AttachmentGroup.generated.swift:30: maximium ==> maximum
./_generated/StyleableComponents/AttachmentGroup/AttachmentGroup.generated.swift:32: attachemnt ==> attachment
./_generated/StyleableComponents/AttachmentGroup/AttachmentGroup.generated.swift:34: attachement ==> attachment
more typos found addressed |
JIRA HCPSDKFIORIUIKIT-3001 requires for loading indicators for in-progress uploading attachments. To address that, 3 states, uploading, uploaded, and error, were introduced.
With this PR, in-grid/in-list loadings and errors are shown together with uploaded attachments. Additionally, extra info is allowed to be associated with each uploaded attachment. Apps need to provide default extra info value and use the extra info in custom style if the apps need the extra info.
BREAKING CHANGE: 🧨 data model
✅ Closes: 1
Uploading and Error
https://github.com/user-attachments/assets/3c615043-abcd-4ea8-8b0b-eaea6e93112a
Extra Info
https://github.com/user-attachments/assets/c3aba460-2020-41a9-a61f-0f24e9b8750a
Batch (change states outside of AttachmentGroup)
https://github.com/user-attachments/assets/267ea219-2d9e-4b04-938c-a5bac663e55e