Apollinaire
83a908e22a
Fix datatable bug when sorting a column
...
see https://github.com/VulcanJS/Vulcan/issues/2090#issuecomment-433860782
Previously : when you clicked on a sortable column, the results of the fired query would be null, and the next polling would make it right. You had a long time with no results displayed.
Now : The query fired when you click to sort a column returns the right result, with the props updating correctly, so no need to wait for the polling to update the results.
See #2090 for an in-depth explanation
2018-10-29 18:52:47 +01:00
Bogdan Dimofte
881a6533f8
datatable: add i18n for the search field
2018-10-11 10:42:37 +03:00
Sara Itani
565cda5979
cleanup: Fix naming after withList -> withMulti change
2018-09-14 22:17:08 -07:00
SachaG
1404670631
withList -> withMulti
2018-09-12 14:51:44 +09:00
SachaG
bafe350407
withList -> withMulti; add fallback prop for Avatar component
2018-09-12 10:31:36 +09:00
SachaG
4af2492e07
Make Card and Datatable components more flexible when working with static data; add title prop
2018-07-11 08:34:01 +02:00
SachaG
d4193fd7e5
Merge branch 'devel' into opencrud
...
# Conflicts:
# packages/vulcan-lib/lib/modules/collections.js
2018-06-14 09:55:52 +09:00
SachaG
4da86c44a3
Add support for sortable property (bool/string) on datatable columns to make them sortable
2018-06-12 15:24:17 +09:00
SachaG
809bdd05de
Adapting withMulti and withSingle
2018-06-05 11:51:25 +09:00
SachaG
fc15a4df42
Small core/ui components improvements
2018-05-16 11:40:10 +09:00
SachaG
13609dd755
Various small improvements
2018-05-04 11:56:49 +09:00
SachaG
b4f960301b
Isolate bootstrap dependencies in new vulcan-ui-bootstrap package
2018-04-23 09:47:04 +09:00
SachaG
59c12c27d2
Log slug in default resolver; add rowClass prop to Datatable
2018-04-06 17:59:24 +09:00
SachaG
1d7cef5556
Work on form errors & validation
2018-03-25 10:54:45 +09:00
SachaG
f7da9108f7
Use getFormType(); make user.services object viewable to owner only; clean up Datatable props
2018-03-22 16:54:50 +09:00
SachaG
7061483af8
Improve Datatable new/edit buttons; simplify FormWrapper loading check
2018-03-20 14:56:09 +09:00
SachaG
748e2f8fea
Charges dashboard improvements
2018-02-24 18:26:56 +09:00
SachaG
8e27870bf0
processCharge -> processEvent; call processEvent after subscription, too; add Charges dashboard
2018-02-24 18:15:42 +09:00
SachaG
97e0883f31
Refactor NewButton/EditButton code
2018-02-15 12:04:51 +09:00
SachaG
e3ba347f80
Better way: just use options' fragmentName as mutationFragment
2018-02-15 09:32:41 +09:00
SachaG
f9893aa615
Pass down newFragmentName and editFragmentName
2018-02-14 22:22:51 +09:00
SachaG
2eeb252bd5
Let EditButton, NewButton pass through props to SmartForm
2018-02-12 18:49:22 +09:00
SachaG
31621b39b2
Add createdAtFormattedShort field to charges
2018-02-09 11:30:15 +09:00
Vincent Roman
d03963680b
Datatable - spacing consistency
2018-02-03 07:06:56 +00:00
Vincent Roman
dd3384d195
Merge branch 'upstream-devel' into vincro-devel
...
# Conflicts:
# packages/vulcan-core/lib/modules/components/Datatable.jsx
2018-02-03 06:59:39 +00:00
Vincent Roman
47e5db0068
Datatable - add targetting className for column headers like data-item-*
2018-02-03 06:41:10 +00:00
Vincent Roman
e9c088136d
Datatable - amend replace to change SPACE for more than first instance with REGEX
2018-02-03 06:39:57 +00:00
SachaG
44bff952b1
Make datatable accept static JSON as data
property; add Routes admin dashboard
2018-02-02 18:43:35 +09:00
Vincent Roman
77733d2b81
Datatable - replace SPACE with - in the datatable-item-* className
2018-01-31 15:39:03 +00:00
SachaG
55494d3de2
Only show Edit and New buttons if user has proper permissions
2018-01-25 18:20:29 +09:00
SachaG
2ae8176c71
Small fixes
2018-01-20 11:02:11 +09:00
Sacha Greif
0b859bd871
Merge pull request #1803 from schuttsm/admin-delete-user-hide
...
fix admin delete user hide bug
2018-01-11 15:10:34 +09:00
Stephen Schutt
747350c0e5
fix bug where modal doesn't hide after user is deleted
2018-01-06 17:52:52 +01:00
SachaG
c80e38eb1f
Add New button to datatables
2018-01-03 15:13:50 +09:00
SachaG
aec4c0ae69
Add Datatable emptyState prop
2017-11-09 10:00:56 +09:00
SachaG
faa573c95f
add showSearch option to Datatable
2017-10-05 09:12:53 +09:00
SachaG
80eda13222
Small fixes
2017-09-29 07:40:59 +09:00
SachaG
984021cd7f
Clean up/refactor settings; add registerSetting and /settings route
2017-09-22 12:24:15 +02:00
SachaG
d0eef54c70
upgrade simple-schema
2017-09-04 17:40:01 +09:00
SachaG
fa9877ef04
small fixes
2017-08-30 18:50:25 +09:00
SachaG
2e439a6c89
add optional edit button to datatable
2017-08-02 18:56:29 +09:00
SachaG
9ae2bafd62
fix admin css
2017-08-02 17:22:35 +09:00
SachaG
d9b9ecbb98
make Datatable more flexible
2017-08-02 17:18:49 +09:00
SachaG
364559d7de
add new Datatable component and use it for Users dashboard
2017-08-02 16:19:15 +09:00