elk-zone / elk

A nimble Mastodon web client
https://elk.zone
MIT License
5.39k stars 555 forks source link

fix(ui): generate only one thread composer in `PublishWidgetList` and provide it to each widget #2953

Closed userquin closed 2 weeks ago

userquin commented 2 weeks ago

This PR builds the composer in the list sfc and pass it to each widget: the widget will use the provided or build a new one composer depending on the new optional thread-composer prop.

(fixes the vue setup warning from this https://github.com/elk-zone/elk/pull/2946#pullrequestreview-2297350986)

@patak-dev @danielroe @shuuji3 I didn't did anything about the composer logic, maybe you can help me to test this PR properly

imagen

netlify[bot] commented 2 weeks ago

Deploy Preview for elk-docs canceled.

Name Link
Latest commit 8d936991b7f6ecb978d0b79a8fe9541a9a896eb4
Latest deploy log https://app.netlify.com/sites/elk-docs/deploys/66e1d7b0c374c800081af0bb
netlify[bot] commented 2 weeks ago

Deploy Preview for elk-zone ready!

Name Link
Latest commit 8d936991b7f6ecb978d0b79a8fe9541a9a896eb4
Latest deploy log https://app.netlify.com/sites/elk-zone/deploys/66e1d7b0f321bb0008f35156
Deploy Preview https://deploy-preview-2953--elk-zone.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.