Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Enhancement] Allow alternate feed sorting #28

Open
tedwardd opened this issue Jun 16, 2023 · 1 comment
Open

[Enhancement] Allow alternate feed sorting #28

tedwardd opened this issue Jun 16, 2023 · 1 comment
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed

Comments

@tedwardd
Copy link
Contributor

Right now neonmodem sorts by "new". This is fine, and probably necessary when viewing multiple systems at once, but it would be nice if we could detect (or hard code) the available sorting options and allow the use of them when viewing a specific system.

@mrusme mrusme added enhancement New feature or request help wanted Extra attention is needed good first issue Good for newcomers labels Jun 16, 2023
@mrusme
Copy link
Owner

mrusme commented Jun 16, 2023

Each system could offer a map of sorting options, where the string key can be harmonized across different systems, and the value would be a string that is specific to the system, e.g. ["new"] = "latest", ["new"] = "newest", ["most-recent"] = "most_recent_replied_to", ...

The sorting selector for "All systems" would only show the options that have the same key available across multiple systems (e.g. "new"). This way e.g. "most-recent" would not show up for "All systems" but only when one specific system was selected. Alternatively "most-recent" could be introduced to other systems by using either of the available sortings, e.g. "newest", meaning it wouldn't actually sort by most recently commented, but make the option available nevertheless.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants