Automattic / Automattic/crowdsignal-forms

Poll Block: Endless "Connect to Crowdsignal" prompt

Open
#182 16 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
PHP
Stars
15
Forks
10
Avg merge
13m
Merged PRs (30d)
1

Description

### Quick summary

When users creating polls, they added Poll block and keep getting prompted to connect their website to Crowdsignal, despite them already logging in to Crowdsignal and connect their WPCOM account to Crowdsignal. This also affects older Poll blocks/Crowdsignal-related blocks (Applause, Vote, NPS, and Feedback)

### Steps to reproduce
Check whether you're already connected to CrowdSignal or not, at https://wordpress.com/me/security/connected-applications, and test for both cases.

1. Create new post/page
2. Add Poll block
3. Notice how the block blinks in a matter of seconds and display "You need to connect to a Crowdsignal account to collect and manage your results."
![Screenshot 2021-09-26 at 3 00 00 PM](https://user-images.githubusercontent.com/44726232/134797209-bb5a047c-a28f-469e-b3a4-b612587d2bc7.png)

Clicking "Connect to Crowdsignal" will leads us to this page:
https://WEBSITEADDRESS.wordpress.com/wp-admin/admin.php?page=crowdsignal-forms-setup

... With a warning:

```
The page requested does not exist
The page you requested does not exist, or you do not have have the necessary privileges to access it.
```

### What you expected to happen

The Poll block to work and folks able to create polls

### What actually happened

Unable to create poll

### Context

User report:
4325051-zd-woothemes

And test site.

### Operating System

_No response_

### Browser

_No response_

### Simple, Atomic or both?

Simple

### Theme-specific issue?

_No response_

### Other notes

_No response_

### Reproducibility

Consistent

### Severity

Some (< 50%)

### Available workarounds?

_No response_

### Workaround details

_No response_

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the Poll block flow in a new post or page, testing both connected and unconnected states through the connected-applications page and the crowdsignal-forms-setup link. Compare the Poll behavior with the Applause, Vote, NPS, and Feedback blocks; done means users can create polls and the connection prompt leads to a valid setup flow.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
authentication, frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.