Release whiteboard to everyone (#8853)

* chore: release whiteboards for everyone

Also, toggle it on by default

* fix: e2e test

* add onboarding tour test

---------

Co-authored-by: Konstantinos Kaloutas <konstantinos@logseq.com>
This commit is contained in:
Tienson Qin
2023-03-21 19:37:21 +08:00
committed by GitHub
parent 1a6a888aa5
commit a92588a18b
10 changed files with 56 additions and 62 deletions

View File

@@ -601,9 +601,7 @@ Similar to re-frame subscriptions"
([]
(enable-whiteboards? (get-current-repo)))
([repo]
(and
((resolve 'frontend.handler.user/feature-available?) :whiteboard) ;; using resolve to avoid circular dependency
(:feature/enable-whiteboards? (sub-config repo)))))
(not (false? (:feature/enable-whiteboards? (sub-config repo))))))
(defn enable-git-auto-push?
[repo]