Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Story] Create poll #1974

Closed
6 of 7 tasks
Tracked by #1526
julioromano opened this issue Aug 8, 2023 · 0 comments
Closed
6 of 7 tasks
Tracked by #1526

[Story] Create poll #1974

julioromano opened this issue Aug 8, 2023 · 0 comments
Assignees
Labels
App: ElementX Android App: ElementX iOS T-User Story Team: Element X Feature X-Needs-Signoff Stories and Epics which are ready for review by product, design and QA

Comments

@julioromano
Copy link

julioromano commented Aug 8, 2023

Description

  • As a user.
  • I want to create new polls.
  • so that I can quickly gather a room's feedback about simple topics .

Size estimate

L

Dependencies

Acceptance criteria

  • Entry point:
    • A "Poll" button is present in the composer's "+" menu.
    • Clicking on "Poll" opens the "Create poll" screen.
  • Question:
    • Only 1 question per poll.
    • No length limit.
    • Can't be empty.
  • Options (i.e. the answers to the poll):
    • Min 2.
    • Max 20.
    • Can't be empty.
    • Max 240 characters.
    • Clicking on "Add option" adds an option.
      • When the 20th option has been added the “Add option” button disappears.
    • Clicking on the delete icon button removes an option.
      • When there's only 2 options the delete icon button are disabled.
  • Poll type:
    • A switch allows to select between "disclosed" (aka "open", the default value) and "undisclosed" (aka "closed) polls.
  • On pressing "cancel" (iOS) or navigating back (Android):
    • If the editor content is not empty show a confirmation dialog before dismissing the editor.
  • On pressing "create":
    • If there are any empty text fields switch them to show an error state with a useful message to the user.
    • Otherwise send the "poll start" Matrix event and close the screen instantly (w/out showing any progress indicator); a local echo of the event must immediately appear in the timeline. Errors/retries must behave the same as with any other message in the timeline.

Out of scope

  • Reordering the options when creating or editing a poll

Sign-off

Android

  • Design sign-off on completion
  • QA sign-off on completion
  • Product sign-off on completion

iOS

  • Design sign-off on completion
  • QA sign-off on completion
  • Product sign-off on completion

Subtasks

iOS

Preview Give feedback
  1. alfogrillo

Other

Preview Give feedback
  1. good first issue
    alfogrillo
@julioromano julioromano changed the title [Story] ... [Story] Create poll Aug 8, 2023
@alfogrillo alfogrillo self-assigned this Aug 8, 2023
@julioromano julioromano self-assigned this Aug 24, 2023
@julioromano julioromano reopened this Sep 13, 2023
@langleyd langleyd added the X-Needs-Signoff Stories and Epics which are ready for review by product, design and QA label Sep 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
App: ElementX Android App: ElementX iOS T-User Story Team: Element X Feature X-Needs-Signoff Stories and Epics which are ready for review by product, design and QA
Projects
None yet
Development

No branches or pull requests

4 participants