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 autogenerated code samples for using layers #1049

Closed
thatbudakguy opened this issue Jun 7, 2024 · 6 comments
Closed

Add autogenerated code samples for using layers #1049

thatbudakguy opened this issue Jun 7, 2024 · 6 comments
Assignees

Comments

@thatbudakguy
Copy link
Member

You can view this prototype by visiting the interactive prototype, visiting a layer detail page, and clicking "code samples" in the tools panel.

This deserves a little bit of thought with regard to maintainability: do we just have the code samples as string templates that get the layer ID, etc. injected into them? Do we do any work to validate that the code still runs/is up to date? Can they be tested? etc.

If directly writing out the code isn't the best way, perhaps step-by-step instructions or links would still be helpful. @mapninja is a good person to ask about how this will be used in practice (e.g. by students).

@thatbudakguy
Copy link
Member Author

thatbudakguy commented Jun 7, 2024

See #910 for details on the code snippets (I guess this is a duplicate).

@hudajkhan
Copy link
Contributor

Authorization has its own issue: #1093

@hudajkhan
Copy link
Contributor

Moving this back to in progress because need to generate a new pull request based on the BL8 branch instead.

@marlo-longley
Copy link
Contributor

If Huda is out on vacation, this is a candidate for work that others could pick up.

@marlo-longley
Copy link
Contributor

Remove code snippets on restricted datasets re: #1093

@hudajkhan
Copy link
Contributor

Closed by #1125

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

Successfully merging a pull request may close this issue.

3 participants