Update feature flags & enable push notifications in production build
- Comment on flag lifecycle - Explicitly declare all flags
This commit is contained in:
parent
56fe8f3763
commit
fa9c85b04a
|
@ -1,3 +1,5 @@
|
|||
TESTFAIRY_ENABLED=0
|
||||
NOTIFICATIONS_WIP_ENABLED=0
|
||||
DEBUG_LOGS_ENABLED=0
|
||||
NOTIFICATIONS_WIP_ENABLED=1
|
||||
DEBUG_LOGS_ENABLED=0
|
||||
STUB_STATUS_GO=0
|
||||
NETWORK_SWITCHING=0
|
|
@ -9,6 +9,14 @@
|
|||
|
||||
(defn enabled? [v] (= "1" v))
|
||||
|
||||
;; NOTE(oskarth): Feature flag deprecation lifecycles. We want to make sure
|
||||
;; flags stay up to date and are removed once behavior introduced is stable.
|
||||
;;
|
||||
;; TESTFAIRY_ENABLED - indefinite
|
||||
;; NOTIFICATIONS_WIP_ENABLED - in 0.9.12 release, remove in develop if all goes well
|
||||
;; STUB_STATUS_GO - TBD - roman knows
|
||||
;; NETWORK_SWITCHING - TBD - roman knows
|
||||
|
||||
(def testfairy-enabled? (enabled? (get-config :TESTFAIRY_ENABLED)))
|
||||
(def notifications-wip-enabled? (enabled? (get-config :NOTIFICATIONS_WIP_ENABLED 0)))
|
||||
(def stub-status-go? (enabled? (get-config :STUB_STATUS_GO 0)))
|
||||
|
|
Loading…
Reference in New Issue