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

datagridfield pattern #106

Merged
merged 16 commits into from
Mar 15, 2021
Merged

datagridfield pattern #106

merged 16 commits into from
Mar 15, 2021

Commits on Mar 3, 2021

  1. Configuration menu
    Copy the full SHA
    38b88b0 View commit details
    Browse the repository at this point in the history
  2. Change UI element classes

    Remove non-unique id attributes from UI buttons and add classes instead.
    Let the button functionality be initialized by the pattern.
    
    Breaking change:
    In this version a pattern handles all the JavaScript functionality to ensure best possible encapsulation between different instances of the datagridfield widget.
    If you have customized templates, make sure you do the following:
    - Add the class ``pat-datagridfield`` to the ``datagridwidget-table-view`` nodes (files: datagridfield_input.pt, datagridfield_input_block.pt).
    - Add the following classes instead of ids to the ui buttons as shown in this map (files: datagridfieldobject_input.pt, datagridfieldobject_input_block.pt_):
        - #btn-addrow -> .dgf--row-add
        - #btn-deleterow -> .dgf--row-delete
        - #btn-moveup -> .dgf--row-moveup
        - #btn-movedown -> .dgf--row-movedown
    thet committed Mar 3, 2021
    Configuration menu
    Copy the full SHA
    e93e5ca View commit details
    Browse the repository at this point in the history

Commits on Mar 4, 2021

  1. Row UI buttons optimizations

    Change row UI elements from anchor to buttons for better semantics.
    Fix Boostrap classes, remove unused attributes, add a title to buttons.
    thet committed Mar 4, 2021
    Configuration menu
    Copy the full SHA
    35daeac View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    739ab0d View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    058dd1c View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    ff887ac View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    f7a175c View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    e175586 View commit details
    Browse the repository at this point in the history

Commits on Mar 5, 2021

  1. Configuration menu
    Copy the full SHA
    632fc16 View commit details
    Browse the repository at this point in the history
  2. Code cleanup

    thet committed Mar 5, 2021
    Configuration menu
    Copy the full SHA
    0695caa View commit details
    Browse the repository at this point in the history
  3. Row count fixes.

    - Factor out countRows function for reuse.
    - Bring count field into reach of pattern.
    thet committed Mar 5, 2021
    Configuration menu
    Copy the full SHA
    263c5ec View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    7724df5 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    6dea57a View commit details
    Browse the repository at this point in the history
  6. Cleanup unused CSS.

    thet committed Mar 5, 2021
    Configuration menu
    Copy the full SHA
    047fd24 View commit details
    Browse the repository at this point in the history

Commits on Mar 15, 2021

  1. Register new pat-datagridfield bundle.

    Breaking change:
    The JavaScript resources have changed a lot.
    Please run the provided upgrade steps!
    
    If you were customizing templates which loaded these JavaScript resources
    or customized the JavaScript functionality itself, take special care.
    The bundle is loaded only for logged-in users.
    thet committed Mar 15, 2021
    Configuration menu
    Copy the full SHA
    8923c17 View commit details
    Browse the repository at this point in the history
  2. Compiled

    thet committed Mar 15, 2021
    Configuration menu
    Copy the full SHA
    9776700 View commit details
    Browse the repository at this point in the history