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

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

Description

@Arcitec

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?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions