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

Feature: Polls #181

Open
wants to merge 45 commits into
base: develop
Choose a base branch
from
Open

Feature: Polls #181

wants to merge 45 commits into from

Conversation

Seneral
Copy link

@Seneral Seneral commented Feb 7, 2021

Added Poll Functionality to Rooms

Polls can be:

  • accessed through the Menu
  • optionally saved with the project
  • recalled after loading the project

For more information on the feature see the wiki page

Additional changes:

  • Added Barchart2D only regarding the first two dataset columns
  • Added Barchart2DLabeled taking the third dataset column as labels that are displayed on hover over the bars
  • Added Fallback to ExtendedWilkinson when it fails (min==max) so that something is displayed
  • Added public function overload SceneNetworkInstantiate to ResourceManager allowing instantiation of room objects by name instead of object
  • Added behaviour to SaveLoadManager allowing instantiation of SerializedObjects as room objects when Bools["ROOM"]==true
  • Integration of window into MainMenu.cs and WindowManager.cs as well as the Managers.prefab and Main Menu.prefab

Togira-Ikonoka and others added 30 commits January 19, 2021 21:27
Current State:
- UI Tested and working locally
- Photon Functionality untested
Restructure.

Fixed Countdown
Added (currently buggy) bar visualization
Added SingleChoice option
Added code documentation (closes #165)
Added test scene PollTest.unity (closes #159)

Made Poll UI follow User (closes #162)

Fixed invalid state and networking when poll concludes early (fixes #160)
Use 2D Diagram prefab
in Poll Barcgart 2D Viz prefab use non configuration App Bar
Added local countdown timer (closes #158)
Fixed barchart min!=max (fixes #167)
Now spawns infront of the user with a configurable horizontal distance
Closes #168
The core functionality is working and tested.
cleaning up list of saved polls
todo: better looking object, poll shelf position
Public/Anonymous votes can be toggled on poll creation
Voters are displayed on the bar chart by hovering over columns
Icons in selection panel now show if poll is public and if results are saved
Removed obvious clutter labels from Poll barchart
fixed local state to have 1 active poll per room
Cleared state if poll host leaves

LogMissingReferenceError
Added synchronized visualizations, only created by one client
Synced by index into seperately synchronized database
@Seneral Seneral added the enhancement New feature or request label Feb 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants