Commit graph

6 commits

Author SHA1 Message Date
Florian Renaud
41d0d21c80
Add feature flag for polls (#1064)
* Handle poll events from the sdk

* Render started poll event in the timeline

* Create poll module

* Check poll kind before revealing the results

* Check if user has voted before revealing the results

* Add active poll previews

* Minor cleanup

* Update todos

* Fix CI

* Remove hardcoded string

* Update preview

* changelog file

* Update screenshots

* Use CommonPlurals

* Set poll root view as selectableGroup

* Improve poll result rendering

* Update screenshots

* Add missing showkase processor

* Update screenshots

* Add feature flag for polls

* Add supporting text in PreferenceCheckbox

* Render poll events if feature flag is enabled

* changelog

* Update screenshots

* Fix tests

* Move feature flag check to poll factory

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2023-08-16 15:14:38 +00:00
Benoit Marty
2c11f472ca Replace FeatureFlags.ShowMediaUploadingFlow by FeatureFlags.LocationSharing because it has more chance to be disabled.
I do not want to remove all our feature flags...
2023-07-20 22:20:38 +02:00
Benoit Marty
fd26f987a8 Remove feature flag ShowStartChatFlow. It was just used in test. 2023-07-20 22:07:32 +02:00
Benoit Marty
da818229dc Remove feature flag CollapseRoomStateEvents. It was not used anyway. 2023-07-20 22:01:45 +02:00
ganfra
991c7ff7f0 [FeatureFlag] add more tests 2023-04-18 12:05:29 +02:00
ganfra
a11b407038 FeatureFlag: first implementation 2023-04-17 19:44:29 +02:00