Feat native post native loading window indicator#92
Merged
AllTerrainDeveloper merged 10 commits intotrunkfrom May 6, 2026
Merged
Feat native post native loading window indicator#92AllTerrainDeveloper merged 10 commits intotrunkfrom
AllTerrainDeveloper merged 10 commits intotrunkfrom
Conversation
- Introduced Tests_DesktopMode_PostsWindowRegistration to validate registration and permission gates for the native Posts window. - Added Tests_DesktopMode_PostsWindowSettings to ensure the `nativePostsEnabled` field is correctly handled in user settings. - Created vitest tests for native URL remapping and REST interactions in the Posts window, covering various scenarios including fetching posts, handling errors, and building edit post URLs.
This commit introduces a new `terms-tab.ts` file that implements a unified UI for managing categories and tags within the native Posts window. The new design features a stats strip, a search and add toolbar, and a paginated table for displaying terms. The implementation supports hierarchical categories with a parent picker and includes functionality for adding, editing, and deleting terms. The UI is designed to enhance user experience by providing a cleaner layout and improved interaction patterns.
…ity and styling - Removed minimum chip visual scale in categories mindmap for consistent text readability across zoom levels. - Updated category chip font size to match post title font size for visual consistency. - Implemented category deletion functionality in the category picker, including confirmation prompts and error handling. - Enhanced category picker to broadcast fresh category trees to all active pickers upon category changes. - Added delete button to category rows, visible on hover or keyboard focus, to allow for easy category removal. - Improved table styling to provide a clear visual divider for sticky columns, enhancing usability. - Refactored table component to compute the last sticky column index dynamically, ensuring accurate rendering of sticky edges.
…ng and improved text rendering - Added debounced fitting for categories mindmap and tags cloud on window resize events to ensure proper layout during transitions. - Increased font sizes for better readability in both components. - Implemented a new text resolution constant for consistent text rendering across different UI elements. - Updated the handling of the Uncategorized node in the categories mindmap for improved visual representation. - Introduced CSS-only password masking in the text field component to prevent password managers from interfering with API key inputs. - Enhanced unit tests for the text field component to cover new password masking behavior and autocomplete attributes.
- Updated `fetchPosts` to handle `author` and `tags` parameters as arrays, ensuring proper REST API compatibility. - Improved `mountTagsCloud` to enhance zoom functionality and resize handling, including a new cache mechanism for posts. - Adjusted table styles to differentiate column borders and ensure better visual clarity. - Enhanced `wpd-table` component to clarify filtering behavior for `filterRender` columns, ensuring they are not filtered client-side. - Improved performance by optimizing header and filter row rendering in `wpd-table`.
✅ WordPress Plugin Check Report
📊 ReportAll checks passed! No errors or warnings found. 🤖 Generated by WordPress Plugin Check Action • Learn more about Plugin Check |
…ive-loading-window-indicator # Conflicts: # desktop-mode.php # package.json # vite.config.js
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Native Posts Window
A brand-new, desktop-native Posts experience for WP Desktop Mode — no iframe, no classic
edit.php, just a fast, spatial UI built on our own component kit. This branch turns "manage your posts" into something that finally feels at home on the desktop.What's new
A native Posts window
nativePostsEnabled), gated server-side with a proper capability check and PHPUnit coverage.edit.php.Posts.mov
A Terms tab (Categories & Tags) that actually feels good
Categories Mindmap & Tags Cloud
A proper component kit
New reusable Lit components under
src/ui/components/:wpd-category-picker— chain-aware picker with descendant/segment removal logicwpd-crumb-chain— breadcrumb chain renderingwpd-multiselect,wpd-tag-input,wpd-chipwpd-save-status— unified save-state indicatorSave.indicator.mov
Plus upgrades to existing ones: sticky-column visual dividers and dynamic last-sticky detection in
wpd-table, password-manager-resistant masking inwpd-text-field, polish inwpd-tabs.Why it's awesome
native-posts.md,window-activity.md, hooks/JS reference updates) so plugin authors can build on top of all of this.Touched docs
docs/examples/native-posts.md,docs/examples/window-activity.md,docs/hooks-reference.md,docs/javascript-reference.md, plus README and.potupdates.