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

Communication: Selecting a channel calls messages api twice #9496

Closed
PaRangger opened this issue Oct 16, 2024 · 0 comments
Closed

Communication: Selecting a channel calls messages api twice #9496

PaRangger opened this issue Oct 16, 2024 · 0 comments

Comments

@PaRangger
Copy link
Contributor

Describe the bug

When selecting a channel the /course/id/messages api is called twice. This is inefficient and also creates a flashing ui effect of the messages appearing shortly, dissapearing and appearing again.

To Reproduce

Open the "Network" tool inside the browser, to check all activity

  1. Go to course
  2. Go to communication
  3. Select a channel
  4. Check the network tool for calls to the /messages api

Expected behavior

The client should only request the messages once, then display them.

Screenshots

Bildschirmfoto 2024-10-16 um 10 24 17

Which version of Artemis are you seeing the problem on?

7.6.1

What browsers are you seeing the problem on?

Chrome

Additional context

No response

Relevant log output

No response

@PaRangger PaRangger added the bug label Oct 16, 2024
@PaRangger PaRangger changed the title Communication: Selecting a channel calls messages twice Communication: Selecting a channel calls messages api twice Oct 16, 2024
@PaRangger PaRangger self-assigned this Oct 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant