aiidalab / aiidalab-widgets-base

Reusable widgets for AiiDAlab applications
MIT License
6 stars 17 forks source link

AiiDA code registry for code/computer setup having template yml support #482

Closed unkcpz closed 10 months ago

unkcpz commented 1 year ago

See https://github.com/aiidateam/team-compass/issues/4, the concept can be quickly implemented to be used in AiiDAlab code setup widget. For the widget, the template in the remote repo (or from gh-page) is read and prompts the field for the set.

danielhollas commented 1 year ago

Big plus on this in general, but could you please elaborate a bit more what you're proposing here?

For the widget, the template in the remote repo (or from gh-page) is read and prompts the field for the set.

Specifically, I don't understand how the widget would determine where it should read the template from? Would the user pass a URL? What remote repo are we talking about here?

unkcpz commented 1 year ago

Here is a demo to show the proof of concept, the registry is host in my fork repository https://unkcpz.github.io/aiida-code-registry/database_v2_1.json Changes for the aiida-code-registry can be found in https://github.com/aiidateam/aiida-code-registry/pull/83

Peek 2023-05-19 12-43