-
Notifications
You must be signed in to change notification settings - Fork 151
Rename 'Published' tab to 'Saved' in form list pages #1705
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rename 'Published' tab to 'Saved' in form list pages #1705
Conversation
- Updated tab label from 'Published' to 'Saved' in wpuf_get_forms_counts_with_status() - Changed status badge text in FormsList.vue - Clarifies that forms are stored in the database rather than published content
WalkthroughUI and backend labels for the "publish" post status were changed from "Published" to "Saved". The Vue component adjusts the displayed badge text, and the PHP helper updates the status label mapping. No logic, styling, or public APIs were modified. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Poem
Pre-merge checks and finishing touches✅ Passed checks (3 passed)
✨ Finishing touches
🧪 Generate unit tests
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 0
🧹 Nitpick comments (1)
assets/js/components/FormsList.vue (1)
551-553: Localize the new 'Saved' badge (and other statuses).Wrap these strings with
__()to keep i18n consistent across the UI.- {{ form.post_status === 'publish' ? 'Saved' : - form.post_status === 'pending' ? 'Pending Review' : - form.post_status === 'private' ? 'Private' : 'Draft' }} + {{ form.post_status === 'publish' ? __( 'Saved', 'wp-user-frontend' ) : + form.post_status === 'pending' ? __( 'Pending Review', 'wp-user-frontend' ) : + form.post_status === 'private' ? __( 'Private', 'wp-user-frontend' ) : __( 'Draft', 'wp-user-frontend' ) }}
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (2)
assets/js/components/FormsList.vue(1 hunks)wpuf-functions.php(1 hunks)
🧰 Additional context used
🪛 GitHub Actions: Inspections
wpuf-functions.php
[warning] 1-1: The method parameter $post_id is never used.
[error] 1-1: Processing form data without nonce verification.
🔇 Additional comments (1)
wpuf-functions.php (1)
5607-5611: LGTM: backend label switched to ‘Saved’.Status mapping now returns “Saved” for
publish, matching the UI badge change.Please confirm that no other forms list UI strings still render “Published” (e.g., any legacy PHP-rendered list views). If needed, we can scan templates using a quick grep for “Published” within forms-related contexts.
|
Post Status should be published @arifulhoque7 vai |
|
done @Rubaiyat-E-Mohammad vai |
…1705) * Rename 'Published' tab to 'Saved' in form list pages - Updated tab label from 'Published' to 'Saved' in wpuf_get_forms_counts_with_status() - Changed status badge text in FormsList.vue - Clarifies that forms are stored in the database rather than published content * fix: post status saved ---> published

Related Free PR, Close issue
Summary by CodeRabbit