Skip to content
This repository has been archived by the owner on Nov 23, 2022. It is now read-only.

Releases: unosquare/tubular-react

Better component design

24 Jul 18:36
Compare
Choose a tag to compare

The purpose of these changes is to improve our grid in general. This PR includes the following major changes:

HOCs have been removed. Their logic was moved to a single hook since they were only providing a single method.
Initial unit tests for new useDataGrid hook have been added. We need to work more on unit tests.
Multiple bugs have been fixed like: Filter popovers were triggering unnecessary reloads, local storage was not initializing/hydrating settings properly.
Re-organized project structure.
In general, the DataGrid component was improved. In order to implement it we now only require:

<DataGrid
  columns={columns}
  dataSource={localData | remoteSource}
  gridName='LocalDataGrid'
  storage={new LocalStorage()}
  onError={setErrorMessage}
/>

Thanks to @kadosh for this new approach!

Storage support

02 May 17:39
Compare
Choose a tag to compare

Breaking changes

  • Include new DataGridContext to handle ToolbarOptions and Storage props.
  • Storage property allows saving DataGrid settings, for example in LocalStorage (default). A NullStorage is included to avoid remember settings.

Minor issues and update dependencies

30 Jul 18:33
Compare
Choose a tag to compare

Implement popover instead of modals to show columns filters form.

See commit logs.

Release 0.3.0

28 Jun 19:09
Compare
Choose a tag to compare

Major refactor