Skip to content

feat: add starter home feed picker - #351

Merged
jakeuribe merged 1 commit into
linxiv-dev:mainfrom
clumsylad21:feat/home-feed-picker-implementation
Sep 29, 2026
Merged

jakeuribe merged 1 commit into
linxiv-dev:mainfrom
clumsylad21:feat/home-feed-picker-implementation

Conversation

@clumsylad21

Copy link
Copy Markdown
Contributor

Type: feature

What & why:
Adds a preset picker for common arXiv and APS home feeds while keeping the existing custom RSS/Atom URL input. This makes feed setup easier without changing the existing feed backend or storage model.

Network calls: PATCH /api/settings when a preset is selected, or when a manually entered feed URL loses focus and has changed.

Debt or workarounds introduced: none

Tested:

  • verified the change is limited to HomeFeedSection.tsx
  • verified preset selection reuses the existing settings save path
  • verified custom feed URLs remain supported
  • npm test and npm run build

@clumsylad21 clumsylad21 changed the title feat: add starter home feed picker feat: add starter home feed picker(WIP) Sep 29, 2026
@clumsylad21 clumsylad21 changed the title feat: add starter home feed picker(WIP) feat: add starter home feed picker Sep 29, 2026
@jakeuribe
jakeuribe self-requested a review September 29, 2026 14:54
Comment on lines +199 to +208
function handlePresetChange(url: string) {
setInput(url);
saveFeedUrl(url);
}

const trimmedInput = input.trim();
const selectedPreset = HOME_FEED_PRESETS.some((feed) => feed.value === trimmedInput)
? trimmedInput
: "";

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perfect.

@jakeuribe jakeuribe left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! #330 would be a good follow up

@jakeuribe
jakeuribe merged commit cad7536 into linxiv-dev:main Sep 29, 2026
7 checks passed
@jakeuribe jakeuribe linked an issue Sep 29, 2026 that may be closed by this pull request
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.

Starter list of feeds in the home feed picker

2 participants