Skip to content

fix: minor regressions#13869

Merged
Antreesy merged 3 commits intomainfrom
fix/noid/shared-composable
Nov 25, 2024
Merged

fix: minor regressions#13869
Antreesy merged 3 commits intomainfrom
fix/noid/shared-composable

Conversation

@Antreesy
Copy link
Contributor

☑️ Resolves

Fix regressions from:


  • fix: share autocomplete mentions for NewMessage #13778
  • Shared composable is not called, if one instance of component already mounted.
  • To test:
    • open chat 1 with userList1 and '@' mention someone to get list of mentions
    • start a call, end a call
    • switch to chat 2 with userList2 and '@' mention someone
    • suggestions should be requested for chat 2, not chat 1

  • fix: introduce submenu logic in Conversation component #13862
  • Conversation components should not keep internal value for notification level, but get it from store
  • To test:
    • open chat 1 and conversation settings
    • set notification level settings to 'Off' and 'Off'
    • open three-dot menu for same conversation -> Notifications
    • settings should be 'Off' and 'Off', not what was at the mounting moment


🖌️ UI Checklist

🚧 Tasks

  • See reproduction steps

🏁 Checklist

  • 🌏 Tested with different browsers / clients:
    • Chromium (Chrome / Edge / Opera / Brave)
    • Firefox
    • Safari
    • Talk Desktop
    • Not risky to browser differences / client
  • ⛑️ Tests are included or not possible

await this.$store.dispatch('postNewMessage', { token, temporaryMessage, options })
} catch (e) {
console.error(e)
this.$store.dispatch('discardUpload', this.currentUploadId)
Copy link
Contributor

Choose a reason for hiding this comment

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

Should you also remove the await in test?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Vuex actions are still considered async, so let them be until pinia migration

@Antreesy Antreesy merged commit fd4e337 into main Nov 25, 2024
@Antreesy Antreesy deleted the fix/noid/shared-composable branch November 25, 2024 23:59
@Antreesy
Copy link
Contributor Author

/backport to stable30

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants