Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Simple WYSIWYG for description fields and comments #4729

Merged
merged 15 commits into from
Dec 22, 2023

Commits on Dec 16, 2023

  1. Input WYSIWYG: Added compontent and rough logic to book form

    Just as a draft for prototyping and playing around to get things
    started.
    ssddanbrown committed Dec 16, 2023
    Configuration menu
    Copy the full SHA
    569542f View commit details
    Browse the repository at this point in the history

Commits on Dec 17, 2023

  1. Input WYSIWYG: Added description_html field, added store logic

    Rolled out HTML editor field and store logic across all target entity
    types. Cleaned up WYSIWYG input logic and design.
    Cleaned up some injected classes while there.
    ssddanbrown committed Dec 17, 2023
    Configuration menu
    Copy the full SHA
    c622b78 View commit details
    Browse the repository at this point in the history

Commits on Dec 18, 2023

  1. Input WYSIWYG: Added reference store & fetch handling

    For book, shelves and chapters.
    Made much of the existing handling generic to entity types.
    Added new MixedEntityListLoader to help load lists somewhat efficiently.
    Only manually tested so far.
    ssddanbrown committed Dec 18, 2023
    Configuration menu
    Copy the full SHA
    307fae3 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    bc354e8 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    c07aa05 View commit details
    Browse the repository at this point in the history

Commits on Dec 19, 2023

  1. Input WYSIWYG: Added dynamic options for entity selector popups

    So that multiple elements on the page can share the same popup, with
    different search options.
    ssddanbrown committed Dec 19, 2023
    Configuration menu
    Copy the full SHA
    2fbed39 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    077b970 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    7fd6d5b View commit details
    Browse the repository at this point in the history

Commits on Dec 20, 2023

  1. Configuration menu
    Copy the full SHA
    a21ca44 View commit details
    Browse the repository at this point in the history
  2. Input WYSIWYG: Aligned newline handling with old descriptions

    To ensure consistenent behaviour before/after changes.
    Added tests to cover.
    ssddanbrown committed Dec 20, 2023
    Configuration menu
    Copy the full SHA
    ed5d67e View commit details
    Browse the repository at this point in the history

Commits on Dec 21, 2023

  1. Input WYSIWYG: Updated API to show/accept html descriptions

    Also aligned books, shelves and chapters to return description content
    and some relations (where not breaking API) in create/update responses
    also so that information can be seen direct from that input in a
    request.
    
    API docs and tests not yet updated to match.
    ssddanbrown committed Dec 21, 2023
    Configuration menu
    Copy the full SHA
    00ae04e View commit details
    Browse the repository at this point in the history

Commits on Dec 22, 2023

  1. Input WYSIWYG: Updated API testing, fixed description set issue

    Fixed issue where an existing description_html field would not be
    updated via 'description' input.
    ssddanbrown committed Dec 22, 2023
    Configuration menu
    Copy the full SHA
    2a7a81e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    fb3cfaf View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    7cd0629 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    3668949 View commit details
    Browse the repository at this point in the history