Skip to content

feat(sources): improve source management with edit mode and auto-fetch name#377

Merged
Gaubee merged 1 commit intomainfrom
feat/source-management-improvements
Feb 3, 2026
Merged

feat(sources): improve source management with edit mode and auto-fetch name#377
Gaubee merged 1 commit intomainfrom
feat/source-management-improvements

Conversation

@Gaubee
Copy link
Contributor

@Gaubee Gaubee commented Feb 3, 2026

Summary

Improves the source management page with better UX for adding and editing sources.

Changes

  1. Edit Mode for Existing Sources

    • Click on any source to enter edit mode
    • Bottom area transforms from "Add" to "Save" mode
    • Selected source is highlighted with ring
  2. Auto-fetch Source Name

    • When entering a URL, automatically fetches the source JSON
    • Extracts the name field from the source
    • Shows fetched name as placeholder: "Name (FetchedName)"
    • Falls back to "Custom source" if fetch fails
  3. Immediate Refresh After Add/Save

    • Triggers refreshSource() immediately after adding or saving
    • User sees updated data right away
  4. New Store Action

    • Added updateSourceName action to ecosystem store
  5. Translations

    • Added nameWithDefault key to all locales (en, zh-CN, zh-TW, ar)

Testing

  • Type check passes
  • Manual testing

…h name

- Add edit mode for existing sources (click to edit)
- Auto-fetch source name from URL when adding/editing
- Show fetched name as placeholder in name field
- Trigger refresh immediately after add/save
- Add updateSourceName action to ecosystem store
- Add nameWithDefault translation key for all locales

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@Gaubee Gaubee merged commit 4b365f5 into main Feb 3, 2026
5 checks passed
@Gaubee Gaubee deleted the feat/source-management-improvements branch February 3, 2026 07:58
@Gaubee Gaubee mentioned this pull request Feb 3, 2026
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