0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-10 00:40:30 -05:00

Revert "📎 Update version.txt file"

This reverts commit a7f39e89f6.
This commit is contained in:
Alejandro Alonso 2023-08-23 09:38:07 +02:00
parent ab87db099a
commit 834c18323e
5 changed files with 6 additions and 49 deletions

View file

@ -375,21 +375,6 @@
[{:keys [::rpc/profile-id]} {:keys [modified-at revn]}]
(str profile-id (dt/format-instant modified-at :iso) revn))
(sv/defmethod ::hey
{::doc/added "1.17"
::rpc/auth false}
[_ _]
(str (rand-int 100)))
(sv/defmethod ::ho
{::doc/added "1.17"
::rpc/auth false}
[_ _]
(str (rand-int 1000)))
(sv/defmethod ::get-file
"Retrieve a file by its ID. Only authenticated users."
{::doc/added "1.17"

View file

@ -37,7 +37,7 @@
(log/setup! {:app :info})
(when (= :browser cf/target)
(log/info :message "Hey!,Welcome to penpot"
(log/info :message "Welcome to penpot"
:version (:full cf/version)
:asserts *assert*
:build-date cf/build-date

View file

@ -518,29 +518,6 @@
(->> (rp/cmd! :get-access-tokens)
(rx/map access-tokens-fetched)))))
(defn heyhey-fetched
[value]
(ptk/reify ::heyhey-fetched
ptk/UpdateEvent
(update [_ state]
(assoc state :hey-value value))))
(defn fetch-heyhey
[]
(ptk/reify ::fetch-heyhey
ptk/WatchEvent
(watch [_ _ _]
(->> (rp/cmd! :hey)
(rx/map heyhey-fetched)))))
;; --- EVENT: create-access-token
(defn access-token-created

View file

@ -260,21 +260,16 @@
[:& access-token-actions
{:on-delete on-delete}]]]))
(def hey-ref
(l/derived :hey-value st/state))
(mf/defc access-tokens-page
[]
(mf/with-effect []
(dom/set-html-title (tr "title.settings.access-tokens"))
(st/emit! (du/fetch-access-tokens))
(st/emit! (du/fetch-heyhey)))
(st/emit! (du/fetch-access-tokens)))
(let [tokens (mf/deref tokens-ref)
hey (mf/deref hey-ref)]
[:div.dashboard-access-tokens {:style {:background "pink"}}
(let [tokens (mf/deref tokens-ref)]
[:div.dashboard-access-tokens
[:div
[:div {:on-click #(st/emit! (du/fetch-heyhey))} hey]
[:& access-tokens-hero]
(if (empty? tokens)
[:div.access-tokens-empty
[:div (tr "dashboard.access-tokens.empty.no-access-tokens")]

View file

@ -1 +1 @@
1.19.1
1.19.0