Skip to content

Comments

fix(beatport_importer): Beatport importer script requires a page refresh to work#744

Open
arsinclair wants to merge 1 commit intomasterfrom
fix/beatport-page-refresh-required
Open

fix(beatport_importer): Beatport importer script requires a page refresh to work#744
arsinclair wants to merge 1 commit intomasterfrom
fix/beatport-page-refresh-required

Conversation

@arsinclair
Copy link
Collaborator

  • This is happening because beatport is an SPA, so document.ready is not called between navigations. So if a user navigates from any page to a release page, the script is not fired.
  • I had to expand the @match condition of the script to all pages (in order to initialise the script properly on any page), but this is a good change, since it paves the road for other features, such as linking already imported releases on the label and artist pages and on the home page.

Closes #698

…esh to work

- This is happening because beatport is an SPA, so document.ready is not called between navigations. So if a user navigates from any page to a release page, the script is not fired.
- I had to expand the @match condition of the script to all pages (in order to initialise the script properly on any page), but this is a good change, since it paves the road for other features, such as linking already imported releases on the label and artist pages and on the home page.
@arsinclair arsinclair self-assigned this Nov 17, 2025
@arsinclair arsinclair requested a review from murdos November 17, 2025 01:14
@arsinclair
Copy link
Collaborator Author

arsinclair commented Dec 21, 2025

Running this version for a couple of weeks now, there's a bug, I need to investigate it.

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.

Beatport importer script requires a page refresh to work

2 participants