Commit Graph

356 Commits

Author SHA1 Message Date
Emma Broman
311c69cc7a Update GUI hash
For a couple of small fixes. Non-breaking
2024-08-29 09:41:58 +02:00
Emma Broman
6e6f425a0a Issue/3337 Custom UI group ordering (#3363)
* remove code for controlling group sorting in ImGui

We only use this for debug and the sorting here is no longer relevant

* Add feature to add custom ordering to UI groups

* Tiny cleanup

* Add numerical ordering for night sky planets

* Update Lua function name and create an event when ordering updated

* Set top-level ordering

* Add function documentation

* Add a custom ordering that previously was hardcoded in UI

* Apply suggestions from code review

Co-authored-by: Alexander Bock <alexander.bock@liu.se>

* Rename GUI ordering function

* Update GUI hash

---------

Co-authored-by: Alexander Bock <alexander.bock@liu.se>
2024-08-22 16:51:28 +02:00
Alexander Bock
f2a9477eb5 Lua Securty Sandboxing (#3378)
* Add Lua sandboxing
* Convert existing files to use custom functions instead of now-prohibited library functions
2024-08-16 13:46:39 +02:00
Alexander Bock
0b91fd2642 Global cleanup pass over asset files
- Lua style guides
- FrameConversions
- unloadMission, Add mission identifiers
2024-08-14 10:22:20 +02:00
Ylva Selling
952f177c54 UI updates (#3358)
* Remove events for scenegraphnodes and screenspacerenderables

* Add events for updating the property tree

* Remove duplicate function calls

* Update src/properties/propertyowner.cpp

Co-authored-by: Emma Broman <emma.broman@liu.se>

* Address PR comments and make helper functions with better comments

* Make uri function not return the identifier if the uri is not valid

* Rename fullyQualifiedIdentifier to uri

* Update gui hash

---------

Co-authored-by: Ylva Selling <ylva.selling@liu.se>
Co-authored-by: Emma Broman <emma.broman@liu.se>
2024-08-02 16:30:07 +02:00
Alexander Bock
e46cb269d0 Update WebGUI hash 2024-07-18 13:59:05 +02:00
Emma Broman
cca2f7e272 Add possiblity to sort SGNs in GUI based on numerical value (#3340)
* Add possiblity to sort SGNs in GUI based on numerical value

And apply to grids

* Fix mistake in docs

* Apply suggestions from code review

Co-authored-by: Ylva Selling <ylva.selling@gmail.com>

* Rename Order -> Ordering and remove unused getter functions

* Update GUI hash to match the UI changes

---------

Co-authored-by: Ylva Selling <ylva.selling@gmail.com>
2024-07-17 09:54:59 +02:00
Alexander Bock
2cc5a53aaa Remove version numbers from asset files 2024-06-19 11:26:07 +02:00
Alexander Bock
14cf12d23e Update the UI hash 2024-06-17 12:05:24 +02:00
Alexander Bock
43645ce7a4 Fix existing assets; Make the goToGeo function without altitude in the profile work 2024-06-14 23:55:55 +02:00
Alexander Bock
5a88c4d56c Update the website hash and the version string 2024-06-04 20:42:18 +02:00
Emma Broman
0ff646a94c Update Lua script documentation for openspace.navigation and openspace.pathnavigation (#3188)
* Update some pathnavigator script documentation

* Update navigationhandler script docs

* Update returned information for joystick axis function

* Add another reference link to a navigation state

* Make punctuation consistent

* Consistent mentioning of navigation states

* Remove TODO comments - We will not get to fixing them as of now

* Use more explicit names for add navigation function arguments

Co-authored-by: Malin E <malin.ejdbo@gmail.com>
Co-authored-by: Andreas Engberg <48772850+engbergandreas@users.noreply.github.com>
2024-06-04 09:26:46 +02:00
Emma Broman
5ecdd67a10 Update GUI hash (open GUI in browser button) 2024-05-14 16:37:16 +02:00
Ylva Selling
caea263090 Update GUI hash 2024-04-19 17:20:53 +02:00
Alexander Bock
7a2298e8e0 Update the Webgui hash to include the user panel changes 2024-04-17 16:22:57 +02:00
Alexander Bock
50dadb37a8 Rename filesystem token from USER_PANELS to USER_WEBPANELS 2024-04-16 20:40:17 +02:00
Micah Acinapura
cfb400e7b8 added user panel token and folder needed for webgui pr (#3141) 2024-04-16 08:15:03 +02:00
Emma Broman
a82af895d7 Issue/3016 - Settings for jumpTo (#3080)
* Add script for jumpTo scene graph node and navigation state

* Add property to control how long the fading takes (navigation handler)

* Update GUI hash

---------

Co-authored-by: Alexander Bock <alexander.bock@liu.se>
2024-04-04 10:20:24 +02:00
Emma Broman
19f0f707dc Issue/2174 - Show items with no GUI tag in asset in the GUI (#3133)
* Always add GUI properties, even if tag is not in the asset

To make objects wihtout GUI tag be included in the UI

* Hide the hover circle, to clean up scene menu list a little

* set root node gui hidden property to true

* Properly add the gui properties for all scene graph nodes (even root)

* Update GUI hash
2024-04-03 09:23:49 +02:00
Alexander Bock
397769919d Update the UI hash to make the webui work again 2024-03-20 17:19:50 +01:00
Malin E
8e49847a47 Add two more joystick controller assets 2024-03-18 09:28:43 +01:00
Emma Broman
2323a8ce50 Issue/2985 - Add asset with default cmaps (#3004)
* Allow changing color map during runtime

* Stary building asset with colormaps (currently using local files)

* Add option to invert the color maps

* Remove final use of local viridis file in example and fix broken cmap update

* Use synced resource for colormap files

* Update advanced colormapping example

* Apply suggestions from code review

Co-authored-by: Alexander Bock <alexander.bock@liu.se>

* Update data/assets/util/default_colormaps.asset

* Capitalize first letter of exported keys, to be more consistent with rest of code base

---------

Co-authored-by: Alexander Bock <alexander.bock@liu.se>
2024-02-05 15:47:25 +01:00
Emma Broman
84b9f384ce GUI Hash (small style updates) 2023-12-21 15:28:59 +01:00
Emma Broman
7ad27203b5 Update GUI hash
buttons hover style is now consistent
2023-12-21 10:01:25 +01:00
Emma Broman
9c77a12269 Issue/2665 - Show timer for how long time left in camera path (#2980)
* Add a camera path topic and compute remaining time in path

* Remove unused parameter in function

* Include speed scale in estimation of time the path will take

* Includes cleanup and address review comments

* Round instead of ceil, to make countdown reach 0 in most cases

* Update GUI hash
2023-12-20 08:28:07 +01:00
Emma Broman
9897a9fd5a Update GUI hash (issue #2977) 2023-12-14 10:10:40 +01:00
Emma Broman
95e42d5343 Update GUI hash
17af9032d0
2023-11-29 09:40:49 +01:00
Emma Broman
77084147dc Update GUI hash
Fix bugs from functional rewrite: right-click on NumericInput and hover issues with MinMaxRangeInput
2023-11-28 11:36:51 +01:00
Emma Broman
0b23df0d43 Update GUI hash 2023-11-28 10:59:58 +01:00
Emma Broman
94ab3332d0 Update GUI hash to fix optionproperty rendering bug 2023-11-17 13:07:14 +01:00
Emma Broman
639419a51b Issue/1440 - Exoplanet Panel and settings update (#2943)
* Add tags that can be used to set object visibility from UI

* Add module property for hiding/showing orbiting uncertainty disc

* Add tag for 1 AU ring and change color to something that's different from orbits

* Add property for circle color

* Add temporary gui hash for easier testing

* Update modules/exoplanets/exoplanetsmodule.cpp

Co-authored-by: Alexander Bock <alexander.bock@liu.se>

* Update GUI hash to correct commit on webgui master

---------

Co-authored-by: Alexander Bock <alexander.bock@liu.se>
2023-11-15 14:18:04 +01:00
Emma Broman
c54e72136d Update GUI hash again (closes #2908) 2023-11-13 16:08:17 +01:00
Emma Broman
72bb6d3cc4 Update GUI hash
- Rewrite final classes to functional 8c0740c66e
- Fix some things that broke wiht that rewrite
- Update dependencies
- Fix for issue #2893
2023-11-13 15:32:11 +01:00
Alexander Bock
b43a13d39e Merge asset.localResource and asset.syncedResource (#2906) 2023-10-19 11:59:25 +02:00
Emma Broman
247f48058f Update GUI hash (to get double actions update for PR #2872) 2023-09-11 15:47:05 +02:00
Emma Broman
caa9492c42 Update GUI hash 2023-08-22 16:58:39 +02:00
Emma Broman
31b04c1412 Update GUI hash 2023-08-18 16:40:59 +02:00
Alexander Bock
153e71853e Fix up the missing SkyBrowser functions for naming scheme 2023-08-14 15:05:39 +02:00
Emma Broman
add6df05fd Replace some more getPropertyValue function calls (deprecated) 2023-08-07 10:08:21 +02:00
Alexander Bock
57fafe48f4 Rename Lua function to bring them more in line with the function naming in C++ (#2840)
* Rename Lua function to bring them more in line with the function naming in C++
2023-08-05 19:20:08 +02:00
Emma Broman
25451e08e8 Update GUI hash 2023-08-02 15:56:35 +02:00
Emma Broman
3bbe19f56c Update GUI hash 2023-06-15 18:30:08 +02:00
Ylva Selling
5d1882e398 Update gui hash 2023-06-14 10:29:26 -04:00
Emma Broman
8cdffb7090 Update GUI hash 2023-06-09 13:49:07 +02:00
Ylva Selling
1b18db9c2e Update gui hash 2023-06-08 14:54:22 -04:00
Emma Broman
7e53174420 Update gui hash 2023-06-08 14:39:30 +02:00
Emma Broman
fdcddaf1c0 Update Gui hash (small style updates) 2023-06-07 10:46:02 +02:00
Emma Broman
c04b69f472 Update Gui hash (fixes broken OptionProperties) 2023-06-07 10:05:40 +02:00
Alexander Bock
ea5ab3835d Prevent Lua error when trying to load a constellations file that doesn't exist 2023-06-01 09:25:49 +02:00
Malin E
2a3a11d03a Some simplifications to joystick assets 2023-05-31 13:47:01 +02:00