aiidalab / aiidalab-widgets-base

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

Doc: render the widgets in notebook #545

Open unkcpz opened 7 months ago

unkcpz commented 7 months ago

fixes https://github.com/aiidalab/aiidalab-widgets-base/issues/533

Try to bring this in but a bit tricky for the layout and some widgets are timeout in rendering. Need more time to fix one by one.

codecov[bot] commented 7 months ago

Codecov Report

Attention: 7 lines in your changes are missing coverage. Please review.

Comparison is base (d025f77) 87.12% compared to head (6dd2d6a) 86.99%.

Files Patch % Lines
aiidalab_widgets_base/utils/__init__.py 12.50% 7 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #545 +/- ## ========================================== - Coverage 87.12% 86.99% -0.13% ========================================== Files 27 27 Lines 4643 4651 +8 ========================================== + Hits 4045 4046 +1 - Misses 598 605 +7 ``` | [Flag](https://app.codecov.io/gh/aiidalab/aiidalab-widgets-base/pull/545/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=aiidalab) | Coverage Δ | | |---|---|---| | [python-3.10](https://app.codecov.io/gh/aiidalab/aiidalab-widgets-base/pull/545/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=aiidalab) | `86.99% <30.00%> (-0.13%)` | :arrow_down: | | [python-3.8](https://app.codecov.io/gh/aiidalab/aiidalab-widgets-base/pull/545/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=aiidalab) | `87.02% <30.00%> (-0.13%)` | :arrow_down: | | [python-3.9](https://app.codecov.io/gh/aiidalab/aiidalab-widgets-base/pull/545/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=aiidalab) | `87.02% <30.00%> (-0.13%)` | :arrow_down: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=aiidalab#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

unkcpz commented 7 months ago

After release of aiida-core==2.5.0, it support temporary sqlite profile, we can use that to import a profile from archive instead of using complex commands to set it up. See https://aiida.discourse.group/t/developing-inside-aiidalab-docker-environment/185/5