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

Add Arcade Editor Sample #135

Merged
merged 9 commits into from
Feb 6, 2025
Merged

Add Arcade Editor Sample #135

merged 9 commits into from
Feb 6, 2025

Conversation

yonabystedt
Copy link
Collaborator

  • Adds a sample of using the Arcade Editor Webcomponent.
  • Fixes the 'icons' sample to work with the latest webpack.
  • Updates Web to 5.33

Copy link

netlify bot commented Jan 21, 2025

Deploy Preview for vertigis-web-samples ready!

Name Link
🔨 Latest commit 92820eb
🔍 Latest deploy log https://app.netlify.com/sites/vertigis-web-samples/deploys/67a3a7d9630f4200081df49d
😎 Deploy Preview https://deploy-preview-135--vertigis-web-samples.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link
Collaborator

@scottander scottander left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good, a few small things could be cleaned up.

// Log script change events
onArcgisScriptChange={async (e) => {
console.log("script:", e.detail);
// console.log("outputType on script:", await arcadeEditorElt.getOutputType());
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

these console logs could be cleaned up

});
}

protected override _getSerializableProperties(): PropertyDefs<ComponentModelProperties> {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

probably can be removed.

protected async _executeArcadeEditorLoadData(
args: HasFeatures
): Promise<void> {
const featureSet = new FeatureSet({
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should the arcadeeditor be initially hidden and then shown when we load data?

@yonabystedt yonabystedt merged commit 5fb3879 into master Feb 6, 2025
5 checks passed
@yonabystedt yonabystedt deleted the arcade.editor.sample branch February 6, 2025 17:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants