| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
refactor: serve the static-assets fonts and images from the frontend (#2291) * refactor: serve the static-assets fonts and images from the frontend * refactor: convert the vendored images to svg and webp | 25 天前 | |
feat: redesign the projects page as a standalone home with full project management (#2395) * feat: redesign the projects page and new project/organization pickers - rebuild the project manager as a resizable sidebar (new project, nav, recents, organizations, storage, account) and a main panel with a greeting, continue-editing card, search with name:/owner:/desc:/is: filters, tabs, sort, grid/list views and paged loading - show pulsing skeleton bones while projects load; keep the progress bar for imports - move the MCP button into the account row; its popover and the account menu open above the row with matching styles - restyle the new project and new organization pickers in the project picker frame with shared header, input and button styles - cache starter kits for the session with a background refresh, and show skeleton kit cards on first load - fix the new project picker showing no kits when reopened * feat: add a prompt subtitle and a start screen to the projects page - replace the home subtitle stats (already on the tabs and storage card) with a short prompt picked per page load; org pages keep their count - centre the greeting and actions when an account has no projects yet - hide the empty recents heading and fix "All 1 projects shown" * feat: redesign the new and delete organization pickers - new organization: live preview of the org, a URL field with the host prefix that follows the name until edited, placeholders instead of example hints, and hints only for values that need fixing - delete organization: the shared picker frame, a plain confirmation line, a callout when projects will be transferred, and a danger button - drop the divider above the footer buttons in all three pickers * feat: unify interactions and refine the projects page - one interaction system: shared transition, hover fills one step above their surface, orange ring and image zoom on clickable surfaces, outlined and primary button hovers, and keyboard focus rings - move new project and import into the sidebar; header actions only show on the empty start screen - continue editing card: actions under the details, description, meta with the private badge and play count, a larger square thumbnail - lock icon on locked list rows, no public badge, plain orange plus for new project, and the playcanv.as mark as the sidebar logo - pin the page to the window so a banner above it can't scroll it away, and give the pinned toolbar more room at the top * fix: keep loading projects when the load-more row stays in view * fix: show the projects page skeleton before the user loads * feat: add projects breadcrumb and shortcut, restyle project dialogs * fix: restore lost projects page features and fix owner bugs - switch to a newly created organization as the owner, and ignore stale organization loads after the filter changes - keep / and esc inert while a dialog or menu covers the projects page - bring back view counts, card sizes, typo-tolerant search and the project dashboard link - move card counts and size into a footer strip, and lay out the continue editing panel as labelled facts * feat: add project actions menus and show return to editor on every view - give cards and the continue editing panel the same actions menu as list rows - disable open editor in the menu for projects that can't be opened - show the return to editor banner on every view except home, where the continue editing panel already offers it * chore: fix lint and formatting on projects page files * feat: star and watch projects from the projects page * fix: align the star count with the other project stats * feat: transfer, fork, dev log and the rest of project management on the projects page * fix: read fork job status from the job and drop the admin badge * fix: show the forked-from project name with its owner after it * feat: apply the reviewed design to project management on the projects page * fix: style the fork owner dropdown and source project like the rest of the editor * fix: dev log empty state, owner names and dropdown focus, and let hidden rows hide * fix: dev log cancel, pcom's dev log icon, and a plain owner field when there's one owner * feat: scroll project settings in its card and rework its buttons * fix: use a link icon for copying the project link * fix: match the copy link button to play * fix: orange copy link with the editor's link icon, matched dialog buttons, rounded scrollbars and clearer empty outlines * fix: orange play button with a full-size play icon, restore the copy link button, soften empty outlines * feat: starred filter, play buttons that match the projects page, and copy link beside fork * fix: hide the scenes tab in project settings opened from the projects page * fix: keep the close button when switching panels in project settings opened from the projects page * fix: label the welcome card's scenes like its other details and only show them when there's a choice * fix: don't throw when project settings shows before its project loads * fix: style the organization menu like the other projects page menus * refactor: build the projects page from shared components and tokens - move projects page tokens, mixins and placeholders into _editor-tokens.scss, with new radius, tone, muted text and z-index tokens - add button(), dialog(), callout(), spinner() and empty() components and their styles - rebuild the 7 project management dialogs on dialog(): one footer, labelled close, Esc to close, one z-index above project settings - replace the page, settings footer, dev log, MCP popover and project picker button recipes with button() - inset menu rows with a danger tone for delete; owner select uses the same hover - raise muted text to 4.5:1 contrast; one avatar scale and one spinner - make cards, starter kits, the storage card and the account avatar keyboard operable; label every icon button - badge only read-only shared projects, in a blue info tone * fix: keep hidden projects page buttons hidden The shared button's display beat pcui's hidden state, so buttons meant to be hidden still showed, e.g. Open editor, Play and Delete Project in the editor's own project settings. * feat: make /editor a standalone projects home and open projects in their own tabs (#2408) * feat: open the projects page in its own tab from the editor All Projects, Ctrl+O, the Projects breadcrumb and See all projects switch to a named projects tab instead of covering the editor, so the open project keeps running. Each page names its tab (editor:projects or editor:<id>) so others can switch to it. * refactor: drop the projects page from the editor bundle The editor keeps only the project settings dialogs it opens itself (fork, project ready, leave project, change visibility). Project ready now opens the new project in its own tab, so it no longer warns that opening closes the current project. * refactor: drop the projects page's editor-overlay mode The projects page now only runs on /editor, so it no longer tracks an open project or scene: no banner, Return to editor, live dots, is:open filter, welcome-card scene chips or Esc back to the scene. Opening a project, from any button, switches to or opens that project's own tab. The project picker loses its overlay-only cmsView mode. * refactor: tell the projects page about project changes with an event Settings, team, transfer and the MCP driver emit projects:changed instead of calling into the projects page, which listens for it. The editor no longer calls a projects page method that only exists on /editor. * refactor: give the projects home page its own shell and settings views - /editor runs on a home shell: an editor instance with only the rest and messenger apis and a full-page root, so the engine, realtime, assets, entities, the editor layout and the scenes picker no longer load there (editor-empty.js 3.5 MB -> 0.55 MB) - project settings becomes a shared frame that shows the menus it's given; the editor adds See all projects and opens its own project with every menu, the home page adds the other-project views, Open editor, Play and Delete Project - localstorage imports its api class directly instead of the whole editor api * refactor: move the kit grid and other home-only settings out of the shared code - New project's starter kit grid moves to a home-only module that fills the shared project form; the editor keeps the form for Fork - joining or leaving a project emits picker:team:membership, which the home page answers by reopening its settings - the version control close guard lives in the editor's part of project settings * refactor: move the last page-specific rules out of the shared settings code - the settings frame no longer knows about scenes, the open project or the projects page: pages set its close rule and thumbnail mode, add their own overlay class, and keep their own config in sync - menu items take their labels from the panels that register them - the team panel asks the page for an invite restriction; the projects page supplies the not-a-member message and Add me as admin - project dialogs and settings panels emit the standard picker open and close events, and the editor alone handles viewport hover for them * fix: show the thumbnail upload overlay in the editor's project settings The settings frame reset the overlay to hidden on every load, right after the project settings panel showed it. The frame now leaves it to the panel in the editor's mode, the panel shows it again once the project has loaded, and it only shows when the controls are enabled. * feat: add Empty Project and take the starter kit projects from the page config New project offers Empty Project, a project with nothing in it created without forking, before Blank Project. The built-in kits fork the projects in config.starterKits instead of hard-coded live ids, so each environment uses its own, and a kit is left out where it has none; Empty Project is picked when there's no blank template. New project also loads your user itself, so opening it before the page has loaded you no longer fails. * test: cover the projects home and update specs for the redesigned page Adds an e2e spec for the projects home (loads without the editor, project and projects tabs opened and reused by name, each page's project settings, kits, fork) and a unit test for the tab helper. basic.test.ts follows the new page, Open editor opening a tab, and creates from Empty Project; the scenes page object reads the scene name from the breadcrumb. tabs.ts imports its config relatively so unit tests can load it. * test: cover creating a project from the blank kit * fix: keep the projects list in place when switching project settings tabs * fix: show full names in the team list and dev log * feat: use icon buttons for editing and deleting dev log posts * fix: shorten large counts with the compact number format * fix: fit project card stats on narrow cards * fix: pack card views and plays to the left * feat: use the flat playcanvas mark on the blank project thumbnail * feat: show the blank project thumbnail as a cube on a drafting grid * feat: draw blurry project thumbnails as pixel art * fix: keep the owner list in view and stop errors when changing owner * revert: draw blurry project thumbnails as pixel art This reverts commit 3c498c3a8. | 20 小时前 | |
refactor(ui): migrate legacy widgets to PCUI (#2140) * refactor(ui): reapply legacy widget PCUI migration Reapplies 975d199c4 by reverting 9db98d2a5 after the release revert. * fix: restore side panel picker selection * fix: restore curve toggle inactive styling * fix: match inactive curve toggle background | 3 个月前 | |
refactor(ui): migrate legacy widgets to PCUI (#2140) * refactor(ui): reapply legacy widget PCUI migration Reapplies 975d199c4 by reverting 9db98d2a5 after the release revert. * fix: restore side panel picker selection * fix: restore curve toggle inactive styling * fix: match inactive curve toggle background | 3 个月前 | |
feat: redesign the projects page as a standalone home with full project management (#2395) * feat: redesign the projects page and new project/organization pickers - rebuild the project manager as a resizable sidebar (new project, nav, recents, organizations, storage, account) and a main panel with a greeting, continue-editing card, search with name:/owner:/desc:/is: filters, tabs, sort, grid/list views and paged loading - show pulsing skeleton bones while projects load; keep the progress bar for imports - move the MCP button into the account row; its popover and the account menu open above the row with matching styles - restyle the new project and new organization pickers in the project picker frame with shared header, input and button styles - cache starter kits for the session with a background refresh, and show skeleton kit cards on first load - fix the new project picker showing no kits when reopened * feat: add a prompt subtitle and a start screen to the projects page - replace the home subtitle stats (already on the tabs and storage card) with a short prompt picked per page load; org pages keep their count - centre the greeting and actions when an account has no projects yet - hide the empty recents heading and fix "All 1 projects shown" * feat: redesign the new and delete organization pickers - new organization: live preview of the org, a URL field with the host prefix that follows the name until edited, placeholders instead of example hints, and hints only for values that need fixing - delete organization: the shared picker frame, a plain confirmation line, a callout when projects will be transferred, and a danger button - drop the divider above the footer buttons in all three pickers * feat: unify interactions and refine the projects page - one interaction system: shared transition, hover fills one step above their surface, orange ring and image zoom on clickable surfaces, outlined and primary button hovers, and keyboard focus rings - move new project and import into the sidebar; header actions only show on the empty start screen - continue editing card: actions under the details, description, meta with the private badge and play count, a larger square thumbnail - lock icon on locked list rows, no public badge, plain orange plus for new project, and the playcanv.as mark as the sidebar logo - pin the page to the window so a banner above it can't scroll it away, and give the pinned toolbar more room at the top * fix: keep loading projects when the load-more row stays in view * fix: show the projects page skeleton before the user loads * feat: add projects breadcrumb and shortcut, restyle project dialogs * fix: restore lost projects page features and fix owner bugs - switch to a newly created organization as the owner, and ignore stale organization loads after the filter changes - keep / and esc inert while a dialog or menu covers the projects page - bring back view counts, card sizes, typo-tolerant search and the project dashboard link - move card counts and size into a footer strip, and lay out the continue editing panel as labelled facts * feat: add project actions menus and show return to editor on every view - give cards and the continue editing panel the same actions menu as list rows - disable open editor in the menu for projects that can't be opened - show the return to editor banner on every view except home, where the continue editing panel already offers it * chore: fix lint and formatting on projects page files * feat: star and watch projects from the projects page * fix: align the star count with the other project stats * feat: transfer, fork, dev log and the rest of project management on the projects page * fix: read fork job status from the job and drop the admin badge * fix: show the forked-from project name with its owner after it * feat: apply the reviewed design to project management on the projects page * fix: style the fork owner dropdown and source project like the rest of the editor * fix: dev log empty state, owner names and dropdown focus, and let hidden rows hide * fix: dev log cancel, pcom's dev log icon, and a plain owner field when there's one owner * feat: scroll project settings in its card and rework its buttons * fix: use a link icon for copying the project link * fix: match the copy link button to play * fix: orange copy link with the editor's link icon, matched dialog buttons, rounded scrollbars and clearer empty outlines * fix: orange play button with a full-size play icon, restore the copy link button, soften empty outlines * feat: starred filter, play buttons that match the projects page, and copy link beside fork * fix: hide the scenes tab in project settings opened from the projects page * fix: keep the close button when switching panels in project settings opened from the projects page * fix: label the welcome card's scenes like its other details and only show them when there's a choice * fix: don't throw when project settings shows before its project loads * fix: style the organization menu like the other projects page menus * refactor: build the projects page from shared components and tokens - move projects page tokens, mixins and placeholders into _editor-tokens.scss, with new radius, tone, muted text and z-index tokens - add button(), dialog(), callout(), spinner() and empty() components and their styles - rebuild the 7 project management dialogs on dialog(): one footer, labelled close, Esc to close, one z-index above project settings - replace the page, settings footer, dev log, MCP popover and project picker button recipes with button() - inset menu rows with a danger tone for delete; owner select uses the same hover - raise muted text to 4.5:1 contrast; one avatar scale and one spinner - make cards, starter kits, the storage card and the account avatar keyboard operable; label every icon button - badge only read-only shared projects, in a blue info tone * fix: keep hidden projects page buttons hidden The shared button's display beat pcui's hidden state, so buttons meant to be hidden still showed, e.g. Open editor, Play and Delete Project in the editor's own project settings. * feat: make /editor a standalone projects home and open projects in their own tabs (#2408) * feat: open the projects page in its own tab from the editor All Projects, Ctrl+O, the Projects breadcrumb and See all projects switch to a named projects tab instead of covering the editor, so the open project keeps running. Each page names its tab (editor:projects or editor:<id>) so others can switch to it. * refactor: drop the projects page from the editor bundle The editor keeps only the project settings dialogs it opens itself (fork, project ready, leave project, change visibility). Project ready now opens the new project in its own tab, so it no longer warns that opening closes the current project. * refactor: drop the projects page's editor-overlay mode The projects page now only runs on /editor, so it no longer tracks an open project or scene: no banner, Return to editor, live dots, is:open filter, welcome-card scene chips or Esc back to the scene. Opening a project, from any button, switches to or opens that project's own tab. The project picker loses its overlay-only cmsView mode. * refactor: tell the projects page about project changes with an event Settings, team, transfer and the MCP driver emit projects:changed instead of calling into the projects page, which listens for it. The editor no longer calls a projects page method that only exists on /editor. * refactor: give the projects home page its own shell and settings views - /editor runs on a home shell: an editor instance with only the rest and messenger apis and a full-page root, so the engine, realtime, assets, entities, the editor layout and the scenes picker no longer load there (editor-empty.js 3.5 MB -> 0.55 MB) - project settings becomes a shared frame that shows the menus it's given; the editor adds See all projects and opens its own project with every menu, the home page adds the other-project views, Open editor, Play and Delete Project - localstorage imports its api class directly instead of the whole editor api * refactor: move the kit grid and other home-only settings out of the shared code - New project's starter kit grid moves to a home-only module that fills the shared project form; the editor keeps the form for Fork - joining or leaving a project emits picker:team:membership, which the home page answers by reopening its settings - the version control close guard lives in the editor's part of project settings * refactor: move the last page-specific rules out of the shared settings code - the settings frame no longer knows about scenes, the open project or the projects page: pages set its close rule and thumbnail mode, add their own overlay class, and keep their own config in sync - menu items take their labels from the panels that register them - the team panel asks the page for an invite restriction; the projects page supplies the not-a-member message and Add me as admin - project dialogs and settings panels emit the standard picker open and close events, and the editor alone handles viewport hover for them * fix: show the thumbnail upload overlay in the editor's project settings The settings frame reset the overlay to hidden on every load, right after the project settings panel showed it. The frame now leaves it to the panel in the editor's mode, the panel shows it again once the project has loaded, and it only shows when the controls are enabled. * feat: add Empty Project and take the starter kit projects from the page config New project offers Empty Project, a project with nothing in it created without forking, before Blank Project. The built-in kits fork the projects in config.starterKits instead of hard-coded live ids, so each environment uses its own, and a kit is left out where it has none; Empty Project is picked when there's no blank template. New project also loads your user itself, so opening it before the page has loaded you no longer fails. * test: cover the projects home and update specs for the redesigned page Adds an e2e spec for the projects home (loads without the editor, project and projects tabs opened and reused by name, each page's project settings, kits, fork) and a unit test for the tab helper. basic.test.ts follows the new page, Open editor opening a tab, and creates from Empty Project; the scenes page object reads the scene name from the breadcrumb. tabs.ts imports its config relatively so unit tests can load it. * test: cover creating a project from the blank kit * fix: keep the projects list in place when switching project settings tabs * fix: show full names in the team list and dev log * feat: use icon buttons for editing and deleting dev log posts * fix: shorten large counts with the compact number format * fix: fit project card stats on narrow cards * fix: pack card views and plays to the left * feat: use the flat playcanvas mark on the blank project thumbnail * feat: show the blank project thumbnail as a cube on a drafting grid * feat: draw blurry project thumbnails as pixel art * fix: keep the owner list in view and stop errors when changing owner * revert: draw blurry project thumbnails as pixel art This reverts commit 3c498c3a8. | 20 小时前 | |
PCUI update to 5.2.0 (#1404) * fix: update @playcanvas/pcui to version 5.2.0 and adjust related imports * fix: refactor _onAddEntity method to remove unused parameter and ensure root item is expanded * fix: remove unused parameter from _onAddEntity method | 1 年前 | |
refactor: serve the static-assets fonts and images from the frontend (#2291) * refactor: serve the static-assets fonts and images from the frontend * refactor: convert the vendored images to svg and webp | 25 天前 |
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
| 25 天前 | ||
| 20 小时前 | ||
| 3 个月前 | ||
| 3 个月前 | ||
| 20 小时前 | ||
| 1 年前 | ||
| 25 天前 |