Commit graph

183 commits

Author SHA1 Message Date
ansuz
269eba3c47 remove commit button if a user is removed 2016-08-18 18:31:01 +02:00
ansuz
f8f66800d1 display a 'commit' button which locks your column 2016-08-18 17:54:17 +02:00
ansuz
85540bad12 leave all columns locked unless you've visited before 2016-08-18 16:13:03 +02:00
ansuz
d679cac666 fewer log statements for the console 2016-08-18 15:27:55 +02:00
ansuz
235c0482f9 increase clickable area around editable columns' checkboxes 2016-08-18 13:25:21 +02:00
ansuz
c76aaac542 don't make columns with empty names 2016-08-18 12:41:49 +02:00
ansuz
d85684ef74 usability improvements
only one column is editable at a time
editable columns have a different appearance from locked columns
any column can be edited by anyone via an edit button
columns and rows require confirmation before deletion
2016-08-18 12:06:13 +02:00
ansuz
76bfb6ab35 detect whether you are new to a page
prompt for your name and create a column for your username
prompt before deleting columns as well
style a few elements differently
2016-08-17 18:38:27 +02:00
ansuz
e2b162bf6d snapshot some dead code 2016-08-17 15:29:04 +02:00
ansuz
fd0a7337a3 wait a full minute until requirejs times out 2016-08-04 12:44:27 +02:00
ansuz
01d9923e15 export Cryptpad at window level 2016-08-02 18:55:45 +02:00
ansuz
600f3151e9 don't use the store until it's ready to be used 2016-08-02 12:11:40 +02:00
ansuz
1f24d7126c big ugly commit that will be really hard to audit
This changeset applies new styles to the poll.

it also uses the new asynchronous wrappers around the localStorage api.
this is necessary because we're migrating to a storage system that will
use an async api.

The changes to the poll just happened to coincide with the async stuff.

My apologies to anyone who wants to read this whole thing
2016-07-28 17:44:40 +02:00
ansuz
c09166efe2 scroll down when adding a new option to the table 2016-07-25 15:42:46 +02:00
ansuz
68f8d0101d fix flash of unstyled content 2016-07-25 15:28:27 +02:00
ansuz
8ea6c03094 notify user on disconnect
also disable inputs
2016-07-25 11:57:06 +02:00
ansuz
2351d8a23e make tests green again 2016-07-22 16:00:33 +02:00
ansuz
068a3f5944 remove rows from the poll 2016-07-22 15:42:41 +02:00
ansuz
2f2ab4392c clear the table on user clicks 2016-07-20 12:23:41 +02:00
ansuz
64f030c344 add a clear table button 2016-07-20 12:23:08 +02:00
ansuz
d2c5cfe646 add col/row ids to arrays 2016-07-20 12:22:49 +02:00
ansuz
f77e2cec34 set text values of new options 2016-07-19 17:27:40 +02:00
ansuz
52ab5147c9 add a missing semicolon so tests don't fail 2016-07-19 16:23:39 +02:00
ansuz
e3f4df7e0a push my latest changes because I'm agile 2016-07-19 16:22:44 +02:00
ansuz
cde239c97a implement row/column removal 2016-07-18 20:57:53 +02:00
ansuz
9860b7427a addition signs are slightly informative 2016-07-18 20:57:35 +02:00
ansuz
ac50bf7286 height and width of the table are unreliable because of multiple users. remove them 2016-07-18 19:49:43 +02:00
ansuz
a3254a2619 consistent ordering of columns and rows 2016-07-18 19:49:12 +02:00
ansuz
d30eddf2f2 ui hint for 'adduser' and 'addoption' 2016-07-18 19:48:24 +02:00
ansuz
ebf5c27453 add rename and forget buttons to poll app 2016-07-16 12:37:17 +02:00
ansuz
f7a1332317 add a 'back' button 2016-07-15 19:09:35 +02:00
ansuz
7dd1624206 commit polls to localStorage 2016-07-15 18:47:07 +02:00
ansuz
0cf5f3cc87 realtime polls! 2016-07-15 16:46:50 +02:00