Skip to content

Conversation

@DineshSolanki
Copy link
Owner

Deviant Art creators can restrict download based on either paying subscribing and watching of their art.
Currently FoliCon filters all these as not downloadable and does not show them.

However we can 'watch' their deviation to download. so FoliCon will now show images hidden behind "watcher wall" and watch them to download if user selects it.

The PickCommand and OpenImageCommand in the ProSearchResultViewModel have been refactored to take a DArtImageList object directly, instead of an object. This means we can handle the "MustWatch" property in the commands, allowing us to manage scenarios where the image needs to be watched to be downloaded. Additionally, a new property 'PremiumFolderData' has been added to 'DArtBrowseResult.cs', allowing tracking of folders with premium accessibility. Corresponding adjustments were made on the UI side in ProSearchResult.xaml. The 'DArtImageList' constructor is also updated to accept a new parameter - 'mustWatch'.
@DineshSolanki DineshSolanki self-assigned this Jul 22, 2024
@sonarqubecloud
Copy link

@DineshSolanki DineshSolanki requested a review from Copilot March 16, 2025 18:49
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR enables users in Professional mode to download icons hidden behind a watcher wall by adjusting the API models and updating view logic.

  • Introduces a new PremiumFolderData model to capture premium folder properties.
  • Refines command parameter types and logic in ProSearchResultViewModel to handle the "must watch" condition.
  • Adds a MustWatch flag to DArtImageList for indicating icons that require watching.

Reviewed Changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.

File Description
FoliCon/Models/Api/DArtBrowseResult.cs Adds PremiumFolderData with properties to support premium content access.
FoliCon/ViewModels/ProSearchResultViewModel.cs Refactors command parameter types and image selection logic to incorporate must-watch functionality.
FoliCon/Models/Data/DArtImageList.cs Updates constructor and adds MustWatch property to support the new logic.

DineshSolanki and others added 4 commits April 18, 2025 19:57
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
…hind-watcher-wall

# Conflicts:
#	FoliCon/Models/Data/DArtImageList.cs
#	FoliCon/ViewModels/ProSearchResultViewModel.cs
…content-behind-watcher-wall' into feature/support-for-downloading-content-behind-watcher-wall
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