Plugin Directory

Changeset 3414868


Ignore:
Timestamp:
12/09/2025 04:08:02 AM (2 months ago)
Author:
scantheworld
Message:

Update to version 0.4.2 from GitHub

Location:
3d-scan-and-show
Files:
23 added
10 edited
1 copied

Legend:

Unmodified
Added
Removed
  • 3d-scan-and-show/tags/0.4.2/3d-scan-and-show.php

    r3410581 r3414868  
    33 * Plugin Name:       3D Scan & Show: Product Viewer
    44 * 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.1
     5 * Version:           0.4.2
    66 * Author:            Scan the World
    77 * Author URI:        https://scan-the-world.com/
  • 3d-scan-and-show/tags/0.4.2/admin/css/menu-icon.css

    r3410581 r3414868  
    3535    fill: #10b981 !important;
    3636}
     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  
    8181            $(".stw-nav-tab").removeClass("active");
    8282            $('.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            });
    83118        },
    84119
  • 3d-scan-and-show/tags/0.4.2/readme.txt

    r3410581 r3414868  
    44Requires at least: 6.0
    55Tested up to: 6.9
    6 Stable tag: 0.4.1
     6Stable tag: 0.4.2
    77Requires PHP: 7.4
    88License: GPLv3
     
    5656* Linking your WooCommerce products to 3D models
    5757* 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 management
    62 * **Frontend/Viewer:** `https://scan-the-world.com/` - Used for embedding 3D model viewers via iframe on your website
    6358
    6459= What data is sent and when =
     
    121116The 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.
    122117
     118== Screenshots ==
     1191. Link your product to your 3D item
     1202. Drag and drop Our block to product page or exist page that display 3D mdoel viewer to your customers
     1213. You/Customers now can view the product in 3D viewer!
     122
     123
    123124== Changelog ==
    124125
    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  
    33 * Plugin Name:       3D Scan & Show: Product Viewer
    44 * 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.1
     5 * Version:           0.4.2
    66 * Author:            Scan the World
    77 * Author URI:        https://scan-the-world.com/
  • 3d-scan-and-show/trunk/admin/css/menu-icon.css

    r3410581 r3414868  
    3535    fill: #10b981 !important;
    3636}
     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  
    8181            $(".stw-nav-tab").removeClass("active");
    8282            $('.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            });
    83118        },
    84119
  • 3d-scan-and-show/trunk/readme.txt

    r3410581 r3414868  
    44Requires at least: 6.0
    55Tested up to: 6.9
    6 Stable tag: 0.4.1
     6Stable tag: 0.4.2
    77Requires PHP: 7.4
    88License: GPLv3
     
    5656* Linking your WooCommerce products to 3D models
    5757* 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 management
    62 * **Frontend/Viewer:** `https://scan-the-world.com/` - Used for embedding 3D model viewers via iframe on your website
    6358
    6459= What data is sent and when =
     
    121116The 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.
    122117
     118== Screenshots ==
     1191. Link your product to your 3D item
     1202. Drag and drop Our block to product page or exist page that display 3D mdoel viewer to your customers
     1213. You/Customers now can view the product in 3D viewer!
     122
     123
    123124== Changelog ==
    124125
    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.