Skip to content

Updated Help Hub for ET. #3741

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

Merged
merged 26 commits into from
Apr 29, 2025
Merged

Updated Help Hub for ET. #3741

merged 26 commits into from
Apr 29, 2025

Conversation

redscar
Copy link
Contributor

@redscar redscar commented Apr 15, 2025

🎫 Ticket

  • New Help Hub page for Event Tickets
  • Resource sections for Getting Started, Tickets & RSVPs, Attendee Management, and Email tutorials
  • Integration with existing TEC Common Help Hub system

image

image

🗒️ Description

🎥 Artifacts

✔️ Checklist

  • Ran npm run changelog to add changelog file(s). More info here
  • Code is covered by NEW wpunit or integration tests.
  • Code is covered by EXISTING wpunit or integration tests.
  • Are all the required tests passing?
  • Automated code review comments are addressed.
  • Have you added Artifacts?
  • Check the base branch for your PR.
  • Add your PR to the project board for the release.

@redscar redscar self-assigned this Apr 15, 2025
redscar and others added 7 commits April 15, 2025 10:50
Replaced static resource sections setup with the dynamic `Section_Builder` for easier scalability and maintenance. Implemented new filters and descriptions to improve customizability and consistency in Help Hub content.
Copy link
Contributor

@tec-bot tec-bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remaining comments which cannot be posted as a review comment to avoid GitHub Rate Limit

phpcs

[phpcs] reported by reviewdog 🐶
Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed
Tabs must be used to indent lines; spaces are not allowed

return _x('Help on setting up, customizing, and troubleshooting your tickets.', 'Help Hub resources description', 'event-tickets');


[phpcs] reported by reviewdog 🐶
PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket
Expected 1 spaces after opening parenthesis; 0 found

return _x('Help on setting up, customizing, and troubleshooting your tickets.', 'Help Hub resources description', 'event-tickets');


[phpcs] reported by reviewdog 🐶
PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket
Expected 1 spaces before closing parenthesis; 0 found

return _x('Help on setting up, customizing, and troubleshooting your tickets.', 'Help Hub resources description', 'event-tickets');


[phpcs] reported by reviewdog 🐶
Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed
Tabs must be used to indent lines; spaces are not allowed

redscar added 11 commits April 23, 2025 13:48
Replaced the generic Section_Builder with Link_Section_Builder and FAQ_Section_Builder for better modularity and maintainability. Updated functions to individually define sections, improving clarity and extensibility of the resource data. Addressed minor formatting inconsistencies in some Help Hub descriptions.
Streamlined Help Hub initialization by introducing `initialize()` to prevent redundant setup. Added customization hooks for header logo and Help Hub pages. Removed unused `Resource_Data_Mock.php` and updated tests to validate the changes.
Updated the filter name and parameter from "support_title" to "support_description" for consistency and accurate labeling. Adjusted associated comments and return descriptions to align with the changes.
- Correct text domain reference for "support description."
- Implement `redirect_to_help_hub` to redirect users from the old Help page to the new Help Hub.
@redscar redscar marked this pull request as ready for review April 25, 2025 17:04
- Add new `et_icon` for Event Tickets logo.
- Replace `tec_icon` with `et_icon` in Help Hub link.
@redscar redscar added the code review Status: requires a code review. label Apr 28, 2025
@redscar redscar requested a review from a team April 28, 2025 12:22
@rafsuntaskin rafsuntaskin added the needs tests Needs tests before merging. label Apr 29, 2025
Copy link
Contributor

@rafsuntaskin rafsuntaskin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Need some tests for the changes.

redscar and others added 4 commits April 29, 2025 11:08
…ta`.

- **Update PHP docblocks**: Add missing @SInCE tags and improve parameter/return annotations.
- **Introduce integration tests** for Help Hub templates and functionality.
- **Add snapshot testing** for template rendering.
@redscar redscar removed the needs tests Needs tests before merging. label Apr 29, 2025
@redscar redscar merged commit c8d12fa into bucket/help-hub Apr 29, 2025
20 of 21 checks passed
@redscar redscar deleted the tweak/ET-2376_Help_Hub branch April 29, 2025 17:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
code review Status: requires a code review.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants