Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update RescrapeButton.vue/.gitpod.yml/.gitpod.dockerfile #1802

Merged
merged 5 commits into from
Aug 5, 2024

Conversation

Asparghus
Copy link
Contributor

@Asparghus Asparghus commented Jul 21, 2024

RescrapeButton.vue

Updated the Rescrape Scene function to work with scenes that have scrape_id and belong to a configured scraper. By toggling it's needs_update and running that scraper.
It can be useful in case of single scenes without images.
I've had to add a small delay (200ms) as it was not triggering the forceUpdate when making the API call, even when checking if this.item.needs_update was true.

.gitpod.yml/.gitpod.dockerfile

The repo github.com/cosmtrek/air doesn't exist anymore. When running Gitpod, it suggests using github.com/air-verse/air instead.

Edit

Has Image Filter

I added a "Has Image" filter at model_scene.go file. It was present in pkg/api/scenes.go but absent from pkg/models/model_scene.go

PS: I'm sorry that the PR got merged, I'm not versed on git, it's my second try to submit more than one PR in a single version, and I failed both times in submitting two separate PRs. But I think it's easier to submit the PRs than just open an issue with what's going on.

Asparghus and others added 5 commits July 22, 2024 00:03
Updated the Rescrape Scene function to work with scenes that have scrape_id and belong to a configured scraper. By toggling it's needs_update and running that scraper.

It can be useful in case of single scenes without images.

I've had to add a small delay (200ms) as it was not triggering the forceUpdate when making the API call, even when checking if this.item.needs_update was true.
The repo github.com/cosmtrek/air doesn't exist anymore. When running Gitpod, it suggests using github.com/air-verse/air instead.
The repo github.com/cosmtrek/air doesn't exist anymore. When running Gitpod, it suggests using github.com/air-verse/air instead.
@Asparghus Asparghus marked this pull request as draft August 3, 2024 21:21
@Asparghus Asparghus marked this pull request as ready for review August 3, 2024 21:21
@crwxaj crwxaj merged commit 037a1b4 into xbapps:master Aug 5, 2024
1 check passed
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.

2 participants