Add ns docstrings for most ns in src/main

- Added to CI now that it passes
- Added no-doc for docstrings that don't add any more than what's in the
ns name or for ones where I didn't know the ns that well
This commit is contained in:
Gabriel Horner
2022-09-22 21:13:06 -04:00
committed by Andelf
parent 0cebfb7779
commit 1f0e22275d
115 changed files with 212 additions and 82 deletions

View File

@@ -1,4 +1,4 @@
(ns frontend.handler.editor
(ns ^:no-doc frontend.handler.editor
(:require ["path" :as path]
[clojure.set :as set]
[clojure.string :as string]
@@ -613,7 +613,7 @@
(when edit-block?
(if (and replace-empty-target?
(string/blank? (:block/content last-block)))
;; 20ms of waiting for DOM to load the block, to avoid race condition.
;; 20ms of waiting for DOM to load the block, to avoid race condition.
;; It's ensuring good response under M1 pro
;; Used to be 10ms before, but is causing occasional failure on M1 pro with a full page of blocks,
;; or failing E2E with a small number of blocks.