Bug 458560 - Disable the "Subscribe" buttons when they are clicked
Summary: Disable the "Subscribe" buttons when they are clicked
Status: RESOLVED FIXED
Alias: None
Product: kasts
Classification: Applications
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Compiled Sources Linux
: NOR minor
Target Milestone: ---
Assignee: bart
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-08-31 15:33 UTC by Jack Hill
Modified: 2022-12-13 13:25 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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