mirror of
https://github.com/sissbruecker/linkding.git
synced 2026-03-09 19:33:12 +08:00
* return updated HTML from bookmark actions * open details through URL * fix details update * improve modal behavior * use a frame * make behaviors properly destroy themselves * remove page and details params from tag urls * use separate behavior for details and tags * remove separate details view * make it work with other views * add asset actions * remove asset refresh for now * remove details partial * fix tests * remove old partials * update tests * cache and reuse tags * extract search autocomplete behavior * remove details param from pagination * fix tests * only return details modal when navigating in frame * fix link target * remove unused behaviors * use auto submit behavior for user select * fix import
22 lines
604 B
HTML
22 lines
604 B
HTML
<turbo-stream action="update" target="bookmark-list-container">
|
|
<template>
|
|
{% include 'bookmarks/bookmark_list.html' %}
|
|
<script>
|
|
document.dispatchEvent(new CustomEvent('bookmark-list-updated'));
|
|
</script>
|
|
</template>
|
|
</turbo-stream>
|
|
<turbo-stream action="update" target="tag-cloud-container">
|
|
<template>
|
|
{% include 'bookmarks/tag_cloud.html' %}
|
|
</template>
|
|
</turbo-stream>
|
|
|
|
<turbo-stream action="update" method="morph" target="details-modal">
|
|
<template>
|
|
{% if details %}
|
|
{% include 'bookmarks/details/modal.html' %}
|
|
{% endif %}
|
|
</template>
|
|
</turbo-stream>
|