fix(BREAKING): update poll interaction #43

Manually merged
dananglin merged 1 commit from update-poll-interaction into main 2024-08-14 11:31:17 +01:00
Owner

Summary

This commit updates the way users interact with polls.
From now on users can only interact with polls via the statuses that contains them.

Changes

  • Users can no longer view a poll directly using the Poll ID. Instead polls can be viewed when viewing statuses or timelines.
  • More details about a poll is shown in statuses and timelines.
  • Votes are now added to polls via statuses.
  • Poll results are hidden unless the following conditions are met.
    • The user is the owner of the poll.
    • The poll has expired.
    • The user has already voted in the poll.
  • Enbas can now detect and stop a poll owner from voting in their own poll.

This resolves apollo/enbas#39

### Summary This commit updates the way users interact with polls. From now on users can only interact with polls via the statuses that contains them. ### Changes - Users can no longer view a poll directly using the Poll ID. Instead polls can be viewed when viewing statuses or timelines. - More details about a poll is shown in statuses and timelines. - Votes are now added to polls via statuses. - Poll results are hidden unless the following conditions are met. - The user is the owner of the poll. - The poll has expired. - The user has already voted in the poll. - Enbas can now detect and stop a poll owner from voting in their own poll. This resolves apollo/enbas#39
dananglin added 3 commits 2024-08-13 22:48:10 +01:00
- BREAKING: user can no longer view a poll directly from the poll ID.
- Added more poll details in status view.
- Poll now shows the user's vote in status/timeline view.
- BREAKING: when creating the status, only print the ID on success.
- fix: Only display the poll results under certain conditions.
dananglin added 1 commit 2024-08-13 23:18:20 +01:00
dananglin added 1 commit 2024-08-13 23:19:51 +01:00
dananglin force-pushed update-poll-interaction from b2b2b3422f to 4fabf72b1f 2024-08-14 00:14:30 +01:00 Compare
dananglin added 1 commit 2024-08-14 01:53:27 +01:00
dananglin added 1 commit 2024-08-14 03:03:24 +01:00
dananglin force-pushed update-poll-interaction from 646eaeac23 to eb016b96e9 2024-08-14 11:29:59 +01:00 Compare
dananglin manually merged commit eb016b96e9 into main 2024-08-14 11:31:17 +01:00
dananglin added this to the v0.2.0 milestone 2024-08-15 18:56:24 +01:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: apollo/enbas#43
No description provided.