1
1
mirror of https://github.com/aelve/guide.git synced 2024-12-24 13:26:08 +03:00
Commit Graph

63 Commits

Author SHA1 Message Date
Artyom
85a09e4a22 Use correct mode names for renderItemInfo 2016-02-24 19:43:37 +03:00
Artyom
86daa422af Minor 2016-02-24 19:35:24 +03:00
Artyom
171b03dad4 Break into modules 2016-02-24 19:32:25 +03:00
Artyom
29c84cfc0b Rename descriptions to notes 2016-02-22 21:57:40 +03:00
Artyom
1e2f13df01 Add help text 2016-02-21 16:54:10 +03:00
Artyom
49ac371d85 Render traits and descriptions as Markdown 2016-02-21 15:51:42 +03:00
Artyom
01558b86b0 Add an “on Hackage” checkbox to the item edit form 2016-02-21 15:07:40 +03:00
Artyom
4cecaeeabe Break methods into separate procedures 2016-02-21 14:43:08 +03:00
Artyom
41a5b0986d Allow deleting traits 2016-02-21 14:37:17 +03:00
Artyom
344b61ddec Make JS a newtype 2016-02-21 14:37:17 +03:00
Artyom
185bb725ae Nicer looking links 2016-02-21 14:37:17 +03:00
Artyom
55b07d8bf3 Minor 2016-02-21 14:37:17 +03:00
Artyom
183de20fec Don't duplicate JS function names 2016-02-21 14:37:17 +03:00
Artyom
78c66f4fe7 Add buttons to move traits up and down 2016-02-21 14:37:17 +03:00
Artyom
9ab9e947ef Minor 2016-02-20 22:40:29 +03:00
Artyom
f7cc7b0f8a Minor 2016-02-20 18:31:26 +03:00
Artyom
fc9c6e0e6e Add an editing form for item info 2016-02-20 18:28:55 +03:00
Artyom
dd47e83637 Rename pros/cons to traits 2016-02-20 16:12:45 +03:00
Artyom
88ad776ae4 Split items into info and pros/cons 2016-02-20 16:03:08 +03:00
Artyom
c515bd6a53 Add anchor links 2016-02-20 15:47:24 +03:00
Artyom
0d3000ebde Don't assign ids to divs, they're useless now 2016-02-20 15:38:29 +03:00
Artyom
02eab2f5f5 Minor 2016-02-20 15:34:29 +03:00
Artyom
13413c1489 Fix 2016-02-20 15:24:22 +03:00
Artyom
305b3b6d52 Combine more methods 2016-02-20 15:22:16 +03:00
Artyom
b3013dae6f Combine (enable|disable)ItemEdit, use JSParams 2016-02-20 15:16:10 +03:00
Artyom
1b69540f5e Handle Hackage/extra links differently 2016-02-20 15:02:59 +03:00
Artyom
2a13b7b680 Minor 2016-02-20 14:41:32 +03:00
Artyom
453f247359 S → GlobalState 2016-02-20 14:36:48 +03:00
Artyom
3d52f5f358 Change paths again 2016-02-20 14:18:51 +03:00
Artyom
8e2c9cddf1 Minor 2016-02-20 13:50:46 +03:00
Artyom
7cdf015afc Don't use js_this_value 2016-02-20 13:39:16 +03:00
Artyom
6e6ff6d9cf Add category descriptions 2016-02-20 13:39:02 +03:00
Artyom
329150449e Use Editable everywhere 2016-02-20 12:52:55 +03:00
Artyom
e4c0f8ecda Minor 2016-02-20 12:49:02 +03:00
Artyom
5a64c14b9d Use makeFields instead of makeLenses 2016-02-20 11:22:46 +03:00
Artyom
4846483188 Add 2 utility functions 2016-02-20 10:51:36 +03:00
Artyom
131cb476b0 Pros/cons → pro/con 2016-02-20 10:39:15 +03:00
Artyom
da3ad95ae0 Don't re-render whole item when a pro/con is added 2016-02-20 10:36:50 +03:00
Artyom
c372cc48ca Allow editing of pro/con text 2016-02-20 10:31:14 +03:00
Artyom
187ce0abe6 Add a JS type synonym 2016-02-20 02:30:04 +03:00
Artyom
62dca86948 “edit” buttons for items 2016-02-20 02:28:18 +03:00
Artyom
b7fcfca0e8 Never use explicit selectors 2016-02-20 01:51:33 +03:00
Artyom
ba6d22461d Use IO everywhere for random IDs; make IDs simpler
No more cat34525 and item45235, HTML 5 permits fully numeric IDs.
2016-02-20 01:28:49 +03:00
Artyom
0311d756e1 Use a better way to update DOM 2016-02-20 01:03:52 +03:00
Artyom
d421a1f3dd thisValue → this_value 2016-02-20 00:13:20 +03:00
Artyom
28cf201a06 Style text buttons differently 2016-02-20 00:09:49 +03:00
Artyom
c45d3bc18e Add comments and rename some functions 2016-02-19 22:38:07 +03:00
Artyom
34dbe3e640 Change method names 2016-02-19 22:27:27 +03:00
Artyom
c598160143 Move Javascript into Haskell 2016-02-19 22:12:23 +03:00
Artyom
0d21649f81 Use lenses instead of 0-or-1 traversals
If they fail, Spock will catch the errors anyway
2016-02-17 22:47:52 +03:00