Conversation
- Settings page moved under Admin → Talking Head → Settings submenu - 3-tab settings layout (Provider, Audio, Limits) - Character counter on turn blocks (red when over limit) - Segment counter in episode block inspector panel - Segments and Words columns on Episodes admin list - Settings values injected into block editor for client-side validation - Updated documentation to reflect new settings location
…ality - Implemented `enqueue_scripts` method in `SettingsPage.php` to load the new settings page script. - Created `settings-page.js` to handle the visibility of provider sections based on the selected option. - Added tests in `settings-page.test.js` to ensure correct behavior of the provider toggle functionality, including initial state checks and response to changes.
…er sanitization Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
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.
This pull request introduces several enhancements to the Talking Head plugin, focusing on improving the settings UI, providing better feedback in the block editor, and adding useful counters and indicators for content limits. It also updates localization files and documentation to reflect these changes.
Editor UI and Feedback Improvements:
turnblock, displaying current and maximum allowed characters, with a red warning when over the limit (blocks/turn/edit.js,blocks/turn/editor.scss) [1] [2] [3].episodeblock inspector, showing the current and maximum number of segments, with visual indication when over the limit (blocks/episode/edit.js,blocks/episode/editor.scss) [1] [2] [3].maxSegments,maxSegmentChars) into the block editor via an inline script, allowing dynamic enforcement and display of limits (blocks/episode/edit.js,blocks/turn/edit.js) [1] [2].Settings and Admin Panel Enhancements:
CHANGELOG.md,README.md) [1] [2].CHANGELOG.md).Localization and Documentation Updates:
languages/talking-head-nb_NO.po,languages/talking-head-nb_NO.l10n.php,languages/talking-head-nb_NO-9058dcc10f361206af945467e6b72902.json) [1] [2] [3] [4] [5] [6].CHANGELOG.md,README.md) [1] [2].