|
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.
|
|---|
|
|
| webclient/dist/assets/index-ChK6n5aK.js 100644 → 0 |
|---|
|
Not supported
|
| webclient/dist/assets/index-DLfm2dor.css 0 → 100644 |
|---|
| webclient/dist/assets/index-HeHnLilR.js 0 → 100644 |
|---|
|
Not supported
|
| webclient/dist/assets/index-SW1nQB25.css 100644 → 0 |
|---|
| webclient/dist/index.html |
|---|
| webclient/dist/sw.js |
|---|
| webclient/src/components/messages/UiComponentCard.vue |
|---|
| webclient/src/components/ui/Form.vue |
|---|
| webclient/src/components/ui/SkillProposal.vue |
|---|
| webclient/src/components/ui/registry.js |
|---|
| webclient/src/composables/useWebSocket.js |
|---|
| webclient/src/composables/wsBridge.js 0 → 100644 |
|---|
| webclient/src/i18n/messages/en.js |
|---|
| webclient/src/i18n/messages/ru.js |
|---|
| webclient/src/i18n/messages/uk.js |
|---|
| webclient/tests/unit/components/ui/Form.test.js |
|---|
| webclient/tests/unit/components/ui/UiComponentCard.test.js |
|---|
| webclient/tests/unit/components/ui/registry.test.js |
|---|
| webclient/tests/unit/components/ui/skillProposal.test.js |
|---|
| webclient/tests/unit/composables/useWebSocket.test.js |
|---|
| webclient/tests/unit/composables/wsBridge.test.js 0 → 100644 |
|---|