Skip to content

DEV: Improve quoted post handling and enhance decorator stability #33111

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

megothss
Copy link
Contributor

@megothss megothss commented Jun 6, 2025

Added topic tracking to posts and improved quoted post handling by linking quoted posts to their parent topic.

Introduced error handling for decorators to prevent crashes and ensure smoother operation in case of unexpected issues.

Added `topic` tracking to posts and improved quoted post handling by linking quoted posts to their parent topic. Introduced error handling for decorators to prevent crashes and ensure smoother operation in case of unexpected issues. These changes enhance reliability and data consistency across related components.
@megothss megothss marked this pull request as draft June 6, 2025 20:46
This commit introduces tests to ensure proper handling of nested quotes in the Glimmer Post Stream mode. It verifies that quote toggles expand and collapse correctly, including nested quotes within outer quotes. A new server fixture is also added to simulate the required post data for testing.
@megothss megothss marked this pull request as ready for review June 9, 2025 19:11
// the application from crashing

// eslint-disable-next-line no-console
console.error(e);
Copy link
Member

Choose a reason for hiding this comment

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

Can we make it throw in qunit/system-spec environments?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants