Bug 458560

Summary: Disable the "Subscribe" buttons when they are clicked
Product: [Applications] kasts Reporter: Jack Hill <jackhill3103>
Component: generalAssignee: bart
Status: RESOLVED FIXED    
Severity: minor    
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Jack Hill 2022-08-31 15:33:42 UTC
SUMMARY

STEPS TO REPRODUCE
1. Open the "Discover" tab
2. Search for a podcast
3. Click on the podcast to open the "Podcast Details" page
4. Click the subscribe button (either on the "Podcast Details" page, or the icon on the "Discover" page)

OBSERVED RESULT
The podcast is added to subscriptions, but the subscribe buttons are not updated. I can still press them as much as I want. If I refresh these pages, the buttons become grayed out and say "Subscribed"

EXPECTED RESULT
The podcast is added to subscriptions. The subscribe should become grayed out and say "Subscribed".

SOFTWARE/OS VERSIONS
Operating System: openSUSE Tumbleweed 20220829
KDE Plasma Version: 5.25.4
KDE Frameworks Version: 5.97.0
Qt Version: 5.15.5
Kernel Version: 5.19.2-1-default (64-bit)

ADDITIONAL INFORMATION
Comment 1 bart 2022-12-13 13:25:29 UTC
Git commit 19a6e382db6f0e4566a0c4b0d5aaada9146823fb by Bart De Vries.
Committed on 13/12/2022 at 13:21.
Pushed by bdevries into branch 'master'.

Disable subscribe button when feed has been added

This disables the subscribe button once a feed has been added, i.e. when
the button has been clicked.
Additionally, when clicking on an already subscribed feed on the
discover page will now open the full details including the episode list.

M  +1    -1    src/datamanager.h
M  +5    -2    src/qml/DiscoverPage.qml
M  +9    -1    src/qml/FeedDetailsPage.qml

https://invent.kde.org/plasma-mobile/kasts/commit/19a6e382db6f0e4566a0c4b0d5aaada9146823fb