bookstack/resources/js/components
Dan Brown f99af807d0
Reviewed and refactored additional editor draft save warnings
- Added testing to cover warning cases.
- Refactored logic to be simpler and move much of the business out of
  the controller.
- Added new message that's more suitable to the case this was handling.
- For detecting an outdated draft, checked the draft created_at time
  instead of updated_at to better fit the scenario being checked.
- Updated some method types to align with those potentially being used
  in the logic of the code.
- Added a cache of shown messages on the front-end to prevent them
  re-showing on every save during the session, even if dismissed.
2021-10-04 20:26:55 +01:00
..
add-remove-rows.js
ajax-delete-row.js Started migration of attachment manager from vue 2020-06-30 22:12:45 +01:00
ajax-form.js Converted image-manager to be component/HTML based 2020-07-25 00:20:58 +01:00
attachments-list.js Added front-end toggle and testing of inline attachments 2021-06-06 13:55:56 +01:00
attachments.js Added button for inserting attachment link to a page 2020-09-13 18:58:05 +01:00
auto-suggest.js
back-to-top.js
book-sort.js Updated esbuild options and version & updated npm deps 2020-09-30 22:28:53 +01:00
chapter-toggle.js
code-editor.js
code-highlighter.js
collapsible.js
custom-checkbox.js
details-highlighter.js
dropdown-search.js Fixed audit log user dropdown usability issue 2021-08-04 20:48:23 +01:00
dropdown.js Improved header element accessibility when at mobile sizes 2021-04-19 21:41:13 +01:00
dropzone.js Converted image-manager to be component/HTML based 2020-07-25 00:20:58 +01:00
editor-toolbox.js
entity-permissions-editor.js
entity-search.js
entity-selector-popup.js
entity-selector.js Updtd entity-selector for keyboard nav and new component system 2021-02-12 22:10:37 +00:00
event-emit-select.js Finished breakdown of attachment vue into components 2020-07-04 16:53:02 +01:00
expand-toggle.js
header-mobile-toggle.js Improved header element accessibility when at mobile sizes 2021-04-19 21:41:13 +01:00
homepage-control.js
image-manager.js Fixed some image manager behaviour 2020-07-25 11:47:12 +01:00
image-picker.js
index.js Added front-end toggle and testing of inline attachments 2021-06-06 13:55:56 +01:00
list-sort-control.js
markdown-editor.js Updated drawing upload error to shown/handle server limit errors 2021-05-26 18:23:27 +01:00
new-user-password.js
notification.js
optional-input.js
page-comments.js Updated some comment elements and standardised more JS 2020-07-28 18:19:18 +01:00
page-display.js Added codemirror refresh on details blog toggle 2021-01-30 17:04:30 +00:00
page-editor.js Reviewed and refactored additional editor draft save warnings 2021-10-04 20:26:55 +01:00
page-picker.js
permissions-table.js
popup.js
setting-app-color-picker.js
setting-color-picker.js
shelf-sort.js
sidebar.js
sortable-list.js Continued implementation of attachment drag+drop 2020-09-13 18:31:14 +01:00
submit-on-change.js Fixed audit log user dropdown usability issue 2021-08-04 20:48:23 +01:00
tabs.js Started migration of attachment manager from vue 2020-06-30 22:12:45 +01:00
tag-manager.js
template-manager.js
toggle-switch.js
tri-layout.js Improved header element accessibility when at mobile sizes 2021-04-19 21:41:13 +01:00
user-select.js Fixed audit log user dropdown usability issue 2021-08-04 20:48:23 +01:00
wysiwyg-editor.js Updated drawing upload error to shown/handle server limit errors 2021-05-26 18:23:27 +01:00