Releases: atk4/ui
1.6.5
Closed issues:
- Bad icon and text button vertical alignment #668
- Incorrect ids for elements #667
- Width is not applied correctly to elements #656
- Improvements to Console #392
Merged pull requests:
- Feature/Fomantic Update #675 (@ibelar)
- fix/Radio Input Field #674 (@ibelar)
- fix/jsNotifier Transition #673 (@ibelar)
- fix/Lookup Autocomplete fixes #671 (@ibelar)
- Add container for action buttons #669 (@DarkSide666)
- revert lister template changes #666 (@DarkSide666)
- Defines which Table Decorator to use for Actions #665 (@gowrav-vishwakarma)
1.6.4
Merged pull requests:
- Feature/implement grid layout #662 (@DarkSide666)
- fix Lister #660 (@DarkSide666)
- Feature/fix lister render #659 (@DarkSide666)
1.6.3
Closed issues:
- Table using setSource(): Ability to add custom headline #650
- Double confirm alert #649
- Form - create "read-only" field #486
Merged pull requests:
- Update UI.php to let dev decide about naming #657 (@FabulousGee)
- Removed deprecated each functions from template parsing #654 (@abbadon1334)
- fix/#649 Double Confirm #653 (@ibelar)
- make templates-dir easier to customize #648 (@DarkSide666)
- Atk4/ui/table column image #645 (@skondakov)
- bugfix for confirm #644 (@DarkSide666)
1.6.2
Closed issues:
- dev-develop branches should require other dev-develop branches for all atk/* repositories #641
- mink-selenium2-driver #638
- hasOne relation should use Lookup field instead of DropDown by default #636
- Template: tryAppend() and tryAppendHTML() woud be nice #626
- Possible Restriction Solution: custom templates must be defined in vendor atk4/ui #625
- CRUD and read_only field #620
- Ternary operator messes up integer with value = 0 in DropDown::getInput() #618
- Template _top tag doesn't work #610
- Multiple Modals: Closing second modal by clicking dimmer does not work everywhere in dimmer if second modal is smaller than first one #609
- Lister need {empty} ability in it's template #606
- confirm in View->on() only works with Callback, not with jsReload for example #503
- Font size on tablet screen #485
- Implement a simple template routing in Agile UI #440
- Nested Modals #436
- Integrate ATK with Zend3 #384
Merged pull requests:
- Add "confirm" option support for js->on() case #642 (@DarkSide666)
- Feature/test persist array #640 (@DarkSide666)
- fix #638 #639 (@DarkSide666)
- Use Lookup field for hasOne, fix #636 #637 (@DarkSide666)
- Don't apply sorting in case sortable=false. #635 (@DarkSide666)
- Feature/fix paginator plus sort #634 (@DarkSide666)
- Feature/upd crud demo #633 (@DarkSide666)
- fix in case you don't have {empty} tag in your Lister template #632 (@DarkSide666)
- add ability to set buttonSave=false to not create it #631 (@DarkSide666)
- comment fix #630 (@DarkSide666)
- Feature/allow to set multiple template paths #628 (@DarkSide666)
- Refactor Template set, append, implement tryAppend, add tests. #627 (@DarkSide666)
- Fix UTF-8 #624 (@mvorisek)
- Critical bug fix: always convert Dropdown/Autocomplete/Lookup values to string #623 (@mvorisek)
- Fixes #618: Process fields with integer value 0 correctly #619 (@PhilippGrashoff)
- Feature/dynamic scroll crud #617 (@DarkSide666)
- Make demo for dynamic scroll in container better #616 (@DarkSide666)
- Feature/cond form fixes #615 (@DarkSide666)
- Feature/add dropdown tests #614 (@romaninsh)
- feature/upgrade js package dependencies #613 (@ibelar)
- Feature/refactor template #612 (@DarkSide666)
- Implements {empty} tag in Lister #611 (@DarkSide666)
- Fix mobile layout #608 (@skondakov)
- Catch coverage usage from callback handlers executed from php shutdown #607 (@romaninsh)
1.6.1
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:
- fix DropDown field HTML markup (getTag usage) #604 (@DarkSide666)
- fix/Readonly state for Lookup and Autocomplete #603 (@ibelar)
- fix/Dropdown multiple value #602 (@ibelar)
- Feature/form section #600 (@ibelar)
- Feature/accordion only #599 (@ibelar)
- Feature/fix add column #597 (@DarkSide666)
- don't show never_persist fields as changed - that's confusing #596 (@DarkSide666)
- Switched to selenium... and it works, YEY #595 (@romaninsh)
- Feature/Toast Module - Fomantic 2.6.4 Release #594 (@ibelar)
- fix demo database #591 (@DarkSide666)
- fix/lister demo template #588 (@ibelar)
- Feature/dynamic scroll #587 (@ibelar)
- Feature/demo lineend bug #586 (@DarkSide666)
- Fix/#573 Memorize url #585 (@ibelar)
- Only show action <div> if there are actions #584 (@PhilippGrashoff)
- Feature/jsReload with semantic configurable api options. #582 (@ibelar)
- add formConfig to pass parameters to FUI .form() #581 (@PhilippGrashoff)
- Allow PHP 7.2+ to check method signatures #579 (@romaninsh)
- View::on now takes callback and JS actions #577 (@PhilippGrashoff)
- fix/ set input attribute to readonly or disable. #576 (@ibelar)
- Sorting should happen later. Fix #544 #574 (@DarkSide666)
1.6.0
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:
- Set view as not rendered if there is exception #569 (@DarkSide666)
- fix/ grid table overflow #568 (@ibelar)
- Upgrading to Fomantic-UI #567 (@romaninsh)
- fix #565, Menu->addItem URL treatment #566 (@DarkSide666)
- feature/leftMenu option #564 (@ibelar)
- Feature/js search auto query #563 (@ibelar)
- $grid->jsReload not showing reload indicator #562 (@skondakov)
- Feature/form submit hook in crud #560 (@DarkSide666)
- Feature/Table Column Resizable #559 (@ibelar)
- Fix LoremIpsum constructor (seed mechanism) #556 (@DarkSide666)
- Feature/fix on change radio #555 (@DarkSide666)
- add scrollbar if needed in modal #553 (@DarkSide666)
- typo fix #552 (@DarkSide666)
- Feature/support for serialized fields #548 (@romaninsh)
- Implements FormField->onChange method #547 (@DarkSide666)
- console->set() captures executon info/output. #546 (@romaninsh)
1.5.8
- 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.