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

Don't load comment sidebar when the active announcement doesn't allow comments #576

Merged
merged 1 commit into from
Jan 4, 2023

Conversation

tcitworld
Copy link
Member

When linked to directly though /?announcement=1, the sidebar always opened and showed an error telling that loading comments is impossible.
On backend this gives a sabre exception: « Entity does not exist or is not available », so we want to avoid to make that call.

A drawback is that we now have to wait for the full announcement list to be loaded before loading the comment sidebar.

Similar to #364

… comments

When linked to directly though /?announcement=1, the sidebar always
opened and showed an error telling that loading comments is impossible.
On backend this gives a sabre exception:
« Entity does not exist or is not available »

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
@nickvergessen
Copy link
Member

Will have a look, but mostlikely only after the winter break

@nickvergessen nickvergessen merged commit 30d2fa5 into master Jan 4, 2023
@nickvergessen nickvergessen deleted the no-sidebar-when-no-comments branch January 4, 2023 12:21
@nickvergessen nickvergessen mentioned this pull request Feb 16, 2023
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