-
Notifications
You must be signed in to change notification settings - Fork 10
[New] Add items to portal #586
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
base: v.next
Are you sure you want to change the base?
Conversation
@mhdostal @pgruenler I've reset the reviewers… no need to review if you haven't started yet, but feel free to add comments if you have already done some. |
} | ||
} | ||
.task { | ||
try? await item.thumbnail?.load() |
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.
I never seem to get the thumbnail. Looks like this throws the following error. Expected?
ArcGIS.IllegalStateError(details: "Loadable image doesn't have a URI.")
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.
Let me ask around to see if this is a known issue…
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.
Haven't heard an confirmative response yet… will request review again once I hear back.
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.
I tested out the sample and cannot add a portal item due to a service error: invalid file content type detected
.
Nevermind, the add button is working now using latest daily build.
Co-authored-by: Destiny Hochhalter <117859673+des12437@users.noreply.github.com>
Description
This PR implements
Add items to portal
inCloud and Portal
category.URL to README
Linked Issue(s)
swift/issues/6820
swift/issues/6785
How To Test
You have to use the latest daily to test the add item feature, as there is a fix in 6785.
Screenshots
To Discuss
The sample design was dated and only Qt has implemented it. Therefore, I made some enhancements comparing to the Qt implementation while trying to keep consistent with the design to showcase the addItem and deleteItem endpoints.