Skip to content

Rework feed selector #1476

Merged
chris34 merged 18 commits intoinyokaproject:stagingfrom
chris34:feed-selector
Apr 6, 2026
Merged

Rework feed selector #1476
chris34 merged 18 commits intoinyokaproject:stagingfrom
chris34:feed-selector

Conversation

@chris34
Copy link
Copy Markdown
Member

@chris34 chris34 commented Apr 5, 2026

see commit messages for details

chris34 added 18 commits April 4, 2026 22:05
Sentry reported a `Keyerror: None`.
Instead return a BadRequest (HTTP 400) now.
`get_page_list` is already in cache by default.
 - ForumFeedSelectorForm: Use `TopicField` and `ForumField`
 - Remove inherited field `mode` from `WikiFeedSelectorForm`,
   as it should not be renderd in the HTML
 - `app` is not used in the template anymore. Thus, it is removed
    from the context
 - Remove TOC
 - The stylesheet `feedselector.less` is not needed anymore,
   as django uses `<div>` for rendering the forms in HTML.
…form

The code branch for the wiki was not used at all and thus removed.
It is only used inside the method.
For this extend TopicField to make it possibly reusable.
…arest

The possible options/choices are already defined in the settings.
@chris34 chris34 merged commit b94dbde into inyokaproject:staging Apr 6, 2026
41 of 42 checks passed
@chris34 chris34 deleted the feed-selector branch April 6, 2026 14:47
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.

1 participant