Francisco Vallarino
|
14753e9f0f
|
Remove widgetRestore, related types and logic. Remove CBOR and Serialise dependencies
|
2021-04-24 15:09:47 -03:00 |
|
Francisco Vallarino
|
0654a5e50b
|
Handle drag and drop to reorder items in ticker example
|
2021-03-13 22:17:03 -03:00 |
|
Francisco Vallarino
|
a3de5a590b
|
Add requests to server and decoding of errors to ticker example
|
2021-03-12 16:50:13 -03:00 |
|
Francisco Vallarino
|
ab2104f357
|
Add WidgetModel typeclass, which provides a way of optionally serializing/deserializing the state of a widget
|
2021-02-04 23:27:26 -03:00 |
|
Francisco Vallarino
|
15b0251f70
|
Refactor sample dark theme. Add sndColor to StyleState. Attempt to reduce confusion regarding color use
|
2021-01-28 18:23:07 -03:00 |
|
Francisco Vallarino
|
eecaa4b7e3
|
Add node to arguments of handleEvent. Make confirm set focus to accept button if visible and focused
|
2021-01-21 00:25:21 -03:00 |
|
Francisco Vallarino
|
95bf96174b
|
Add onVisibleChange and onEnableChange to composite. Also add onInit, to replace the previous Maybe parameter. Update alert/confirm
|
2021-01-20 23:17:26 -03:00 |
|
Francisco Vallarino
|
babbd3be93
|
Standardize typeclass derivation order
|
2021-01-12 17:48:38 -03:00 |
|
Francisco Vallarino
|
041ee0c7db
|
Remove unneeded Typeable deriving. Update tasks
|
2021-01-12 16:42:34 -03:00 |
|
Francisco Vallarino
|
0517dd7d14
|
Add serialization support
|
2021-01-12 14:34:39 -03:00 |
|
Francisco Vallarino
|
0e48826cb0
|
Add WidgetModel/WidgetEvent type aliases. Remove unneeded deriving Typeable declarations
|
2021-01-12 10:39:34 -03:00 |
|
Francisco Vallarino
|
64712dc96e
|
Provide wenv parameter to Composites handleEvent
|
2020-12-18 00:57:02 -03:00 |
|
Francisco Vallarino
|
5179671e8a
|
Remove createThemed. Use composite for alert and confirm. Fix issue on composite when visibility changed and merge was not required
|
2020-12-14 11:45:08 -03:00 |
|
Francisco Vallarino
|
f717827969
|
Add WidgetNode type. Replace usage of WidgetInstance with WidgetNode (in some cases, temporarily). Rename inst/Inst to node/Node
|
2020-12-05 16:47:19 -03:00 |
|
Francisco Vallarino
|
cd03e76e89
|
Move ui creation to Composites init. Use WidgetData instead of direct model value; rely on WidgetEnv
|
2020-11-29 21:57:14 -03:00 |
|
Francisco Vallarino
|
8d28b16e55
|
Create type alias to be used inside composite
|
2020-11-29 18:44:22 -03:00 |
|
Francisco Vallarino
|
98c7b5c68a
|
Return list of actions instead of Monoid in eventHandler
|
2020-10-22 00:28:46 -03:00 |
|
Francisco Vallarino
|
6dd083d7f2
|
Restrict area of focus changes. Improve dropdown communication with ListView
|
2020-10-21 21:37:39 -03:00 |
|
Francisco Vallarino
|
06884a981b
|
Rename Types.hs to WidgetTypes.hs
|
2020-10-05 17:10:08 -03:00 |
|
Francisco Vallarino
|
33b66b939e
|
Move Single, Container and Composite to Widgets package
|
2020-10-05 16:59:29 -03:00 |
|
Francisco Vallarino
|
3fe72d9b2d
|
Merge StyleCombinators and WidgetCombinators into single Combinators module
|
2020-10-05 16:45:42 -03:00 |
|
Francisco Vallarino
|
52ac6e9ad5
|
Merge Common+Widget. Move widgets from Widget.Widgets to Widgets
|
2020-10-05 15:24:54 -03:00 |
|
Francisco Vallarino
|
e26e463fd0
|
Make style functions receive a list instead of a single style. It looks clearer from the user side
|
2020-09-28 20:49:17 -03:00 |
|
Francisco Vallarino
|
a3d2d2e4fa
|
Use widget combinators in Button
|
2020-09-22 14:05:46 -03:00 |
|
Francisco Vallarino
|
bf99063025
|
Reorganize drawing code
|
2020-08-23 00:34:02 -03:00 |
|
Francisco Vallarino
|
d0fe3403dd
|
Make Style contain three different StyleStates
|
2020-08-14 00:33:34 -03:00 |
|
Francisco Vallarino
|
3d6b7e0361
|
Add Single type to make _subtyping_ more explicit. Rename CompositeWidget to Composite
|
2020-08-13 14:12:25 -03:00 |
|
Francisco Vallarino
|
4ab4b4596b
|
Temporal commit; pending major change on style usage
|
2020-08-12 01:44:20 -03:00 |
|
Francisco Vallarino
|
fe227771d3
|
Partial changes for StyleState
|
2020-08-10 21:08:50 -03:00 |
|
Francisco Vallarino
|
8e78a05fe6
|
Remove Sandbox widget
|
2020-08-05 14:58:50 -03:00 |
|
Francisco Vallarino
|
d629e87929
|
Rename instances of app and related to model. Some extra minor renames
|
2020-07-16 01:28:04 -03:00 |
|
Francisco Vallarino
|
43b53aef96
|
Standardize widget initialization
|
2020-07-13 19:38:51 -03:00 |
|
Francisco Vallarino
|
fc728f1ea2
|
Use Lens package instead of MicroLens. Main reason is needing ALens, but we were already relying on -platform and -ghc so it was not really lightweight
|
2020-07-08 00:08:35 -03:00 |
|
Francisco Vallarino
|
6dd696b82a
|
Remove unneeded properties
|
2020-06-29 19:50:05 -03:00 |
|
Francisco Vallarino
|
5ee45e3224
|
Refactor Style type
|
2020-06-29 18:43:49 -03:00 |
|
Francisco Vallarino
|
e66181d5e4
|
Rename EventResult to WidgetResult
|
2020-06-17 16:15:17 -03:00 |
|
Francisco Vallarino
|
c608235a33
|
Add support for sending messages to widgets in the same composite
|
2020-06-16 22:13:10 -03:00 |
|
Francisco Vallarino
|
f6dd2261e3
|
Implement global keys and improve merge process
|
2020-06-15 14:00:52 -03:00 |
|
Francisco Vallarino
|
6301dbf16c
|
Minor changes
|
2020-06-14 18:53:04 -03:00 |
|
Francisco Vallarino
|
05d1a31fdf
|
Add initialization event to CompositeWidget
|
2020-06-13 23:36:12 -03:00 |
|
Francisco Vallarino
|
377c34bf54
|
Temp commit for merge changes
|
2020-06-12 15:41:37 -03:00 |
|
Francisco Vallarino
|
24d89f627d
|
Simplify CompositeWidget signature
|
2020-06-09 21:49:09 -03:00 |
|
Francisco Vallarino
|
c3f80d8483
|
Simplify Widget/WidgetInstance type signature
|
2020-06-09 21:44:39 -03:00 |
|
Francisco Vallarino
|
e8ebafdf99
|
Add support for raising new events
|
2020-06-09 12:16:42 -03:00 |
|
Francisco Vallarino
|
8747a7f1fa
|
Add support for message producers
|
2020-06-09 01:05:58 -03:00 |
|
Francisco Vallarino
|
8c2bc7c7b6
|
Refactor composite example into separate file
|
2020-06-05 16:53:11 -03:00 |
|