8294edc1d1
Annotation sequence in editor skips unused in set
...
Signed-off-by: Justin Georgi <justin.georgi@gmail.com >
2025-05-05 21:28:11 -07:00
846106a1a8
Fix: View menu width on mobile
...
Signed-off-by: Justin Georgi <justin.georgi@gmail.com >
2025-05-04 09:47:59 -07:00
717ef152f1
Fix: Successfully delete final annotation
...
Signed-off-by: Justin Georgi <justin.georgi@gmail.com >
2025-05-03 20:35:23 -07:00
859183fe2e
Add disable hs buttons when 0 annotations
...
Signed-off-by: Justin Georgi <justin.georgi@gmail.com >
2025-05-03 20:04:00 -07:00
8ed4e1f679
Fix: reset after annotation selection
...
Signed-off-by: Justin Georgi <justin.georgi@gmail.com >
2025-05-03 11:26:02 -07:00
7e353bee24
Add reset view position button to model menu
...
Signed-off-by: Justin Georgi <justin.georgi@gmail.com >
2025-05-03 10:02:43 -07:00
383818b6f8
Fix: annotation drag
...
Signed-off-by: Justin Georgi <justin.georgi@gmail.com >
2025-05-03 07:59:39 -07:00
88cd5e4727
Fix: set initial view for current selected view
...
Signed-off-by: Justin Georgi <justin.georgi@gmail.com >
2025-05-02 21:03:41 -07:00
9857e77a1a
Restore preview edit functions
...
Signed-off-by: Justin Georgi <justin.georgi@gmail.com >
2025-05-01 20:16:29 -07:00
5561038c25
Add TOML handling to JS modules
...
Signed-off-by: Justin Georgi <justin.georgi@gmail.com >
2025-05-01 19:18:04 -07:00
996a62f55a
Improve rad to deg handling
...
Signed-off-by: Justin Georgi <justin.georgi@gmail.com >
2025-04-02 15:39:29 -07:00
7daaf81280
Include fiedl of view in annotation data
...
Signed-off-by: Justin Georgi <justin.georgi@gmail.com >
2024-11-19 20:01:45 -07:00
e92b319a85
Create new views and annotation sets
...
Signed-off-by: Justin Georgi <justin.georgi@gmail.com >
2024-11-19 08:53:02 -07:00
0dd9aba2b6
Refactor js files ( #48 )
...
This pr is a significant reorg of the js files.
1) All non-basic functions have been moved out of the main glmv.js
2) 'Metadata' has been universally changed to mvconfig to avoid conflict with actual file metadata
3) Configuration changing functions have been split off into glmv-mvconfig.js
4) Hotspot modification functions have been split off into glmv-hs.js
Reviewed-on: #48
2024-11-18 03:54:29 +00:00
d419f6fe7e
Add file page link model when not on file page
...
Signed-off-by: Justin Georgi <justin.georgi@gmail.com >
2024-11-16 16:45:11 -07:00
3afe0ca143
Add view config selection to preview editor
...
Signed-off-by: Justin Georgi <justin.georgi@gmail.com >
2024-11-16 14:57:28 -07:00
8032d0a16d
Add camera control toggle to preview edit functions
...
Signed-off-by: Justin Georgi <justin.georgi@gmail.com >
2024-11-16 10:23:36 -07:00
9f8995dcf3
Include field of view in default view and config
...
Signed-off-by: Justin Georgi <justin.georgi@gmail.com >
2024-11-15 08:21:30 -07:00
7cba86ce30
Improve camera orbit and target settings
...
Signed-off-by: Justin Georgi <justin.georgi@gmail.com >
2024-11-13 16:28:49 -07:00
4400412441
Fix hidden preview edit menu
...
Signed-off-by: Justin Georgi <justin.georgi@gmail.com >
2024-11-13 15:44:31 -07:00
4f7febcd26
Add mvconfig tag
...
Signed-off-by: Justin Georgi <justin.georgi@gmail.com >
2024-11-13 09:27:45 -07:00
6787cdf00a
Remove deleted annotation from sets
...
Signed-off-by: Justin Georgi <justin.georgi@gmail.com >
2024-11-12 20:26:12 -07:00
67b8f999c1
Bump tp version 0.1.0 and cleanup
...
Signed-off-by: Justin Georgi <justin.georgi@gmail.com >
2024-11-12 08:20:00 -07:00
0c5c1c61d3
Collect metadata from glb file
...
Signed-off-by: Justin Georgi <justin.georgi@gmail.com >
2024-11-10 19:52:08 -07:00
0e91a69d29
Add annotation set selector to preview
...
Signed-off-by: Justin Georgi <justin.georgi@gmail.com >
2024-11-08 20:19:34 -07:00
e9b19f1e6c
Add set camera limit buttons
...
Signed-off-by: Justin Georgi <justin.georgi@gmail.com >
2024-11-08 16:55:43 -07:00
2e03cac221
Fix ooui downloadImage callback
...
Signed-off-by: Justin Georgi <justin.georgi@gmail.com >
2024-11-08 15:51:57 -07:00
1a225126ec
Refix enable menu error
...
Signed-off-by: Justin Georgi <justin.georgi@gmail.com >
2024-11-08 13:43:45 -07:00
6877258e0c
Fix undefined enableMenu error
...
Signed-off-by: Justin Georgi <justin.georgi@gmail.com >
2024-11-08 12:06:45 -07:00
5a2f8819e3
Use ooui for edit action buttons ( #32 )
...
This PR converts the original basic preview edit actions buttons to MediaWiki's ooui to better match the style of the edit page.
Reviewed-on: #32
2024-11-08 15:27:14 +00:00
109cc08b90
Account for missing attributes in limitCameraOrbit
...
Signed-off-by: Justin Georgi <justin.georgi@gmail.com >
2024-11-06 17:15:07 -07:00
9e5d55c608
Improve touchscreen styles
...
Signed-off-by: Justin Georgi <justin.georgi@gmail.com >
2024-11-06 15:47:37 -07:00
b8a8cf08f3
Improve camera orbit value writing
...
Signed-off-by: Justin Georgi <justin.georgi@gmail.com >
2024-11-06 10:03:04 -07:00
b241f20796
Add set starting view button
...
Signed-off-by: Justin Georgi <justin.georgi@gmail.com >
2024-11-05 20:40:13 -07:00
37ca6cd017
Add full screen imagery and styling
...
Signed-off-by: Justin Georgi <justin.georgi@gmail.com >
2024-11-05 19:49:03 -07:00
d80c31449b
Add fullscreen framework
...
Signed-off-by: Justin Georgi <justin.georgi@gmail.com >
2024-11-05 12:12:00 -07:00
a3b6aa1418
Fix hotspot moving regression
...
Signed-off-by: Justin Georgi <justin.georgi@gmail.com >
2024-11-04 18:34:09 -07:00
9bd6f172c2
Add poster view property and manual model reveal
...
Signed-off-by: Justin Georgi <justin.georgi@gmail.com >
2024-11-04 18:25:52 -07:00
7a53ef8de8
Add download image button
...
Signed-off-by: Justin Georgi <justin.georgi@gmail.com >
2024-11-03 20:44:05 -07:00
80759edbad
Fix toggling hotspot visibility
...
Signed-off-by: Justin Georgi <justin.georgi@gmail.com >
2024-11-03 20:03:47 -07:00
ad45910a5f
Fix upload css
...
Signed-off-by: Justin Georgi <justin.georgi@gmail.com >
2024-11-03 19:58:44 -07:00
fc30b09d16
Add model previews on upload ( #27 )
...
Closes #22
This modifies the upload form to allow for a preview of models.
Reviewed-on: #27
2024-11-04 00:02:48 +00:00
a3a9902070
Add delete hotspot button to editor
...
Signed-off-by: Justin Georgi <justin.georgi@gmail.com >
2024-11-02 11:01:16 -07:00
53b6b58c97
Prevent new hotspot name collisions
...
Signed-off-by: Justin Georgi <justin.georgi@gmail.com >
2024-11-02 09:15:29 -07:00
381eda0574
Better i/o for editing metadata in preview
...
Signed-off-by: Justin Georgi <justin.georgi@gmail.com >
2024-11-02 09:03:32 -07:00
6bdde87f8a
Add docblock
...
Signed-off-by: Justin Georgi <justin.georgi@gmail.com >
2024-11-01 14:38:03 -07:00
b786964a89
Fix button and img visibility before model
...
Signed-off-by: Justin Georgi <justin.georgi@gmail.com >
2024-11-01 11:33:45 -07:00
df11f0c54b
Change annotation edit grabbing to ctrl-click
...
Signed-off-by: Justin Georgi <justin.georgi@gmail.com >
2024-11-01 10:38:55 -07:00
4bbdd29570
Fix hotspot move on preview click
...
Signed-off-by: Justin Georgi <justin.georgi@gmail.com >
2024-10-31 20:25:50 -07:00
628c5fc288
Fix clicking on hotspots
...
Signed-off-by: Justin Georgi <justin.georgi@gmail.com >
2024-10-31 20:14:06 -07:00