Skip to content

Show the Community Library to signed-out visitors - #6097

Merged
marcellamaki merged 2 commits into
learningequality:hotfixesfrom
rtibbles:public_community
Aug 18, 2026
Merged

Show the Community Library to signed-out visitors#6097
marcellamaki merged 2 commits into
learningequality:hotfixesfrom
rtibbles:public_community

Conversation

@rtibbles

@rtibbles rtibbles commented Aug 18, 2026

Copy link
Copy Markdown
Member

Summary

  • Adds the Community Library tab for anonymous users alongside the Kolibri Library
  • Allows live community library versions to be accessed from the API endpoint so their full metadata can be displayed

References

In response to user feedback that most people won't have a Studio login to see this!

Reviewer guidance

Needs a channel live in the Community Library locally: publish a non-public channel, create a CommunityLibrarySubmission for it, mark it live, then export it with export_channel_to_kolibri_public(..., public=False).

  1. Signed out, open /channels/ — both Kolibri Library and Community Library tabs are present, and the Community Library lists the channel.
  2. Open the channel's details — channel token, resource breakdown, categories and licences are populated, and the "Help grow the Community Library" banner is absent.
  3. Copy the channel token from the card — the modal shows the token.
  4. Signed out, open /channels/#/my-channels and /channels/#/community-library/<id>/<submission-id> — both redirect to the Kolibri Library.
  5. Signed in as a user who neither edits nor views the channel — same details as step 2.
State Screenshot
Kolibri Library, signed out Kolibri Library signed out
Community Library, signed out Community Library signed out
Channel details, signed out Channel details signed out
Copy token, signed out Copy token signed out
Community Library, signed in Community Library signed in

Widening ChannelVersion.filter_view_queryset exposes version notes publicly.

No new a11y violations reported

AI usage

Used Claude Code to implement the tab change and the queryset widening, and to drive a browser through the signed-out flows. Verified with the Django and Jest suites, axe-core, and manual QA against a local server.

rtibbles and others added 2 commits August 18, 2026 12:43
A version whose Community Library submission is live is now readable by
anyone. Every other version stays scoped to the channel's editors,
viewers and admins, so private and Kolibri Library channels are
unchanged.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01P3rKRVLMe9qtMVMHG1N8N9
… users

Both library tabs now render without an account, and the contribute
banner is hidden for visitors who have no channels to submit.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01P3rKRVLMe9qtMVMHG1N8N9
@rtibbles
rtibbles marked this pull request as ready for review August 18, 2026 20:04

@marcellamaki marcellamaki left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Code review looks fine, and quick manual QA confirms that on "explore without account" path I was still able to see the local dev test community channel

Screen.Recording.2026-08-18.at.4.19.13.PM.mov

@marcellamaki
marcellamaki merged commit 7962309 into learningequality:hotfixes Aug 18, 2026
24 checks passed
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.

2 participants