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 download example link when trying out algorithm #3809

Open
chrisvanrun opened this issue Jan 30, 2025 · 3 comments · May be fixed by #3823
Open

Add download example link when trying out algorithm #3809

chrisvanrun opened this issue Jan 30, 2025 · 3 comments · May be fixed by #3823
Assignees

Comments

@chrisvanrun
Copy link
Contributor

Some formats are best explained when downloading an example, the following has an example CIV:

Image

I think adding a download link in the help text area would help here.

@amickan
Copy link
Contributor

amickan commented Jan 31, 2025

Should be straight forward to add now that we have those examples available already. I think they are already added to the interface overview, so this should be a simple copy-paste.

@ammar257ammar
Copy link
Contributor

Do you mean component interface examples like in the screenshot below:

Image

Then indeed, the example can be accessed through json_kind_example property on the ComponentInterface model without the need to copy-paste them. Extra examples can be added from admin and they will override the default example.

Image

We can also include it as a modal button instead of the download as it appears now in the component interface list view.

@chrisvanrun
Copy link
Contributor Author

I'd initially suggest do add it as a plain download link to the help text.

@ammar257ammar ammar257ammar self-assigned this Feb 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants