Releases: LibCrowds/libcrowds-viewer
Releases · LibCrowds/libcrowds-viewer
v5.1.1
v5.1.0
footer
slot added for the sidebar footer
v5.0.1
- Fix hiding of
toolbar-buttons
viafalse
- Remove the "Task" sidebar header
v5.0.0
This release largely cleans up options that added extra complexity but no real value to the module as they can be handled directly by the client.
- Where button options have been removed, the same functionality can be achieved by adding a custom button via the
toolbar-buttons
option. - Where default modals, such as the share modal, the same functionality can be achieved by adding a custom modal using the
lv-modal
component.
See the docs for more details.
Breaking changes
- The
navigation
viewer config option has been removed - The
generator
task config option has been removed - The
creator
task config option has been removed - The
buttons
viewer config option has split intotoolbar-buttons
andsidebar-buttons
- The
like
button has been remove, along with theliked
task config option - The
show-note
options has been removed - The
share
button and modal have been removed - Dropped support for node.js <= 5
Features
- Custom toolbar buttons can be added via the
toolbar-buttons
viewer config option - All toolbar button clicks will emit a
toolbarbtnclick
event - Custom modals can be added with the
lv-modal
component - Add
disable-modals
option, so that the client can use their own - Task
target
configurations containing aFragmentSelector
are highlighted (rather than having to specify additionalhighlights
orbounds
options)
v4.0.1
- Check that task is loaded in help modal
- Add more SCSS settings
v4.0.0
Breaking changes:
- Rename
task.info
totask.manifest
and add a slot that will overwrite the info modal content if provided. - Remove
task.shareUrl
and instead use a slot for the share modal. - Add a slot to the top of the help modal.
v3.4.8
Bug fixes
See the closed milestone for details.
v3.4.7
A tiny lint fix
v3.4.6
- Fix downloads on Firefox
- Fix cross-browser style issues
v3.4.5
- Fix documentation build
- Add !default flag to all Sass variables
- Fix attempted focus on non-existant form fields