#395 The "Subscribe" button in the Stats widget does not work properly
Closed: Fixed 4 years ago Opened 4 years ago by abompard.

Issues seen with this button:
- If clicked when not logged-in, it will redirect the user to the login page, and the return back with a "405 method not allowed" error. When not logged it, the button should be disabled and the user should be told to login first.
- It does not prevent subscription to your own hub
- It does not turn to a "unsubscribe" button when already subscribed
- It reloads the page, it should do its operations in AJAX
- The counter seems wrong, when subscribed to you own hub it stays at zero.

This widget should be reviewed and fixed before we go to prod.

Metadata Update from @abompard:
- Issue priority set to: High
- Issue set to the milestone: Production

4 years ago

Metadata Update from @ryanlerch:
- Issue assigned to ryanlerch

4 years ago

Metadata Update from @ryanlerch:
- Assignee reset

4 years ago

I started trying to look at this one in the Vagrant setup, and encountered some weirdness.

subscribing to any hub doesnt seem to work -- the total number of subscribers never changes. There are debug messages printed on the console stating that there are 3 subscribers, then perodically reports there are either more or less.

Metadata Update from @abompard:
- Issue assigned to abompard
- Issue close_status updated to: Fixed
- Issue status updated to: Closed (was: Open)

4 years ago

Login to comment on this ticket.