Commit Graph

20 Commits

Author SHA1 Message Date
Christian Rocha 141fc86ad0
Update wording in simple example 2020-10-15 20:51:28 -04:00
Christian Rocha 847787e46d
Convert remaining examples to Model interface-based structure 2020-10-15 19:48:42 -04:00
Christian Rocha 816428c135
Add comment for Init() in simple example 2020-10-15 16:19:13 -04:00
Christian Rocha 7af3e0e9de
Update simple example to use new Model interface-based structure 2020-10-15 16:08:42 -04:00
Christian Rocha 217c506a49
Add logging option in simple example 2020-06-16 22:32:06 -04:00
Christian Rocha e79ee747c9
Fix import in simple example 2020-05-27 14:47:31 -04:00
Christian Rocha 40332a36b3
Migrate components over to github.com/charmbracelet/bubbles 2020-05-25 20:10:15 -04:00
Christian Rocha 3b8b011b5a
Rename to Bubble Tea (with the import name tea) 2020-05-25 19:48:36 -04:00
Christian Rocha ade8203c21
Remove entire subscription model
It was a valiant effort, and the implementation was solid and
dependable, but at the end of the day we can achieve the same
functionality in a much simpler fashion with commands, especially
because Go is not held to the same restrictions as Elm.
2020-05-12 18:00:50 -04:00
Christian Rocha 82ddbb8e12
Move components over and update examples 2020-05-12 17:06:00 -04:00
Christian Rocha 4bf40fbe62
Rename project to Boba 2020-05-12 16:39:08 -04:00
Christian Rocha d503d5dbf6
Every sends the time at which the timer ticked 2020-05-05 14:26:06 -04:00
Christian Rocha ac67237eab
Add 'Every' subscription for ticking with the system clock 2020-05-05 13:38:46 -04:00
Christian Rocha b50ee76165
Subs shouldn't take a model as an argument
This also nullifies the need for SubMap
2020-05-04 18:52:44 -04:00
Christian Rocha 651b881a02
Update examples to use new subscription model 2020-01-25 21:28:16 -05:00
Christian Rocha 6a0489592f
Programs should take an init type/function as the first argument
This is in line with the way Elm works. Also update examples.
2020-01-18 22:22:04 -05:00
Christian Rocha 068c7291fb
Document simple example to hopefully explain how things work 2020-01-18 11:44:28 -05:00
Christian Rocha 768462afb3
Update tea imports in examples 2020-01-18 11:15:55 -05:00
Christian Rocha c1b4d6a515
Remove an extraneous argument and auto-add a trailing newline to views 2020-01-16 14:47:44 -05:00
Christian Rocha c15b863c39
Add simple, minimal example 2020-01-15 16:44:11 -05:00