diff --git a/internal/api/swagger.yaml b/internal/api/swagger.yaml index 3d98e6d..dd18ad6 100644 --- a/internal/api/swagger.yaml +++ b/internal/api/swagger.yaml @@ -9,7 +9,7 @@ info: license: name: Apache 2.0 url: http://www.apache.org/licenses/LICENSE-2.0.html - version: 1.10.6 + version: 1.10.7 externalDocs: description: Find out more about spec url: 'https://moonlogs.pages.dev' diff --git a/web/src/shared/ui/popup/index.ts b/web/src/shared/ui/popup/index.ts index ff0c607..919d8aa 100644 --- a/web/src/shared/ui/popup/index.ts +++ b/web/src/shared/ui/popup/index.ts @@ -22,6 +22,8 @@ export const Popup = ({ text, icon, content }: { text?: string | Store; target: $visible, }); + $visible.watch(console.log); + h("div", () => { spec({ classList: ["relative"] }); Button({ diff --git a/web/src/widgets/group-actions-list/index.ts b/web/src/widgets/group-actions-list/index.ts index 3c1f8eb..1eaacf1 100644 --- a/web/src/widgets/group-actions-list/index.ts +++ b/web/src/widgets/group-actions-list/index.ts @@ -2,7 +2,7 @@ import { actionModel } from "@/entities/action"; import { logModel } from "@/entities/log"; import { LogGroupAction } from "@/features"; import { Log } from "@/shared/api"; -import { CaretDownIcon, Popup } from "@/shared/ui"; +import { Popup } from "@/shared/ui"; import { Store, createStore } from "effector"; import { h, list, spec, variant } from "forest"; @@ -26,7 +26,7 @@ export const GroupActionsList = ({ cases: { collapsed: () => { Popup({ - icon: CaretDownIcon, + text: "•••", content: () => { list(actionModel.$actions, ({ store: action }) => { h("li", () => {