21 Commits

Author SHA1 Message Date
ThibG
81ef26b67d [Glitch] Fix not being able to vote
Port e12a5635da7de5a1c3b08b2ce420ee8a56ae4aff to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2020-04-17 22:04:10 +02:00
Gurgen Hayrapetyan
4849752a9c [Glitch] Fix Poll fetchPoll action not being debounced.
Port ab8d7c0680d7f75826277be4c8eea1ebd396be8a to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2020-04-17 20:20:06 +02:00
Sasha Sorokin
b367dd713e [Glitch] Improve polls: option lengths & redesign
Port 37b3985bfac5ffdc8e452f92869dcdefb5c92594 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2020-04-02 20:52:53 +02:00
ThibG
c6ba870f00 [Glitch] Fix poll options not being selectable via keyboard
Port c05ed8a6254bc82fda3ae0fd3934dc2cdcf7c82d to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-12-07 15:48:26 +01:00
Takeshi Umeda
f2fc7246e1 [Glitch] Fix an issue where polls with 'expires_at' not set expired
Port 5b46467474dd88e1563561bf50643324b4f021e8 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-11-06 14:49:43 +01:00
ThibG
e5a50eda4c [Glitch] Add voters count support
Port front-end changes from 3babf8464b0903b854ec16d355909444ef3ca0bc to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-09-30 15:58:29 +02:00
ThibG
332be562ea [Glitch] Change vote results to display ex-aequo leading options as leading
Port 15b3eeb326d7e6a026235ece25c3be75250de92f to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-09-30 15:58:29 +02:00
ThibG
98cc81c0e2 [Glitch] Fix vote checkmark in poll results
Port b0cda7a504655f6ced33802af67cabb6f3e46e19 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-09-30 15:58:29 +02:00
ThibG
e25b7feb72 [Glitch] Show user what options they have voted
Port front-end changes from b359974d9b356bb723fe046466b178328cf9bbaf to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-09-30 15:58:29 +02:00
ThibG
15a37a967c [Glitch] Fix expiring polls not being displayed as such in the WebUI
Port 524187b65344f6bcedb9bc188df7b6032540ac48 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-09-18 17:27:26 +02:00
Thibaut Girka
682cfbb829 Fix imports importing modules from vanilla flavour instead of glitch 2019-08-31 18:23:24 +02:00
ThibG
be6885eb93 [Glitch] Update poll remaining time just like with status timestamps
Port daab45d4ae000a208f251ce96334df47d894dba3 to glitch-soc
2019-04-04 14:58:11 +02:00
ThibG
8b5b686f08 [Glitch] Add support for custom emojis in poll options
Fixes #956

Port 80f0910e2141b24082b9143266a9a6cf1ef6a516 to glitch-soc
2019-03-20 17:34:32 +01:00
Eugen Rochko
ca45198ccb [Glitch] Fix NaN in Poll component
Port 75cb93676b1dd41d3e47f62466c0c6430691a990 to glitch-soc
2019-03-08 01:01:19 +01:00
Eugen Rochko
94a0149ff3 Fix poll options not rendering text after vote/refresh
Port fd128b9c7aa5c71adbfc2e223212514c0baee675 to glitch-soc
2019-03-06 11:44:27 +01:00
Eugen Rochko
7f32d675b0 Render unicode emoji in polls using emoji pack
Port 4407f07014096bcbaf5a06015a5791984282846d to glitch-soc
2019-03-06 11:42:25 +01:00
Eugen Rochko
ba6ca3cd69 Fix various issues in polls
Port front-end changes from a198add83bb527c32fa0e01404338562b157da99 to glitch-soc
2019-03-05 21:35:03 +01:00
ThibG
7f27ee35a8 Display closed polls as such
Port cda6ece760f08974e6118887641e6cc8c0f8c9e0 to glitch-soc
2019-03-05 21:35:03 +01:00
ThibG
530151466e Fixes to the polls UI
Port 4ced609497bc736cb2b1aec921ba5ca7a23a7f53 to glitch-soc
2019-03-05 21:35:03 +01:00
Eugen Rochko
f14eda23e9 Fix web UI crash on page load when detailed status has a poll
Port 5dfa4336985616cf5652de2f1cf794d8f740424e to glitch-soc
2019-03-05 21:35:03 +01:00
Eugen Rochko
8d70a8a19b Add polls
Port front-end parts of 230a012f0090c496fc5cdb011bcc8ed732fd0f5c to glitch-soc
2019-03-05 21:35:03 +01:00