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

Set whether stories is enabled in course config #1053

Merged
merged 6 commits into from
Feb 3, 2024
Merged

Conversation

RichDom2185
Copy link
Member

A backwards-compatible change thus can be merged independently of the frontend (associated frontend PR TBC).

This aims to allow the frontend, which first retrieves the course config from the main backend, to also check if it should then ping the stories backend.

This would solve the spurious 404 errors when stories is not enabled for a particular course.

@coveralls
Copy link

coveralls commented Jan 16, 2024

Coverage Status

coverage: 95.295%. remained the same
when pulling 7eda018 on toggle-stories
into 96b23a4 on master.

@RichDom2185 RichDom2185 self-assigned this Jan 16, 2024
@RichDom2185 RichDom2185 marked this pull request as ready for review January 16, 2024 04:17
Copy link
Member Author

@RichDom2185 RichDom2185 left a comment

Choose a reason for hiding this comment

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

@YaleChen299 since the config change is a relatively passive thing, I don't see the need to add more tests when the views are effectively identical. Can I get your thoughts on this? Thanks!

Copy link
Contributor

@YaleChen299 YaleChen299 left a comment

Choose a reason for hiding this comment

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

LGTM! Thank you so much!

@RichDom2185 RichDom2185 merged commit 4179446 into master Feb 3, 2024
2 checks passed
@RichDom2185 RichDom2185 deleted the toggle-stories branch May 11, 2024 06:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants