Skip to content

Comments

fix(NcRichText): Allow to pass interactive widget toggle#5365

Merged
susnux merged 2 commits intomasterfrom
fix/widget-interactive-ncrichtext
Mar 8, 2024
Merged

fix(NcRichText): Allow to pass interactive widget toggle#5365
susnux merged 2 commits intomasterfrom
fix/widget-interactive-ncrichtext

Conversation

@juliusknorr
Copy link
Contributor

@juliusknorr juliusknorr commented Mar 7, 2024

In Talk we need to pass the interactive widget property over from NcRichText to be able to toggle it.

🏁 Checklist

  • ⛑️ Tests are included or are not applicable
  • πŸ“˜ Component documentation has been extended, updated or is not applicable
  • 3️⃣ Backport to next requested with a Vue 3 upgrade

@juliusknorr juliusknorr requested review from Antreesy and ShGKme March 7, 2024 15:52
@juliusknorr juliusknorr added bug Something isn't working 3. to review Waiting for reviews labels Mar 7, 2024
@juliusknorr
Copy link
Contributor Author

/backport to next

Copy link
Contributor

@Antreesy Antreesy left a comment

Choose a reason for hiding this comment

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

Looks OK, will test later with Talk
UPD: tested with Talk, seems to work correctly (with known Files widget). Although there are couple of warnings in the console:

A B
image image
image

@Antreesy Antreesy added this to the 8.9.2 milestone Mar 7, 2024
@ShGKme ShGKme modified the milestones: 8.9.2, 8.10.0 Mar 7, 2024
@ShGKme
Copy link
Contributor

ShGKme commented Mar 7, 2024

Not sure I understand how to test with interactive widgets, but couldn't test with Tables.

Same issue in the console. I remembered, it was fixed somewhere...

image

with known Files widget

Are they interactive? I expected interactive widgets to have "Enable interactive mode" button like in text:

image

@ShGKme
Copy link
Contributor

ShGKme commented Mar 7, 2024

Sending a link to a text file looks like interactive, but also has errors and the text file is not loaded.

image

image

I'm not sure I correctly understand what are the steps to test PR

@Antreesy
Copy link
Contributor

Antreesy commented Mar 7, 2024

Are they interactive?

So far it works with 'Copy internal link" in Files Sharing tab and posting in the chat

@ShGKme
Copy link
Contributor

ShGKme commented Mar 7, 2024

For Images in Files:

Before After
image image

But a text file is never loaded, and the message with the link even doesn't appear in the chat until reload.

Signed-off-by: Julius HΓ€rtl <[email protected]>
@susnux susnux merged commit 8dd5a3d into master Mar 8, 2024
@susnux susnux deleted the fix/widget-interactive-ncrichtext branch March 8, 2024 10:51
@juliusknorr
Copy link
Contributor Author

I'll check those errors

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

Labels

3. to review Waiting for reviews bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants