Compare commits

..

No commits in common. "v0.6.1" and "v0.6.0" have entirely different histories.

4 changed files with 24 additions and 52 deletions

View file

@ -9,15 +9,6 @@ former name, "Daybook".)
_Nothing yet._ _Nothing yet._
## [0.6.1] — 2026-09-07
### Changed
- Sidebar: the **Keep / Deleted folders are pinned to the bottom** — only the
source list scrolls, so the folders stay reachable no matter how many sources
you have. **"All sources"** is now visually distinct (bold + subtle blue tint)
as the primary entry. (Internal: `.source-folders` class renamed to
`.system-folders`.)
## [0.6.0] — 2026-09-07 ## [0.6.0] — 2026-09-07
### Added ### Added
@ -214,8 +205,7 @@ First tagged release.
- Dockerised (Gunicorn + whitenoise), SQLite, `git`-based deploy with a - Dockerised (Gunicorn + whitenoise), SQLite, `git`-based deploy with a
runbook (`deploy/cloud_agent_deploy.md`) and health check. runbook (`deploy/cloud_agent_deploy.md`) and health check.
[Unreleased]: https://git.cygnus.systems/peter/daybook/compare/v0.6.1...HEAD [Unreleased]: https://git.cygnus.systems/peter/daybook/compare/v0.6.0...HEAD
[0.6.1]: https://git.cygnus.systems/peter/daybook/compare/v0.6.0...v0.6.1
[0.6.0]: https://git.cygnus.systems/peter/daybook/compare/v0.5.1...v0.6.0 [0.6.0]: https://git.cygnus.systems/peter/daybook/compare/v0.5.1...v0.6.0
[0.5.1]: https://git.cygnus.systems/peter/daybook/compare/v0.5.0...v0.5.1 [0.5.1]: https://git.cygnus.systems/peter/daybook/compare/v0.5.0...v0.5.1
[0.5.0]: https://git.cygnus.systems/peter/daybook/compare/v0.4.1...v0.5.0 [0.5.0]: https://git.cygnus.systems/peter/daybook/compare/v0.4.1...v0.5.0

View file

@ -1,4 +1,4 @@
# Single source of truth for the app version. Bump this, commit, then tag the # Single source of truth for the app version. Bump this, commit, then tag the
# commit `vX.Y.Z` and deploy. Surfaced on Settings -> About and in # commit `vX.Y.Z` and deploy. Surfaced on Settings -> About and in
# GET /api/capabilities ("version"). # GET /api/capabilities ("version").
__version__ = "0.6.1" __version__ = "0.6.0"

View file

@ -360,7 +360,6 @@ h1 {
/* Source sidebar: scrollbar hidden until hover (short list, rarely scrolls). */ /* Source sidebar: scrollbar hidden until hover (short list, rarely scrolls). */
.source-list { .source-list {
flex: 1 1 auto; /* fill available height so system folders pin to the bottom */
scrollbar-color: transparent transparent; scrollbar-color: transparent transparent;
scrollbar-width: none; scrollbar-width: none;
} }
@ -1132,28 +1131,11 @@ kbd {
color: var(--danger-text-plain); color: var(--danger-text-plain);
} }
/* System folders (Keep / Deleted): pinned at the bottom of the sidebar, /* System folders (Keep / Deleted) at the bottom of the sidebar */
below the scrolling source list. */ .source-folders {
.system-folders {
border-top: 1px solid var(--grid-line); border-top: 1px solid var(--grid-line);
display: flex; margin-top: 0.4rem;
flex-direction: column; padding-top: 0.4rem;
flex-shrink: 0;
padding: 0.4rem 0.6rem 0.2rem;
}
/* "All sources" — the primary entry, visually distinct from individual sources:
bold, with a subtle blue tint (works over both light and dark surfaces). */
.all-sources-link {
font-weight: 600;
}
.all-sources-link:not(.selected) {
background: rgba(74, 110, 168, 0.14);
}
.all-sources-link:not(.selected):hover {
background: rgba(74, 110, 168, 0.22);
} }
.empty-trash-button { .empty-trash-button {

View file

@ -35,7 +35,7 @@
<h2>Sources</h2> <h2>Sources</h2>
</div> </div>
<nav class="source-list"> <nav class="source-list">
<a class="source-link all-sources-link {% if not selected_source and not selected_folder %}selected{% endif %}" href="?{% if selected_label %}label={{ selected_label|urlencode }}&amp;{% endif %}{% if selected_kind %}kind={{ selected_kind|urlencode }}&amp;{% endif %}{% if title_query %}q={{ title_query|urlencode }}&amp;{% endif %}view={{ selected_view }}&amp;preview=none"> <a class="source-link {% if not selected_source and not selected_folder %}selected{% endif %}" href="?{% if selected_label %}label={{ selected_label|urlencode }}&amp;{% endif %}{% if selected_kind %}kind={{ selected_kind|urlencode }}&amp;{% endif %}{% if title_query %}q={{ title_query|urlencode }}&amp;{% endif %}view={{ selected_view }}&amp;preview=none">
<span class="source-name">All sources</span> <span class="source-name">All sources</span>
{% if total_count %}<span class="source-count">{{ total_count }}</span>{% endif %} {% if total_count %}<span class="source-count">{{ total_count }}</span>{% endif %}
</a> </a>
@ -45,10 +45,9 @@
{% if entry.count %}<span class="source-count">{{ entry.count }}</span>{% endif %} {% if entry.count %}<span class="source-count">{{ entry.count }}</span>{% endif %}
</a> </a>
{% endfor %} {% endfor %}
</nav>
{% if keep_count or trash_count %} {% if keep_count or trash_count %}
<nav class="system-folders" aria-label="Folders"> <div class="source-folders">
{% if keep_count %} {% if keep_count %}
<a class="source-link folder-link {% if selected_folder == 'keep' %}selected{% endif %}" href="?folder=keep&amp;view={{ selected_view }}&amp;preview=none" data-folder-link="keep"> <a class="source-link folder-link {% if selected_folder == 'keep' %}selected{% endif %}" href="?folder=keep&amp;view={{ selected_view }}&amp;preview=none" data-folder-link="keep">
<span class="source-name">&#9733; Keep</span> <span class="source-name">&#9733; Keep</span>
@ -61,8 +60,9 @@
<span class="source-count">{{ trash_count }}</span> <span class="source-count">{{ trash_count }}</span>
</a> </a>
{% endif %} {% endif %}
</nav> </div>
{% endif %} {% endif %}
</nav>
</aside> </aside>
<div class="splitter" data-splitter="days" role="separator" aria-label="Resize sources sidebar" aria-orientation="vertical"></div> <div class="splitter" data-splitter="days" role="separator" aria-label="Resize sources sidebar" aria-orientation="vertical"></div>