- Fixed CSS classes from `*-django-glue-*` to `*-glue*` to match new naming conventions.
0.8.1
Breaking
- Refactored `glue_model` function to `glue_model_object` to be more clear on the functionality. - All imports that used `django_glue.glue` should be changed to `django_glue`. - The `django_glue.middleware.GlueMiddleware` middleware has been renamed to `django_glue.middleware.DjangoGlueMiddleware`. - The `django_glue.context_processors.glue` context processor has been renamed to `django_glue.context_processors.django_glue`. - The JavaScript Object `GlueModelObject` has been renamed to `ModelObjectGlue`. - The JavaScript Object `GlueQuerySet` has been renamed to `QuerySetGlue`. - The JavaScript Object `GlueFunction` has been renamed to `FunctionGlue`. - The JavaScript Object `GlueView` has been renamed to `ViewGlue`. - The JavaScript Object `GlueTemplate` has been renamed to `TemplateGlue`.
Features
- Added initial documentation for the project, check it out at (https://django-glue.stratusadv.com).
Changes
- Project internals have been completely refactored to improve project maintainability. - New recommended way of using glue is to `import django_glue as dg` which won't work with current implementations. - Usage changes from `glue_model_object` to `dg.glue_model_object`. - Testing has been completely refactored to match the new project layout.
Fixes
- Corrected & updated all the testing functionality for this project.
0.7.10
Bugs - Fix select_field.html and search_and_select_field.html to watch for choices to be loaded, which will allow us to display the selected option correctly.
0.7.9
Bugs - Fix CSS of the search_and_select_field to be less jarring when focus is shifted from the button to the search input field. - Add a watcher to the select_field and search_and_select_field so the value can be changed/displayed dynamically/programmatically. Changes - Use $nextTick to decide when to focus on search, instead of using setTimeout.
0.7.8
Bugs - The use of x-trap, focus_input() and click.outside seem to cause issues when the user is on mobile, and a keyboard is present. - On mobile, the search input field is not focused upon opening the dropdown.
0.7.7
Bugs - Simplify how multi-select field binds value & choices. - X-effect to parse value into proper array and bind to hidden input field. - Close missing div on select field.