@romaninsh romaninsh released this Nov 29, 2018 · 54 commits to develop since this release

Assets 2

Adding new form layouts, toast and switching to selenium for UI tests. Fixed readonly fields, added many tests
and upgraded Fomantic-UI version.

Closed issues:

  • Can not tick CheckBox field when it is in group #593
  • Message view Icon placement is strange #592
  • Modal without any action buttons at the bottom still shows action div #583
  • DropDown doesn't open when having showOnFocus=false #580
  • Feature Request: JsReload should be able to set .api parameters (like Form does) #578
  • Disabled fields can still be focused and edited #575
  • Grid sorting memorizes previous sort order in URL #573
  • Columns not sorting if added after setModel #544
  • Calendar form field on('change') event handler not working #521
  • Upload FormField: Setting placeholder via placeholder does not work #483
  • Placeholder is not picked up from Model field ui[placeholder] property #468
  • type='money' is no longer using 'Money' column decorarot #414

Merged pull requests:

@romaninsh romaninsh released this Oct 8, 2018 · 190 commits to develop since this release

Assets 2

Our 1.6 release signifies a switch from a stale Semantic UI CSS framework to a community-supported Fomantic UI fork, version 2.6.2. Calendar widget is now supported natively, various other issues are addressed but, more importantly, Fomantic UI is open for collaboration. We are working with their core maintainers hammy2899, prudho and ColinFrick to implement new modern UI features.

Also now have ability to resize any table, Grid or CRUD:


// Enable reizable columns on the table
$table->resizableColumn();

// Also supports custom callaback (on-resize) and ability to pre-set the width:
$table->resizableColumn(function($j, $w){
    $columnWidths = json_decode($w);
    // store widths somewhere
    return;
}, [200,300,100,100,100]); // default widths

[$table->resizableColumns();](https://agile-ui.readthedocs.io/en/latest/table.html?highlight=table#resizable-columns)


// For Grid or CRUD:
$crud->table->resizableColumn

We also introducing a somewhat experemental "Lookup" field. It is identical to AutoComplete and can work as a stand-in
replacement, but supports "filters". For now we are looking for ways to make this field more compact before it becomes
part of AutoComplete.


$form = $app->add(new \atk4\ui\Form(['segment']));
$form->add(['Label', 'Add city', 'top attached'], 'AboveFields');

$l = $form->addField('city',['Lookup']);

// will restraint possible city value in droddown base on country and/or language.
$l->addFilter('country', 'Country');
$l->addFilter('language', 'Lang');

//make sure country and language belong to your model.
$l->setModel(new City($db));

Closed issues:

  • Menu->addItem is not using App->url method #565
  • $grid->jsReload() does not show loading indicator #561
  • In CRUD form->error() is not treated correctly #558
  • DropDown with icons don't look nice #514
  • jsNotify->setDuration(0) message is not sown forever #478
  • Paginator should have ability to choose items per page #441

Merged pull requests:

@romaninsh romaninsh released this Aug 16, 2018 · 282 commits to develop since this release

Assets 2
  • Modals now support "null" title. Will remove extra spacing for the header too
  • Modal content height is now 100px minimum
  • Added $app->isJsonRequest(), detects xmlhttprequest and tabs
  • Dynamic and Static tabs now have consistent padding
  • $tabs->addTab()->setActive() can be used to automatically jump to tab on load
  • When using stand-alone $view->render() support for callbacks improved
  • jsModal::setOption() can be used to customize header and label.

@romaninsh romaninsh released this Jul 26, 2018 · 307 commits to develop since this release

Assets 2

@romaninsh romaninsh released this Jul 26, 2018 · 312 commits to develop since this release

Assets 2

Merged pull requests:

  • Fix decorator for boolean fields with enum set #533 (DarkSide666)
  • fix/caughtException in tab #531 (ibelar)
  • feature/Allow customization of container and table in grid. #528 (ibelar)

@romaninsh romaninsh released this Jul 24, 2018 · 330 commits to develop since this release

Assets 2

Closed issues:

  • CRUD edit form reload don't use stickyGet parameters #524
  • If AJAX request fails - provide user-friendly way to see error #522
  • Date picker doesn't respect APP->ui_persistence->date_format #507

Merged pull requests:

@romaninsh romaninsh released this Jul 5, 2018 · 348 commits to develop since this release

Assets 2

This issue fixed a problem where modal windows coulddn't open when placed in a dynamic tab. There
probably were some other situation where callbacks were not reachable, and this release should
address them.

Closed issues:

  • Add Filter Type Money #517
  • UploadField: should open dialog on "click" too not only on "focus" #511
  • UploadField compatibility with multiple jQuery #510
  • Enhancement: Make dropdown options visible when clicking into empty area between text and dropdown icon #502
  • Modal in Tab not working #500
  • AutoComplete not initializing with proper text #491

Merged pull requests:

@romaninsh romaninsh released this Jun 19, 2018 · 374 commits to develop since this release

Assets 2

This release addresses problem Semantic UI is having with multiple modals. We will now hide existing modal
if new one needs to be opened and after this new modal is closed it will be re-opened once again. The relevant
issue is #487

Closed issues:

  • Grid should have loader while reloading #493

Merged pull requests:

@romaninsh romaninsh released this Jun 13, 2018 · 389 commits to develop since this release

Assets 2

Closed issues:

  • Class 'atk4\ui\FormLayout\Exception' not found (in _Abstract.php) #480
  • App->initLayout 2nd parameter $options #476
  • allow to use icon in DropDown #473
  • implement custom form layout #465
  • TableColumn/Link doesn't evaluate as template #462

Merged pull requests:

May 22, 2018
Build release 1.5.1