Skip to content
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

Fix #3302: debounce sidebar rendering #3303

Conversation

JohnXLivingston
Copy link
Contributor

Here is the fix i propose to #3302

Not sure it is acceptable for you upstream (as it fixes a non-standard use case), just let me know.

@JohnXLivingston JohnXLivingston force-pushed the fix_3302_debounce_muc_sidebar_rendering branch from c8de048 to 11ad2f9 Compare January 16, 2024 11:14
@JohnXLivingston
Copy link
Contributor Author

@jcbrand , we discussed on ConverseJS chat room about another issue: when users change their nicknames, the MUC participant user list does not refresh (the sorting is not updated).
I added this commit: c04d2c9

I added it in this PR, as the code is not the same on master. Tell me if you prefer that i remove this commit, and make another PR.

@JohnXLivingston
Copy link
Contributor Author

JohnXLivingston commented Jan 17, 2024

Hi @jcbrand . I was trying to fix the tests.
I think i found an error, that i fixed here: 8110a7f (not 100% sure of myself).

Last CI run fails on errors in styling.js. I have the same issue on my laptop, can't figure out why.

On my laptop it fails here:

await u.waitUntil(() => msg_el.innerHTML.replace(/<!-.*?->/g, '') ===

What i got:

Go to ~<a target="_blank" rel="noopener" href="https://conversejs.org~now/">https://conversejs.org~now</a> <span class="styling-directive">_</span><i>please</i><span class="styling-directive">_</span>

There is a "a" tag, despite the test suite does not expect it.

Seems not related to this PR.

@jcbrand
Copy link
Member

jcbrand commented Feb 9, 2024

Thanks, merged manually.

@jcbrand jcbrand closed this Feb 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants