alkem-io / client-web

Default web frontend, enabling browsing the Alkemio platform - so the hosted Challenges and communities collaborating around those Challenges.
https://alkem.io
European Union Public License 1.2
15 stars 6 forks source link

BUG: Discussions overview takes too long to load #1403

Closed valentinyanakiev closed 2 years ago

valentinyanakiev commented 2 years ago

Describe the bug Discussion overview page takes too long to load

To Reproduce Steps to reproduce the behavior:

  1. Log in.
  2. Go to https://test.alkem.io/un-sdgs/community/discussions
  3. Navigations take 10-15 seconds to load initially. All discussions make a call to get all authorization policies, which is heavy (see screenshot) and that takes too long.

Expected behavior

  1. Discussion overview is loaded in 1-2 seconds max

Screenshots! image.png

Desktop (please complete the following information):

Additional context Add any other context about the problem here.

Comoque1 commented 2 years ago

The discussions list is loaded in much less time ~ 179ms image.png