webclient: reach the socket from cards, and draw the proposal card with the kit
The skill-proposal card sent its decision through inject('wsSend'), but no
ancestor ever provided it — the click went nowhere and the card reported
"No connection". Form.vue carried the same latent bug since 9dfdb48.

- wsBridge.js: a module-level bridge. useWebSocket registers its send on
  setup and clears it on unmount; cards call wsSend() and get false back
  instead of silently dropping the payload.
- Form.vue uses the bridge and reports a refused send without marking the
  form submitted.
- SkillProposal.vue is rebuilt on the kit (GnCard, GnAlert, GnChip, GnList,
  GnSteps, GnDescriptionList, GnLoader, GnButton) and exports `bare`, so
  UiComponentCard no longer wraps it in a second frame with a dev header.
- registry.js tracks bare components; UiComponentCard renders them as-is.
1 parent 6cda08a commit 837275436c4ed3406d451f4ea9bacdd0391b6e7d
@Eugene Sukhodolskiy Eugene Sukhodolskiy authored 1 day ago
Showing 21 changed files
View
webclient/dist/assets/index-ChK6n5aK.js 100644 → 0
Not supported
View
webclient/dist/assets/index-DLfm2dor.css 0 → 100644
View
webclient/dist/assets/index-HeHnLilR.js 0 → 100644
Not supported
View
webclient/dist/assets/index-SW1nQB25.css 100644 → 0
View
webclient/dist/index.html
View
webclient/dist/sw.js
View
webclient/src/components/messages/UiComponentCard.vue
View
webclient/src/components/ui/Form.vue
View
webclient/src/components/ui/SkillProposal.vue
View
webclient/src/components/ui/registry.js
View
webclient/src/composables/useWebSocket.js
View
webclient/src/composables/wsBridge.js 0 → 100644
View
webclient/src/i18n/messages/en.js
View
webclient/src/i18n/messages/ru.js
View
webclient/src/i18n/messages/uk.js
View
webclient/tests/unit/components/ui/Form.test.js
View
webclient/tests/unit/components/ui/UiComponentCard.test.js
View
webclient/tests/unit/components/ui/registry.test.js
View
webclient/tests/unit/components/ui/skillProposal.test.js
View
webclient/tests/unit/composables/useWebSocket.test.js
View
webclient/tests/unit/composables/wsBridge.test.js 0 → 100644