From af89535a91007d7b82e18da368e8bc19531bb253 Mon Sep 17 00:00:00 2001 From: Matthieu Baumann Date: Mon, 8 Dec 2025 14:02:05 +0100 Subject: [PATCH] first commit tree --- assets/icons/folder.svg | 4 + codemeta.json | 4 +- examples/al-change-cat-color.html | 5 +- examples/index.html | 2 +- src/core/src/app.rs | 23 +- src/core/src/renderable/mod.rs | 10 +- src/core/src/shaders.rs | 8047 ++++++++++++++++++++++++++++- src/css/aladin.css | 60 +- src/js/Aladin.js | 2 +- src/js/MocServer.js | 2 +- src/js/Utils.ts | 1 - src/js/View.js | 6 +- src/js/gui/Box/HiPSBrowserBox.js | 205 +- src/js/gui/Box/HiPSFilterBox.js | 217 +- src/js/gui/Box/StackBox.js | 14 +- src/js/gui/Input/Dropdown.js | 6 +- src/js/gui/Layout.js | 47 +- src/js/gui/Widgets/Box.js | 6 +- src/js/gui/Widgets/Input.js | 8 +- src/js/gui/Widgets/Tree.js | 313 ++ src/js/vo/samp.js | 6 +- 21 files changed, 8534 insertions(+), 454 deletions(-) create mode 100644 assets/icons/folder.svg create mode 100644 src/js/gui/Widgets/Tree.js diff --git a/assets/icons/folder.svg b/assets/icons/folder.svg new file mode 100644 index 00000000..198ba4aa --- /dev/null +++ b/assets/icons/folder.svg @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/codemeta.json b/codemeta.json index 89971ed3..76c31267 100644 --- a/codemeta.json +++ b/codemeta.json @@ -8,8 +8,8 @@ "dateModified": "2023-01-31", "issueTracker": "https://github.com/cds-astro/aladin-lite/issues", "name": "Aladin Lite", - "version": "3.7.2-beta", - "softwareVersion": "3.7.2-beta", + "version": "3.7.3-beta", + "softwareVersion": "3.7.3-beta", "description": "An astronomical HiPS visualizer in the browser.", "identifier": "10.5281/zenodo.7638833", "applicationCategory": "Astronomy, Visualization", diff --git a/examples/al-change-cat-color.html b/examples/al-change-cat-color.html index 5a0993b8..2ca62358 100644 --- a/examples/al-change-cat-color.html +++ b/examples/al-change-cat-color.html @@ -37,7 +37,10 @@ colorPicker.value = cat.color; colorPicker.addEventListener('input', function (e) { // Change the color of the catalog - cat.updateShape({color: this.value}); + console.log(this.value) + cat.updateShape({color: () => { + return '#00ff00' + }}); }) // Define the box diff --git a/examples/index.html b/examples/index.html index 03dd824b..51e6c928 100644 --- a/examples/index.html +++ b/examples/index.html @@ -10,7 +10,7 @@