chore(release): v1.0.1 — minimal install + sidebar contrast (#556)#566
Merged
Conversation
Owner directive 2026-05-28: the plug-and-play should be a SINGLE `INSTALLED_APPS` line — `django_admin_react` — and have it transparently bring the JSON API along. `django_admin_react.urls` already includes `django_admin_rest_api.api.urls` at `api/v1/`, so the URL include is sufficient; the API package's AppConfig adds nothing the include needs (the API ships zero models + zero signals). Verified against a fresh venv: `GET /admin-react/api/v1/registry/ → 403` (the gate runs as expected) with only `django_admin_react` registered. ## Changes - `README.md`: drop the `django_admin_rest_api` line from the install snippet; lead with "one INSTALLED_APPS line + one URL include." - `tests/test_project/settings.py`: align the test fixture with the README's recommended pattern (only `django_admin_react`). Full backend suite still **45 passed**. - `django_admin_react/__init__.py`: stop hardcoding `__version__ = "0.0.0"` (a placeholder from before any release); read the version from the installed distribution metadata via `importlib.metadata`, so the constant tracks `pyproject.toml` automatically every release. Replace the stale "skeleton" docstring with the real super-layer blurb + cross-links to the sibling packages. - `pyproject.toml`: bump `1.0.0` → `1.0.1`. ## Release path After this merges, tag `v1.0.1` + cut the GitHub Release. If OIDC is still unconfigured (issue #564), the manual fallback is the same `set -a; . ./.env; set +a; poetry build && poetry publish` flow that shipped `1.0.0`. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
The first-section top divider and the model-filter input both used `bg-gray-800` / `border-gray-800` against a `bg-gray-900` sidebar — one step of contrast, which the pilot reported as "no visible divider" and "search box hard to spot." - Divider strength: `border-t border-gray-800` + `divide-y divide-gray-800` → `border-gray-700` / `divide-gray-700`. Two steps off the sidebar surface — the line is now actually visible. - Filter input: `bg-gray-800 border-gray-700` → `bg-gray-700 border-gray-600`, placeholder `text-gray-500` → `text-gray-400`. Matches the contrast level the rest of the app's inputs have. Same fix in dark mode — the sidebar is always dark; there's no light-mode variant. Bundles into the v1.0.1 wheel. Closes #556. Co-Authored-By: Claude Opus 4.7 (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.
What
v1.0.1 polish release — same wire surface and behaviour as 1.0.0, three quality-of-life fixes for the first run experience.
Changes
INSTALLED_APPS—django_admin_rest_apino longer needs its own entry. The API mounts entirely through the URL include indjango_admin_react.urls, since the API ships zero models + zero signals + zero migrations, so itsAppConfigis decorative. The README and test settings both reflect the new minimal snippet:__version__reads from installed metadata —importlib.metadata.version("django-admin-react")instead of a hardcoded constant, soimport django_admin_react; django_admin_react.__version__always matches the wheel. The 1.0.0 wheel reported0.0.0because the constant was never bumped post-bootstrap.gray-900sidebar surface. The pilot reported the divider was invisible and the search box "hard to spot at a glance"; this gives the same two-step contrast the rest of the inputs in the app have.Pyproject
version = "0.2.0a8"→"1.0.1"(only patch — no API, schema, or behaviour change since 1.0.0).Development Status :: 4 - Betaretained.Closes
.envpublish path will be used until OIDC is wired)Test plan
tests/test_project/settings.py).Publish plan
🤖 Generated with Claude Code