Private
Public Access
Folders are gone — organization is tags-only, via the SubscriptionTag model added last commit. A migration converts every existing Folder into a same-named Tag applied to its feeds, and every folder-scoped FilterRule into an equivalent tag-scoped one, before the Folder table is dropped, so upgrading an existing instance loses nothing (verified by seeding the pre-removal schema directly and running the migration chain against it). Unlike folders, a feed can carry more than one tag, so: - apps.articles.tasks.apply_filter_rules_for_feed and apps.rules.tasks's backlog re-apply now scope by "does this feed carry tag X" rather than "does this feed belong to folder X". - apps.feeds.opml: a feed's tags export as a comma-separated "category" attribute (the standard OPML way to represent multiple categories) instead of nesting under one folder outline. Import reads both that attribute and nested category outlines, turning each enclosing level into its own tag rather than collapsing to the nearest one. - The sidebar groups feeds by tag instead of folder, so a feed with two tags now appears in both groups; untagged feeds fall into "Untagged". AddFeedForm gained a comma-separated tag_names field for parity with the old add-time folder picker. EditSubscriptionForm dropped its folder field entirely — tagging a subscription happens through the tag editor already on that page. Verified end to end: the migration chain from empty, the data migration against a seeded pre-removal schema (folder/subscription/rule all convert correctly), and the running app's sidebar grouping, OPML export category attributes, and tag editor. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
28 lines
1.0 KiB
HTML
28 lines
1.0 KiB
HTML
{% extends "base.html" %}
|
|
{% block title %}Stream — Evection{% endblock %}
|
|
{% block content %}
|
|
<div class="stream-toolbar">
|
|
<h1 class="stream-scope-title">
|
|
{% if active_feed %}{{ active_feed.title|default:active_feed.feed_url }}
|
|
{% elif active_tag %}{{ active_tag.name }}
|
|
{% else %}All articles{% endif %}
|
|
</h1>
|
|
|
|
<nav class="filter-tabs">
|
|
{% for key, label in filters %}
|
|
<a href="?filter={{ key }}{% if active_tag %}&tag={{ active_tag.pk }}{% endif %}{% if active_feed %}&feed={{ active_feed.pk }}{% endif %}"
|
|
class="{% if active_filter == key %}active{% endif %}">{{ label }}</a>
|
|
{% endfor %}
|
|
</nav>
|
|
|
|
<form method="post"
|
|
action="{% url 'reader:mark_all_read' %}?filter={{ active_filter }}{% if active_tag %}&tag={{ active_tag.pk }}{% endif %}{% if active_feed %}&feed={{ active_feed.pk }}{% endif %}"
|
|
class="inline-form">
|
|
{% csrf_token %}
|
|
<button type="submit">Mark all as read</button>
|
|
</form>
|
|
</div>
|
|
|
|
{% include "reader/_article_list.html" %}
|
|
{% endblock %}
|