Changeset 3414868
- Timestamp:
- 12/09/2025 04:08:02 AM (2 months ago)
- Location:
- 3d-scan-and-show
- Files:
-
- 23 added
- 10 edited
- 1 copied
-
assets/banner-1544x500.png (added)
-
assets/banner-772x250.png (added)
-
assets/icon-128x128.png (added)
-
assets/icon-256x256.gif (added)
-
assets/screenshot-1.gif (added)
-
assets/screenshot-2.gif (added)
-
assets/screenshot-3.gif (added)
-
tags/0.4.2 (copied) (copied from 3d-scan-and-show/trunk)
-
tags/0.4.2/.wordpress-org (added)
-
tags/0.4.2/.wordpress-org/banner-1544x500.png (added)
-
tags/0.4.2/.wordpress-org/banner-772x250.png (added)
-
tags/0.4.2/.wordpress-org/icon-128x128.png (added)
-
tags/0.4.2/.wordpress-org/icon-256x256.gif (added)
-
tags/0.4.2/.wordpress-org/screenshot-1.gif (added)
-
tags/0.4.2/.wordpress-org/screenshot-2.gif (added)
-
tags/0.4.2/.wordpress-org/screenshot-3.gif (added)
-
tags/0.4.2/3d-scan-and-show.php (modified) (1 diff)
-
tags/0.4.2/3d-scan-and-show.zip (modified) (previous)
-
tags/0.4.2/admin/css/menu-icon.css (modified) (1 diff)
-
tags/0.4.2/admin/js/router.js (modified) (1 diff)
-
tags/0.4.2/readme.txt (modified) (3 diffs)
-
trunk/.wordpress-org (added)
-
trunk/.wordpress-org/banner-1544x500.png (added)
-
trunk/.wordpress-org/banner-772x250.png (added)
-
trunk/.wordpress-org/icon-128x128.png (added)
-
trunk/.wordpress-org/icon-256x256.gif (added)
-
trunk/.wordpress-org/screenshot-1.gif (added)
-
trunk/.wordpress-org/screenshot-2.gif (added)
-
trunk/.wordpress-org/screenshot-3.gif (added)
-
trunk/3d-scan-and-show.php (modified) (1 diff)
-
trunk/3d-scan-and-show.zip (modified) (previous)
-
trunk/admin/css/menu-icon.css (modified) (1 diff)
-
trunk/admin/js/router.js (modified) (1 diff)
-
trunk/readme.txt (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
3d-scan-and-show/tags/0.4.2/3d-scan-and-show.php
r3410581 r3414868 3 3 * Plugin Name: 3D Scan & Show: Product Viewer 4 4 * Description: Create interactive 3D product models from smartphone videos that boost sales and reduce returns. Demonstrate your products in a 3D viewer to your customers 5 * Version: 0.4. 15 * Version: 0.4.2 6 6 * Author: Scan the World 7 7 * Author URI: https://scan-the-world.com/ -
3d-scan-and-show/tags/0.4.2/admin/css/menu-icon.css
r3410581 r3414868 35 35 fill: #10b981 !important; 36 36 } 37 38 /* Submenu item highlighting for hash-based routing */ 39 #adminmenu #toplevel_page_3d-scan-and-show .wp-submenu li.current a { 40 color: #fff !important; 41 font-weight: 600; 42 } 43 44 #adminmenu #toplevel_page_3d-scan-and-show .wp-submenu li a.current { 45 color: #fff !important; 46 font-weight: 600; 47 } -
3d-scan-and-show/tags/0.4.2/admin/js/router.js
r3410581 r3414868 81 81 $(".stw-nav-tab").removeClass("active"); 82 82 $('.stw-nav-tab[data-route="' + route + '"]').addClass("active"); 83 this.updateAdminSubmenu(route); 84 }, 85 86 updateAdminSubmenu: function (route) { 87 // Map routes to WordPress submenu page slugs 88 const routeToSlug = { 89 "/": "3d-scan-and-show", 90 "/settings": "3d-scan-and-show-settings", 91 "/dashboard": "3d-scan-and-show-dashboard", 92 "/contact": "3d-scan-and-show-contact", 93 }; 94 95 const targetSlug = routeToSlug[route] || "3d-scan-and-show"; 96 97 // Get the plugin's submenu container 98 const $submenu = $( 99 "#adminmenu #toplevel_page_3d-scan-and-show .wp-submenu", 100 ); 101 102 // Remove 'current' class from all submenu items 103 $submenu.find("li").removeClass("current"); 104 $submenu.find("a").removeClass("current").attr("aria-current", false); 105 106 // Find and highlight the matching submenu item 107 $submenu.find("a").each(function () { 108 const href = $(this).attr("href") || ""; 109 // Extract the page parameter value from the URL 110 const match = href.match(/[?&]page=([^&]*)/); 111 const pageSlug = match ? match[1] : ""; 112 // Only highlight if the page slug exactly matches 113 if (pageSlug === targetSlug) { 114 $(this).addClass("current").attr("aria-current", "page"); 115 $(this).parent("li").addClass("current"); 116 } 117 }); 83 118 }, 84 119 -
3d-scan-and-show/tags/0.4.2/readme.txt
r3410581 r3414868 4 4 Requires at least: 6.0 5 5 Tested up to: 6.9 6 Stable tag: 0.4. 16 Stable tag: 0.4.2 7 7 Requires PHP: 7.4 8 8 License: GPLv3 … … 56 56 * Linking your WooCommerce products to 3D models 57 57 * Delivering interactive 3D model viewers to your site visitors 58 59 = Domains this plugin connects to =60 61 * **API endpoint:** `https://backend-279037820622.asia-east1.run.app/` - Backend API hosted on Google Cloud Run for authentication, data synchronization, and 3D model management62 * **Frontend/Viewer:** `https://scan-the-world.com/` - Used for embedding 3D model viewers via iframe on your website63 58 64 59 = What data is sent and when = … … 121 116 The build process uses webpack (via @wordpress/scripts) to bundle the source files located in `src/` into the `build/` directory. All source code is human-readable and follows WordPress coding standards. 122 117 118 == Screenshots == 119 1. Link your product to your 3D item 120 2. Drag and drop Our block to product page or exist page that display 3D mdoel viewer to your customers 121 3. You/Customers now can view the product in 3D viewer! 122 123 123 124 == Changelog == 124 125 125 = 1.0.0 = 126 * Initial release 126 = 0.4.1 = 127 * Initial release as public 128 129 = 0.4.2 = 130 * update assets for plugin page 131 * fix some UI issues 132 133 -
3d-scan-and-show/trunk/3d-scan-and-show.php
r3410581 r3414868 3 3 * Plugin Name: 3D Scan & Show: Product Viewer 4 4 * Description: Create interactive 3D product models from smartphone videos that boost sales and reduce returns. Demonstrate your products in a 3D viewer to your customers 5 * Version: 0.4. 15 * Version: 0.4.2 6 6 * Author: Scan the World 7 7 * Author URI: https://scan-the-world.com/ -
3d-scan-and-show/trunk/admin/css/menu-icon.css
r3410581 r3414868 35 35 fill: #10b981 !important; 36 36 } 37 38 /* Submenu item highlighting for hash-based routing */ 39 #adminmenu #toplevel_page_3d-scan-and-show .wp-submenu li.current a { 40 color: #fff !important; 41 font-weight: 600; 42 } 43 44 #adminmenu #toplevel_page_3d-scan-and-show .wp-submenu li a.current { 45 color: #fff !important; 46 font-weight: 600; 47 } -
3d-scan-and-show/trunk/admin/js/router.js
r3410581 r3414868 81 81 $(".stw-nav-tab").removeClass("active"); 82 82 $('.stw-nav-tab[data-route="' + route + '"]').addClass("active"); 83 this.updateAdminSubmenu(route); 84 }, 85 86 updateAdminSubmenu: function (route) { 87 // Map routes to WordPress submenu page slugs 88 const routeToSlug = { 89 "/": "3d-scan-and-show", 90 "/settings": "3d-scan-and-show-settings", 91 "/dashboard": "3d-scan-and-show-dashboard", 92 "/contact": "3d-scan-and-show-contact", 93 }; 94 95 const targetSlug = routeToSlug[route] || "3d-scan-and-show"; 96 97 // Get the plugin's submenu container 98 const $submenu = $( 99 "#adminmenu #toplevel_page_3d-scan-and-show .wp-submenu", 100 ); 101 102 // Remove 'current' class from all submenu items 103 $submenu.find("li").removeClass("current"); 104 $submenu.find("a").removeClass("current").attr("aria-current", false); 105 106 // Find and highlight the matching submenu item 107 $submenu.find("a").each(function () { 108 const href = $(this).attr("href") || ""; 109 // Extract the page parameter value from the URL 110 const match = href.match(/[?&]page=([^&]*)/); 111 const pageSlug = match ? match[1] : ""; 112 // Only highlight if the page slug exactly matches 113 if (pageSlug === targetSlug) { 114 $(this).addClass("current").attr("aria-current", "page"); 115 $(this).parent("li").addClass("current"); 116 } 117 }); 83 118 }, 84 119 -
3d-scan-and-show/trunk/readme.txt
r3410581 r3414868 4 4 Requires at least: 6.0 5 5 Tested up to: 6.9 6 Stable tag: 0.4. 16 Stable tag: 0.4.2 7 7 Requires PHP: 7.4 8 8 License: GPLv3 … … 56 56 * Linking your WooCommerce products to 3D models 57 57 * Delivering interactive 3D model viewers to your site visitors 58 59 = Domains this plugin connects to =60 61 * **API endpoint:** `https://backend-279037820622.asia-east1.run.app/` - Backend API hosted on Google Cloud Run for authentication, data synchronization, and 3D model management62 * **Frontend/Viewer:** `https://scan-the-world.com/` - Used for embedding 3D model viewers via iframe on your website63 58 64 59 = What data is sent and when = … … 121 116 The build process uses webpack (via @wordpress/scripts) to bundle the source files located in `src/` into the `build/` directory. All source code is human-readable and follows WordPress coding standards. 122 117 118 == Screenshots == 119 1. Link your product to your 3D item 120 2. Drag and drop Our block to product page or exist page that display 3D mdoel viewer to your customers 121 3. You/Customers now can view the product in 3D viewer! 122 123 123 124 == Changelog == 124 125 125 = 1.0.0 = 126 * Initial release 126 = 0.4.1 = 127 * Initial release as public 128 129 = 0.4.2 = 130 * update assets for plugin page 131 * fix some UI issues 132 133
Note: See TracChangeset
for help on using the changeset viewer.