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

465 Commits

Author SHA1 Message Date
Artyom
101158eeee Minor 2016-03-10 21:46:38 +03:00
Artyom
eea945f7ee Have “edit/hide notes” at the bottom as well 2016-03-10 11:23:57 +03:00
Artyom
9cbfc749c2 Minor 2016-03-10 00:28:24 +03:00
Artyom
8e6b12fbcb Make pro/con editing textareas wider 2016-03-09 22:27:52 +03:00
Artyom
cb9735d27b Add Piwik tracking 2016-03-09 02:24:02 +03:00
Artyom
7cb1c6351d Remove emptyState 2016-03-08 16:55:40 +03:00
Artyom
03311f0abd Use # instead of javascript:void(0) for buttons
It's faster in Firefox
2016-03-08 16:51:51 +03:00
Artyom
626c01b703 Rendering change: traits, and no Editable now 2016-03-08 16:43:04 +03:00
Artyom
a65a3efb5a Rendering change: item notes 2016-03-08 13:32:56 +03:00
Artyom
febfc1137d Rendering change: item info 2016-03-08 01:43:33 +03:00
Artyom
51d217dc9e Rendering change: category titles 2016-03-07 23:12:30 +03:00
Artyom
e5b386787c Rendering change: category notes 2016-03-07 23:07:14 +03:00
Artyom
54ccb40b7e Show/hide help without querying the server 2016-03-07 22:20:32 +03:00
Artyom
cf8763923e Add a “show/hide notes” button 2016-03-05 01:34:49 +03:00
Artyom
b01a9ac542 Add a note about disabled Javascript 2016-03-05 01:18:54 +03:00
Artyom
6126d1e426 Add item notes 2016-03-05 00:40:51 +03:00
Artyom
c5cdcbaebf License content under CC BY-SA 3.0 2016-03-04 23:20:17 +03:00
Artyom
549b5fd704 Add a footer and a donations page 2016-03-04 23:16:08 +03:00
Artyom
c5579353be Move help into a separate file 2016-03-04 20:24:32 +03:00
Artyom
22524060e1 Minor 2016-03-04 19:52:21 +03:00
Artyom
06a3344cf1 Create the checkpoint right before closing DB 2016-03-04 19:42:48 +03:00
Artyom
b8fe27c612 Minor 2016-03-04 19:18:19 +03:00
Artyom
0bbde9c689 Make textareas fullwidth 2016-03-04 19:07:26 +03:00
Artyom
aa0e0286a9 Use textarea instead of input for “addPro/Con” 2016-03-04 19:03:31 +03:00
Artyom
f8dab71443 Don't let the Enter pass thru in onEnter 2016-03-04 19:02:47 +03:00
Artyom
40142da2a5 Add CSS for blocks of code 2016-03-04 18:51:00 +03:00
Artyom
c5cb273556 Add functions for constructing jQuery selectors 2016-03-04 18:38:39 +03:00
Artyom
5e1f5bf5e7 Close acid-state db upon exit or Ctrl-C 2016-03-04 18:22:29 +03:00
Artyom
597bbe1779 Make changes permanent with acid-state 2016-03-04 18:19:11 +03:00
Artyom
a0308d093c Serve Javascript as a pseudo-file 2016-03-04 15:05:03 +03:00
Artyom
aaf8af5de5 Move trait editing icons on a new line 2016-03-04 14:38:41 +03:00
Artyom
ddcbc2bd16 Use a textarea for pros/cons 2016-03-04 14:27:14 +03:00
Artyom
16021a3d26 Delete the group when the item is deleted 2016-03-04 13:42:55 +03:00
Artyom
9cf876acf1 Make Uid a Text newtype 2016-03-04 13:33:51 +03:00
Artyom
bcb2d2dc66 Add groups 2016-03-04 12:42:48 +03:00
Artyom
6e5f9ad620 Remove “:”s from edit form labels 2016-02-26 22:24:23 +03:00
Artyom
5e7c92e0a7 Add move/delete item 2016-02-26 20:45:28 +03:00
Artyom
03e5e9a733 Add show/hide for help 2016-02-26 16:08:57 +03:00
Artyom
36c8ac3705 More TODOs 2016-02-26 14:07:03 +03:00
Artyom
bd2a6ee11b Minor 2016-02-26 13:50:53 +03:00
Artyom
0f10762d8c Minor addition to rules 2016-02-26 13:48:15 +03:00
Artyom
aedc3b2594 Make sample content longer 2016-02-26 13:47:50 +03:00
Artyom
ed62f187eb Add TODOs 2016-02-26 01:49:08 +03:00
Artyom
e155c98f9e More styling 2016-02-26 01:31:24 +03:00
Artyom
b44f0274f8 Minor (edit some words) 2016-02-25 23:06:09 +03:00
Artyom
e8f357cd94 Use multiline input for category descriptions 2016-02-25 21:14:46 +03:00
Artyom
675078990c Change the way text buttons are styled 2016-02-25 18:46:22 +03:00
Artyom
3962755c9d Minor 2016-02-25 18:12:55 +03:00
Artyom
4211e3c4fc Put new categories at the beginning of the list 2016-02-25 17:49:17 +03:00
Artyom
253150c213 Make new items editable by default 2016-02-25 17:39:41 +03:00
Artyom
501efae542 Various small improvements (CSS, etc) 2016-02-25 17:26:30 +03:00
Artyom
0d1bf6b53a Use slightly more flexible input handlers
Now we can decide to clear input in all cases but not clear input when
doing searching.
2016-02-25 15:57:50 +03:00
Artyom
059718e9b3 Add search 2016-02-25 15:40:07 +03:00
Artyom
75067a7748 Add deletion confirmation 2016-02-24 21:08:45 +03:00
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
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
Artyom
0d51bb67d4 Add category heading editing 2016-02-17 19:43:35 +03:00
Artyom
eb89d3230d The ability to add pros and cons 2016-02-14 15:19:36 +03:00
Artyom
1ea52350e5 Minor 2016-02-14 14:23:01 +03:00
Artyom
3e82ff2ea3 Add some space between pros/cons 2016-02-14 14:20:19 +03:00
Artyom
ace79738f5 Add a sample state 2016-02-14 14:10:54 +03:00
Artyom
274ebf1bcf Too lazy to write the commit message 2016-02-14 14:03:56 +03:00
Artyom
126e91c38e Make -added things- libraries, create links 2016-02-02 21:09:56 +03:00
Artyom
59128a9bca Replace buttons with inputs 2016-02-02 20:14:02 +03:00
Artyom
36b75e8da3 Render new categories on the server side 2016-02-02 19:42:39 +03:00
Artyom
51bc877d8f Another simple application with a bunch of lists 2016-02-02 19:29:23 +03:00
Artyom
2cc514a85f Very simple form persisting application 2016-02-02 15:13:53 +03:00
Artyom
cab27e77ab Create the project 2016-02-02 12:36:07 +03:00