diff --git a/.circleci/config.yml b/.circleci/config.yml index 40a8c8603..4196d6a62 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -109,9 +109,9 @@ jobs: command: | yarn install yarn run build:app:assets - clojure -M:dev:shadow-cljs release main - yarn playwright install --with-deps chromium - yarn test:e2e + yarn run build:app + yarn run playwright install --with-deps chromium + yarn run test:e2e - run: name: "backend tests" diff --git a/frontend/package.json b/frontend/package.json index 0064d2574..48ee01e78 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -22,6 +22,7 @@ "build:storybook:assets": "node ./scripts/build-storybook-assets.js", "build:storybook:cljs": "clojure -M:dev:shadow-cljs compile storybook", "build:renderer": "yarn run wasm-pack build ./renderer --target web --out-dir ../resources/public/js/renderer --release", + "build:app": "clojure -M:dev:shadow-cljs release main", "e2e:server": "node ./scripts/e2e-server.js", "fmt:clj": "cljfmt fix --parallel=true src/ test/", "fmt:clj:check": "cljfmt check --parallel=false src/ test/", diff --git a/frontend/src/app/main/ui/dashboard/grid.cljs b/frontend/src/app/main/ui/dashboard/grid.cljs index e03352342..b5df948a4 100644 --- a/frontend/src/app/main/ui/dashboard/grid.cljs +++ b/frontend/src/app/main/ui/dashboard/grid.cljs @@ -355,9 +355,10 @@ )))] [:li {:class (stl/css-case :grid-item true :project-th true :library library-view?)} - [:button + [:div {:class (stl/css-case :selected selected? :library library-view?) :ref node-ref + :role "button" :title (:name file) :draggable (dm/str can-edit) :on-click on-select