Skip to content

Conversation

@odeimaiz
Copy link
Member

@odeimaiz odeimaiz commented Apr 15, 2025

What do these changes do?

This PR is a 1st iteration on the Hypertool templates. The information whether a template is a hypertool or not is stored in the ui part of the project, under the new template_type field (project.ui.template_type).

When the frontend fetches templates, the ones marked as hypertool will go under the Hypertools tab (which is visible only if there are templates to show there) and the rest will go under the usual Templates/Tutorials.

This PR also allows patching a recently created template as Hypertool, which makes the template to go under the Hypertools tab.

Hypertools

Related issue/s

How to test

Dev-ops checklist

@codecov
Copy link

codecov bot commented Apr 15, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 88.86%. Comparing base (0137533) to head (1b310b2).
Report is 1 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #7531      +/-   ##
==========================================
+ Coverage   87.48%   88.86%   +1.37%     
==========================================
  Files        1743     1398     -345     
  Lines       67495    57629    -9866     
  Branches     1144      485     -659     
==========================================
- Hits        59049    51210    -7839     
+ Misses       8125     6287    -1838     
+ Partials      321      132     -189     
Flag Coverage Δ
integrationtests 65.21% <ø> (-0.02%) ⬇️
unittests 87.92% <100.00%> (+1.25%) ⬆️
Components Coverage Δ
api ∅ <ø> (∅)
pkg_aws_library ∅ <ø> (∅)
pkg_dask_task_models_library ∅ <ø> (∅)
pkg_models_library 92.00% <100.00%> (+<0.01%) ⬆️
pkg_notifications_library ∅ <ø> (∅)
pkg_postgres_database ∅ <ø> (∅)
pkg_service_integration 70.03% <ø> (ø)
pkg_service_library ∅ <ø> (∅)
pkg_settings_library ∅ <ø> (∅)
pkg_simcore_sdk 85.40% <ø> (ø)
agent 96.46% <ø> (ø)
api_server 90.26% <ø> (ø)
autoscaling 96.08% <ø> (ø)
catalog 92.52% <ø> (ø)
clusters_keeper 99.24% <ø> (ø)
dask_sidecar 91.29% <ø> (ø)
datcore_adapter 98.12% <ø> (ø)
director 76.78% <ø> (ø)
director_v2 91.30% <ø> (ø)
dynamic_scheduler 97.40% <ø> (ø)
dynamic_sidecar 90.11% <ø> (ø)
efs_guardian 89.79% <ø> (ø)
invitations 93.28% <ø> (ø)
payments 92.66% <ø> (ø)
resource_usage_tracker 89.12% <ø> (-0.06%) ⬇️
storage 87.70% <ø> (+0.17%) ⬆️
webclient ∅ <ø> (∅)
webserver 85.99% <ø> (-0.05%) ⬇️

Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 0137533...1b310b2. Read the comment docs.

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@odeimaiz odeimaiz self-assigned this Apr 16, 2025
@odeimaiz odeimaiz added t:enhancement Improvement or request on an existing feature a:frontend issue affecting the front-end (area group) labels Apr 16, 2025
@odeimaiz odeimaiz marked this pull request as ready for review April 16, 2025 12:56
Copy link
Contributor

@giancarloromeo giancarloromeo left a comment

Choose a reason for hiding this comment

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

🚀 🔨

@odeimaiz odeimaiz added this to the Pauwel Kwak milestone Apr 16, 2025
@odeimaiz odeimaiz enabled auto-merge (squash) April 16, 2025 14:43
@sonarqubecloud
Copy link

@odeimaiz odeimaiz merged commit eeb6a1c into ITISFoundation:master Apr 16, 2025
94 checks passed
@odeimaiz odeimaiz deleted the feature/template-type branch April 16, 2025 15:55
@matusdrobuliak66 matusdrobuliak66 mentioned this pull request May 8, 2025
34 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

a:frontend issue affecting the front-end (area group) t:enhancement Improvement or request on an existing feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants