113 Commits

Author SHA1 Message Date
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
9953dff4a0 Add better reset image
Signed-off-by: Justin Georgi <justin.georgi@gmail.com>
2025-05-03 11:28:55 -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
a2246015c9 Merge pull request 'Convert configs from json to toml' (#58) from toml_annot into main
Reviewed-on: #58
2025-05-02 03:54:19 +00:00
840b5e34df Update readme
Signed-off-by: Justin Georgi <justin.georgi@gmail.com>
2025-05-01 20:47:33 -07:00
9857e77a1a Restore preview edit functions
Signed-off-by: Justin Georgi <justin.georgi@gmail.com>
2025-05-01 20:16:29 -07:00
ea51793e2f Un-fix: extension.json
Signed-off-by: Justin Georgi <justin.georgi@gmail.com>
2025-05-01 19:49:26 -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
95647069eb Read toml formatted configs for display
Signed-off-by: Justin Georgi <justin.georgi@gmail.com>
2025-04-30 09:00:44 -07:00
4c11d44918 Bump version to 0.2.1
Signed-off-by: Justin Georgi <justin.georgi@gmail.com>
2025-04-02 15:41:09 -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
99b84272c6 Add configuration descriptions to ReadMe 2025-03-25 20:57:25 -07:00
48ec6cf8e6 Bump version to 0.2.0
Signed-off-by: Justin Georgi <justin.georgi@gmail.com>
v0.2.0
2024-11-20 09:26:56 -07:00
f08977da3c Add basic gltf format checking
Signed-off-by: Justin Georgi <justin.georgi@gmail.com>
2024-11-20 09:08:35 -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
e9dc663c0f Add random annotation set transform
Signed-off-by: Justin Georgi <justin.georgi@gmail.com>
2024-11-15 08:59:50 -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
dd475f29c7 Add annotation set transform framework
Signed-off-by: Justin Georgi <justin.georgi@gmail.com>
2024-11-14 08:41:59 -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
85757bc0b3 Make addition of config object specific to gltf files
Signed-off-by: Justin Georgi <justin.georgi@gmail.com>
2024-11-13 15:11:24 -07:00
4f7febcd26 Add mvconfig tag
Signed-off-by: Justin Georgi <justin.georgi@gmail.com>
2024-11-13 09:27:45 -07:00
cf5deba5fa Add default configopn model load
Signed-off-by: Justin Georgi <justin.georgi@gmail.com>
2024-11-13 08:00:31 -07:00
0b37b9e0de Use poster for thumbnail
Signed-off-by: Justin Georgi <justin.georgi@gmail.com>
2024-11-12 21:06:33 -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
9c77018a8d Fix reversed size value in metadata
Signed-off-by: Justin Georgi <justin.georgi@gmail.com>
2024-11-12 19:25:44 -07:00
67b8f999c1 Bump tp version 0.1.0 and cleanup
Signed-off-by: Justin Georgi <justin.georgi@gmail.com>
v0.1.0
2024-11-12 08:20:00 -07:00
81576e283b Merge pull request 'Add Gltf metadata' (#38) from bas-add-metadata into main
Reviewed-on: #38
2024-11-12 03:57:31 +00:00
d559e786d1 Display metadata on file page
Signed-off-by: Justin Georgi <justin.georgi@gmail.com>
2024-11-11 20:55:07 -07:00
9e1f89b92b Enable metadata versioning
Signed-off-by: Justin Georgi <justin.georgi@gmail.com>
2024-11-11 20:35:08 -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
6799dfd4de Increase version to 0.0.7
Signed-off-by: Justin Georgi <justin.georgi@gmail.com>
2024-11-08 10:35:52 -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