Skip to content
This repository has been archived by the owner on Jul 23, 2024. It is now read-only.

feat: Avoiding duplicates when importing same theme URL again #772

Open
1 task done
Arcitec opened this issue May 22, 2023 · 0 comments
Open
1 task done

feat: Avoiding duplicates when importing same theme URL again #772

Arcitec opened this issue May 22, 2023 · 0 comments
Labels
enhancement New feature or request feature-request

Comments

@Arcitec
Copy link

Arcitec commented May 22, 2023

Feature description

This is related to #771.

The idea is as follows:

  • Remember the upstream URL whenever a theme is imported via URL.
  • If that URL is imported again, tell the user something like "Theme XYZ from (url) was already imported. Replace the current local copy?" or somethinbg. To avoid duplicates when importing same theme again.
  • Similar code would also be involved in a potential, future "Check original URL for updates, then auto-download and replace local theme if an update exists" feature. So having the core "detect identical URL and replace local copy" function as a modular piece would help make that a reality someday too.

Additional Context

No response

Did you read the Code of Conduct?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request feature-request
Projects
None yet
Development

No branches or pull requests

1 participant