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 Finished moving tag-manager from a vue to a component 2020-06-29 22:11:03 +01:00
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 Finished moving tag-manager from a vue to a component 2020-06-29 22:11:03 +01:00
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 Moved overlay component, migrated code-editor & added features 2020-06-28 00:06:47 +01:00
code-highlighter.js Added "Getting Started" API docs 2020-01-18 14:03:11 +00:00
collapsible.js Finished moving tag-manager from a vue to a component 2020-06-29 22:11:03 +01:00
custom-checkbox.js
details-highlighter.js Added a view for the API docs 2020-01-15 20:18:02 +00:00
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 Converted entity-dash from vue to a component 2020-06-28 21:15:00 +01:00
entity-selector-popup.js Moved overlay component, migrated code-editor & added features 2020-06-28 00:06:47 +01:00
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 Updated password reset process not to indicate if email exists 2020-04-10 13:38:08 +01:00
optional-input.js Converted search filters to not be vue based 2020-06-27 13:29:00 +01:00
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 Moved overlay component, migrated code-editor & added features 2020-06-28 00:06:47 +01:00
setting-app-color-picker.js Compacted entity color options in settings view 2019-12-07 21:23:15 +00:00
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 Finished moving tag-manager from a vue to a component 2020-06-29 22:11:03 +01:00
template-manager.js Fixed editor JavaScript error in TemplateManager 2020-04-04 00:09:58 +01:00
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