feat(about): list the open source libraries the instance is built on - #177
Merged
Conversation
The About dialog stated the version and the licence but said nothing about the components underneath, and neither did any API : answering "what is this instance made of" meant reading requirements.txt and grepping the templates for CDN pins. core/dependencies.py is now the single registry for both halves of the stack. Python versions are resolved from the installed metadata, so a deployed instance reports what it actually runs rather than what was declared; front-end versions are the ones pinned in the templates, and the test suite fails if either drifts. The dialog gains a collapsed "Open source libraries" section grouping the components into backend, frontend and development, each linking to its official repository. The same registry answers at GET /api/v1/dependencies and through the list_dependencies MCP tool. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
The About dialog stated the version and the licence but said nothing about what the instance is built on. It now lists every third-party component, each linking to its official repository, and the same inventory is available over the REST API and MCP.
Related issue
None.
Type of change
Changes
core/dependencies.py: one registry for both halves of the stack (41 components, grouped backend / frontend / development), each with its official repository URL and what it is used for. Python versions are resolved from the installed metadata, so a deployed instance reports what it actually runs; front-end versions are the ones pinned in the templates.modal-dialog-scrollablewith the Close button in a fixed footer.GET /api/v1/dependencies: read-only, any authenticated user, same registry.list_dependenciesMCP tool, optionally filtered by group.core/tests/test_dependencies.py: the registry must matchrequirements.txtexactly (both directions) and the front-end pins must be the versions actually loaded, so a library added without a registry entry fails the suite.docs/specs/m0-accounts/README.md, the stack section ofdocs/technical/architecture.md, a new "About this instance" section in the user guide, README, CHANGELOG, and the regenerated reference.Screenshots
Captured against a throwaway seeded database at 1440x900 (desktop) and 390x844 (mobile), with the section expanded :
--text-secondary, versions--text-muted).djangorestframework-simplejwt).Checklist
pytestpasses (3124 passed)ruff checkpassesmcp/tools.py(accurate docstrings and parameter descriptions)api/(serializers, viewsets, routes under/api/v1/)_()/{% trans %}with French translations inlocale/fr/LC_MESSAGES/django.po(no duplicatemsgid;compilemessagespasses)README.mdupdated (features, MCP tools, tech stack, install) when behaviour changedCHANGELOG.mdupdated under## [Unreleased]docs/brand/brand-guidelines.md); no em dash charactersdocs/specs/updated in the same PR