Commit Graph

379 Commits

Author SHA1 Message Date
Alexander Bock
4228ddd66b Update WebGui hash 2025-07-25 09:08:38 +02:00
Alexander Bock
3acb48b930 Update WebGUI frontend hash 2025-07-24 10:58:48 +02:00
Andreas Engberg
4dffe7c7b2 Add camera view direction to camera topic (#3741)
* Add camera view direction to camera topic
* Add subsolar coordinates to topic

---------

Co-authored-by: Alexander Bock <alexander.bock@liu.se>
Co-authored-by: Ylva Selling <ylva.selling@gmail.com>
2025-07-16 13:21:12 +02:00
Emma Broman
0962a7c3e0 Update GUI hash
- Make it possible to select and copy text in notifications d024364130
- Disable navigation and time inputs based on engine mode (OpenSpace/OpenSpace-WebGui#175)
- Add tab to add browser/webpage in screenspace renderables panel (OpenSpace/OpenSpace-WebGui#177)
- Fix missing info button for current SGN (#3735) 8e0c43cc40
2025-07-02 14:15:23 +02:00
Emma Broman
1f93a4a8e3 Fix faulty sizing of getting started tour on first time startup
345f21d05a
2025-06-24 15:13:23 +02:00
Emma Broman
69a074e9a5 Change default setting for showing getting-started tour to not show (closes #3724)
GUI change: 03d8bdb206d2d82a83b56d9409bd5fd41c97a3bc. Verified with "started before" setting
2025-06-24 15:02:18 +02:00
Emma Broman
b6d3704439 Update GuiHash and Backend hash to fix issues with routing
And fix an outdated comment
2025-06-18 17:14:46 +02:00
Emma Broman
d20ddb3456 Update GUI hash 2025-06-18 09:00:46 +02:00
Alexander Bock
38dd5f8937 Update backend and webgui hashes 2025-06-16 19:42:23 +02:00
Ylva Selling
35332384b7 Change frontend endpoint to gui (#3717) 2025-06-16 19:34:14 +02:00
Alexander Bock
821a340bd7 Update webgui hash 2025-06-12 23:10:08 +02:00
Alexander Bock
2048a1b5df ShowComposer (#3707)
- Updated webgui config and paths for ShowComposer
  - Update backendhash, download showcomposer.  Fix issue with sorting dictionary keys
  - Update the hashes for the backend and showcomposer

---------

Co-authored-by: dmelancon <mr.dmelancon@gmail.com>
2025-06-09 21:14:21 +02:00
Emma Broman
f220dc8b9e Update GUI Hash: Remove duplicate friction controls (closes #3674) 2025-05-23 11:18:51 +02:00
Emma Broman
f1153da5db Update GUI Hash (bring back copy URI for bool properties)
b2c5407c61
2025-05-21 17:42:59 +02:00
Emma Broman
0293a94601 Update GUI hash
* Prepare for adding locilization
* Add notification system
* Redesign keybinds panel
* Consistent behavior for bool input components
* Improved inputs for vector properties (including colors)
* Fix orientation of getting started tour taskbar button
* Add Night Sky Panel
2025-05-19 17:10:58 +02:00
Emma Broman
e33ad09632 Update GUI hash
Move profile info to File menu, Add color to friction buttons, tighten up mission panel, and close windows menu when selecting a window
2025-05-14 12:03:12 +02:00
Emma Broman
1d56563412 Move profile name from top bar center to File menu (#3628)
* Add more profile meta info to profile topic, and gueard for nonexisting meta entry

* Add punctuation to end of profile descriptions

* Cleanup

* Apply suggestions from code review

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

* Update GUI hash

---------

Co-authored-by: Alexander Bock <alexander.bock@liu.se>
2025-05-06 18:17:41 +02:00
Ylva Selling
e3f5b83f74 Feature/2025 UI rewrite (#3608)
* Remove Escape keybind; move gui keybind to F2

* Clear up keybinds properly

* Workaround for CEF focus bug

* Add TODO comment

* Guard against null ptr dereferencing

* Remove shift tab

* add additional keyboard mapping from glfw to cef

* Change dashboards to make prototype for first user test

* add mission added/removed event, disptached when a mission has been loaded/unloaded

* send missions as map instaed of array, rename missionName -> name

* Set keybind for toggling overlays to shift+f2

* Remove property for showing the title in the gui skybrowser module

* Remove default setting for skybrowser

* First implementation of setting the ui panel visibility from the launcher

* Add profile topic

* Coding style adjustment

* Add markNodes to the profiletopic

* Change format of additional data of options in engine

* Address PR comments

* map escape key from glfw to cef correctly

* fix issue with "Enter" key not working on buttons and other input fields in CEF

* Add test for new profile version

* Send skybrowser data although we are outside the solar system

* Update webgui to new ui

* Add name to profile topic

* Add cef variable to javascript context for when browser is in cef

* Use camelcase for cef variable

* Rewrite shortcuts topic to ActionKeybind and pass data in a better way (#3590)

* Rewrite shortcuts topic to ActionKeybind and pass data in a better way

* Fix strange error with file structure

* Address PR comments

* Address PR comments

* Address PR comments

* Make numbers in asset file prettier

* Rename name to identifier for missions event

* Clean up browser code

* Update UI hash (to fix the actions panel not working)

And update outdated comment. The backend is not part of this

* Feature/notify meta data change (#3605)

* Add notifyMetaDataChangeListener to topic

* First round of clean up the data passing

* Convert from string to json for metadata

* Update additional data to json

* Use nlohmann::json for additional data

* Pass meta data in new structure to topics

* Remove meta data method

* Fix mistake in merge

* Update src/properties/property.cpp

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* remove TODO comment that will be fixed by this PR

* Address PR comments

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Emma Broman <emma.broman@liu.se>

* Address PR comment

* Remove function for setting the endpoint

* Update frontend hash

* Remove enabled property from exoplanets module

* Remove enabled property from skybrowser module

* Update default UI panels json

* Remove setting of enabled properties for skybrowser and exoplanets

* Update gui hash

* Auto format json

---------

Co-authored-by: Andreas Engberg <adde.engberg@gmail.com>
Co-authored-by: Emma Broman <emma.broman@liu.se>
Co-authored-by: Alexander Bock <alexander.bock@liu.se>
Co-authored-by: Alexander Bock <mail@alexanderbock.eu>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-04-29 15:43:56 +02:00
Alexander Bock
6dc738e54e Move functions about globe locations from the GlobeBrowsingModule into the core (#3613)
* Make GlobeRotation and GlobeTranslation work for non-globes and move them to the base module
* Move ellipsoid and geodetic classes into the core
* Allow more things to take scene graph nodes instead of RenderableGlobes
* Move goToGeo and related Lua functions into the core
* Move more functions from the pathnavigation namespace into the navigation namespace

---------

Co-authored-by: Emma Broman <emma.broman@liu.se>
2025-04-23 16:15:17 +02:00
Emma Broman
ad324b1292 Remove "Up" keybind and retire property_helper and renderable_helper (#3604)
* Remove keybindings to the UP key

Removed the actions as well as they are probably not needed. We have the "now" button and it is rare that one want to interpolate to now

* Replace property_helper usage with function from core_scripts (only `invert` was used)

And retire the property_helper and renderable_helper assets. They are no longer needed!
2025-04-22 15:02:13 +02:00
Alexander Bock
565bad9d4a Add new calibrator asset and profile (closes #2268) 2025-04-05 15:55:14 +02:00
Alexander Bock
fef526652d Update WebGUI commit hash 2024-10-21 15:08:32 +02:00
Andreas Engberg
6dd3dd8ab8 Feature/UI launcher accessibility (#3417)
* update background and foreground colors in launcher

* Change tab order and preliminary focus visuals

* update focus color

Improves on #3091 but does not fixes it, the contrast ratio is 2.4/2.9-3.3 versus the white border/the gray background on each button/dropdown

* update focus border width

* Update color of error messages fixes #3103

* Enable enter key interaction on ui launcher buttons fixes #3092

* Update accessibility names on buttons and fields where the current readout does not make sense, fixes #3089

* Fixed issue where you could not tab out of multiline textfields

* Add overlay to the launcher image to increase contrast

* Slightly improves readability of Start button fixes #3096

We decided to keep the all caps to indicate call to action

* Add start button to have default focus which enables quick start by pressing enter or space on startup

* Removed overriden object name

* Update color label text for better clarity fixes #3094

The actual fix is in #9a7e8e1

* Add `esc` keypress to exit the launcher fixes #3097

* add placeholder text for profile name fixes #3101

* Fixed issue with properties, assets, and keybindings multiline readout, fixes #3098

* Change tab order of properties, assets, and keybindings: text area -> edit button,  fixes #3099

* Add prompt to user warning of unsaved changes in profile editor

* Add error message dialog fixes #3100

* Removed unused code

* Remove hardcoded color for information text in cameradialog

* Don't compare profile files but profiles instead

* Add same focus outline to all buttons in launcher

---------

Co-authored-by: Alexander Bock <mail@alexanderbock.eu>
Co-authored-by: Alexander Bock <alexander.bock@liu.se>
2024-10-11 10:13:32 +02:00
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