Commit graph

384 commits

Author SHA1 Message Date
ansuz
e4d5431f29 display form answer timeline oldest => newest 2021-08-05 17:15:56 +05:30
aemi-dev
9910c97d5e Hackathon 2021 - Timeline - Minor Edits & Comments 2021-08-05 11:58:41 +02:00
ansuz
ded834b2c7 lint compliance 2021-08-05 11:53:35 +05:30
aemi-dev
085736e4b7 Hackathon 2021 - Timeline 2021-08-05 02:10:29 +02:00
aemi-dev
b365c411ea Hackathon 2021 - Timeline 2021-08-05 01:58:22 +02:00
ansuz
53ba25b5b0 more chart visualizations, brand colors 2021-08-04 20:27:45 +05:30
ansuz
73acfd9b42 start integrating some basic charts in form answers 2021-08-04 17:08:29 +05:30
ansuz
2d405b5a32 add more annotations indicating what type of chart should be used 2021-08-04 15:31:57 +05:30
ansuz
4800ac724e highlight some relevant sections of the form app 2021-08-04 13:51:02 +05:30
ansuz
93f73add9f the charts library should only be used in the inner scope 2021-08-04 13:50:38 +05:30
ansuz
b3a7d5c42c factor out some duplicated code for handling 24 dates 2021-07-28 15:19:05 +05:30
ansuz
f80aacc177 prevent incorrect removal of form submission buttons
...by guarding against overflow of a setTimeout delay
2021-07-28 15:17:25 +05:30
ansuz
a613b64b77 use brand link color for links in the form app 2021-07-28 03:43:36 +05:30
ansuz
95369ae87d Merge branch 'staging' of github.com:xwiki-labs/cryptpad into staging 2021-07-27 03:41:12 +05:30
ansuz
854a635c5f remove hardcoded translations and defer non-blocking issues till the next release 2021-07-27 03:40:03 +05:30
David Benqué
04a616f87d Add margin to individual response list
- prevents response title to be mixed up with first question
2021-07-26 15:38:21 +01:00
ansuz
a4b89fff84 Merge branch 'staging' of github.com:xwiki-labs/cryptpad into staging 2021-07-26 19:57:10 +05:30
David Benqué
4f5a041010 Style username in poll results table 2021-07-26 15:26:51 +01:00
ansuz
4e900b18cf use more specific 'export to CSV' translation in forms 2021-07-26 19:56:49 +05:30
David Benqué
24401f39e1 Merge remote-tracking branch 'origin/staging' into staging 2021-07-26 14:29:02 +01:00
David Benqué
e3150f1284 Add margin above anonymous name field 2021-07-26 14:28:55 +01:00
ansuz
987fb696ed downgrade urgency of unhandled form notes 2021-07-26 18:12:31 +05:30
ansuz
812d5f7146 disable form response message UI until it's been reviewed more 2021-07-26 18:11:45 +05:30
ansuz
7bc6ed17b9 update max choices input in forms
...when the maximum exceeds the number of choices
2021-07-26 14:57:28 +05:30
ansuz
99c11f032e tally form votes with an increment function 2021-07-26 14:53:04 +05:30
yflory
f5fc4f28bf Improve forms CSV export with polls 2021-07-23 17:51:56 +02:00
yflory
212b3d4884 Form fixes and improvements 2021-07-23 14:47:30 +02:00
ansuz
621941b933 comments about possible form improvements 2021-07-19 19:49:20 +05:30
yflory
d94f327756 Merge branch 'staging' of github.com:xwiki-labs/cryptpad into staging 2021-07-12 15:37:07 +02:00
yflory
0929b5db47 Form improvements 2021-07-12 15:36:55 +02:00
ansuz
ae77f1c6b9 Merge branch 'staging' of github.com:xwiki-labs/cryptpad into staging 2021-07-09 18:13:30 +05:30
ansuz
5b3dcde28c disable cache usage for form results 2021-07-09 16:43:17 +05:30
yflory
1b0a0fe14f Improve reset button in forms 2021-07-09 11:56:53 +02:00
yflory
1b081c52df lint compliance 2021-07-09 11:46:32 +02:00
yflory
ed28b5ec7b Randomize 'ordered list' initial state in forms 2021-07-09 11:45:48 +02:00
yflory
f46a820ad8 Don't sort 'sorted lists' in forms by default 2021-07-09 11:41:12 +02:00
ansuz
a398af1213 use existing translation until next release 2021-07-07 14:18:48 +05:30
ansuz
ccddcefc1d remove hardcoded translation 2021-07-07 14:16:43 +05:30
ansuz
fceab00a6b guard against type errors when exporting results as CSV
and label a hardcoded string
2021-07-07 13:06:07 +05:30
yflory
0560a9a403 Fix forms CSV export 2021-07-06 16:09:30 +02:00
David Benqué
ca1016ad3a Add spacing to Form results 2021-07-02 13:45:20 +01:00
ansuz
a77d0420cd Merge branch 'staging' of github.com:xwiki-labs/cryptpad into staging 2021-06-30 16:52:00 +05:30
ansuz
c9654a7892 remove XXX notes from forms and comment why they were there 2021-06-30 16:51:50 +05:30
yflory
c7ac75d137 Fix CSV export in forms 2021-06-30 12:47:02 +02:00
yflory
87d04ed68a Fix form CSV export 2021-06-30 12:36:24 +02:00
yflory
ec556ed261 Export forms 2021-06-24 15:59:38 +02:00
yflory
6f91272217 Add default form templates 2021-06-16 11:17:00 +02:00
yflory
8074a6191c Add 'Help' entry in the file menu for forms 2021-06-16 10:56:51 +02:00
ansuz
f601f27435 remove some XXX notes 2021-06-16 06:23:58 +05:30
ansuz
2b642835b9 Merge branch 'soon' into staging 2021-06-15 17:47:34 +05:30
yflory
2de7c61284 Fix drag after adding a question 2021-06-15 14:13:37 +02:00
ansuz
c3a6547e09 merge WIP changelog and stashed changes 2021-06-15 17:25:23 +05:30
David Benqué
eaa02bb8b8 Add spacing to buttons in question editor 2021-06-15 11:54:28 +01:00
yflory
61ac8b0512 Merge branch 'staging' of github.com:xwiki-labs/cryptpad into staging 2021-06-15 11:46:03 +02:00
yflory
8a07b66843 Add default content and default template to forms 2021-06-15 11:45:54 +02:00
yflory
1a288f5896 Submit invalid responses 2021-06-15 10:49:17 +02:00
David Benqué
825badea71 Fix spacing at the bottom of form pages 2021-06-14 15:21:36 +01:00
David Benqué
bba014af99 Swap update and reset buttons 2021-06-14 15:07:27 +01:00
David Benqué
dc091b81c7 Adjust list of individual responses 2021-06-14 14:16:47 +01:00
David Benqué
a577281724 Merge remote-tracking branch 'origin/staging' into staging 2021-06-14 14:06:54 +01:00
David Benqué
fa526d5618 Add spacing to form responses page 2021-06-14 14:06:48 +01:00
yflory
ea01c0c204 Merge branch 'staging' of github.com:xwiki-labs/cryptpad into staging 2021-06-14 15:00:13 +02:00
yflory
cc06942ebd Fix type error in forms 2021-06-14 15:00:01 +02:00
David Benqué
e2bd942a71 Add spacing under Poll hint 2021-06-14 13:26:11 +01:00
David Benqué
602bd28428 Remove temporary translation keys 2021-06-14 13:18:00 +01:00
yflory
c3c3a7aecb Disable form settings when disconnected 2021-06-14 14:13:33 +02:00
yflory
a435b1c12d Remove history and snapshots entries for participants 2021-06-14 14:06:36 +02:00
yflory
79cfce1f5a Share auditor link from drive 2021-06-14 14:00:09 +02:00
yflory
4d769ebaf5 Merge branch 'form' into staging 2021-06-14 12:30:50 +02:00
ansuz
0bc678b9dd Merge branch 'form' into staging 2021-06-14 16:00:29 +05:30
yflory
eba2255fe9 Handle disconnection in forms and disable offline mode 2021-06-14 12:30:22 +02:00
ansuz
886b798bc3 describe intended usage of poll options in forms 2021-06-14 15:59:15 +05:30
David Benqué
f3394212c3 Use new icons 2021-06-14 11:16:06 +01:00
yflory
e7a85d576b Fix block numbering in forms 2021-06-14 10:50:30 +02:00
yflory
369567d509 Fix onbeforeunload after submititng a form 2021-06-14 10:47:32 +02:00
ansuz
8c270cc301 Merge branch 'staging' of github.com:xwiki-labs/cryptpad into staging 2021-06-11 21:34:13 +05:30
ansuz
7c7d6d99a5 Merge remote-tracking branch 'origin/form' into staging 2021-06-11 21:33:59 +05:30
David Benqué
d70cece94d Small fixes to Add menu and markdown links 2021-06-11 17:03:07 +01:00
yflory
8c6e79be02 Fix scrollbar in forms 2021-06-11 17:53:52 +02:00
ansuz
e6280ac303 suppress 'undefined' tooltip by passing empty string 2021-06-11 20:48:50 +05:30
ansuz
9bdffa19d7 remove unused code 2021-06-11 17:09:28 +05:30
ansuz
09ca7fb6a2 lint compliance 2021-06-11 17:05:30 +05:30
ansuz
17d10e3637 add translation annotations 2021-06-11 17:03:53 +05:30
David Benqué
b557fc9b5b Fix Add menus for light theme 2021-06-11 12:05:23 +01:00
David Benqué
62a6e99c3e Style adjustments to "Add" menus 2021-06-11 11:13:25 +01:00
ansuz
0e386be968 Merge branch 'form' into staging 2021-06-11 14:18:07 +05:30
ansuz
62761c903c fix login and redirect links for forms without anonymous answers 2021-06-11 14:07:22 +05:30
David Benqué
d35a499fc7 Fix Submit UI
- anonymous checkbox alignment
- invalid red colors across light/dark themes
2021-06-10 17:15:15 +01:00
David Benqué
b92d56af01 Remove hard-coded translations for Forms 2021-06-10 16:16:17 +01:00
yflory
79b0460d80 Fix poll total column UI 2021-06-10 16:50:16 +02:00
yflory
c63e6a4f32 Info message when there are no responses 2021-06-10 13:31:39 +02:00
yflory
c4f7f9d55e Make results selactable 2021-06-10 13:28:29 +02:00
yflory
0dd8c7d255 Remove chat and userlist when answering a form 2021-06-10 13:26:09 +02:00
yflory
bf8903c517 Merge branch 'form' of github.com:xwiki-labs/cryptpad into form 2021-06-10 13:07:14 +02:00
yflory
10db351add Update total in form polls when the user is answering 2021-06-10 13:03:22 +02:00
David Benqué
248408ad25 Merge remote-tracking branch 'origin/form' into form 2021-06-10 11:39:28 +01:00
David Benqué
22e1eaed24 Remove testing code 2021-06-10 11:39:24 +01:00
yflory
bb232776b3 Add warning message when invalid answers in the form 2021-06-10 12:26:44 +02:00
David Benqué
3ca739c8ae Merge branch 'form' of github.com:xwiki-labs/cryptpad into form 2021-06-09 16:05:06 +01:00
David Benqué
78722307ec Change temporary translation key 2021-06-09 16:04:58 +01:00
yflory
d77b9c4ffd Form sorted list hint 2021-06-09 17:03:22 +02:00
David Benqué
bf3804afdf Add temporary translation keys 2021-06-09 15:54:45 +01:00
David Benqué
4dfe8ac0d0 Add hover style and hint to ordered list questions 2021-06-09 15:47:01 +01:00
David Benqué
c6b867f93f Change order of question types 2021-06-09 14:58:52 +01:00
David Benqué
38253386ba Merge remote-tracking branch 'origin/form' into form 2021-06-09 14:54:00 +01:00
David Benqué
5b2445789e Fix style of text paragraph answers on results page 2021-06-09 14:53:53 +01:00
yflory
13db08f728 Fix type error in forms 2021-06-09 15:19:26 +02:00
yflory
f8ca1389f3 Add poll total row 2021-06-08 18:18:36 +02:00
David Benqué
1a60ff01d0 Improve Poll UI 2021-06-08 15:56:40 +01:00
David Benqué
c723244db1 Merge remote-tracking branch 'origin/form' into form 2021-06-08 15:52:12 +01:00
yflory
ec84377d2e Fix previous commit 2021-06-08 16:51:44 +02:00
David Benqué
a1a1996077 Merge remote-tracking branch 'origin/form' into form 2021-06-08 15:49:39 +01:00
David Benqué
733c788c34 Merge remote-tracking branch 'origin/form' into form 2021-06-08 15:47:57 +01:00
yflory
fc38d8fef8 Fix form polls UI with lots of answers 2021-06-08 16:47:21 +02:00
yflory
360204df30 Fix character count when restoring form data 2021-06-08 15:42:20 +02:00
yflory
b022fe573a Fix character count in form textareas 2021-06-08 15:18:12 +02:00
David Benqué
1b4ce70113 Merge remote-tracking branch 'origin/form' into form 2021-06-08 13:45:30 +01:00
yflory
4f01d8fa31 Update inline calendar style (box-shadow) 2021-06-08 14:44:15 +02:00
David Benqué
bf116a100b Merge remote-tracking branch 'origin/form' into form 2021-06-08 13:37:48 +01:00
yflory
61db887785 Add an empty value in polls 'time' type 2021-06-08 14:35:27 +02:00
David Benqué
5b55df1705 Merge remote-tracking branch 'origin/form' into form 2021-06-08 13:10:16 +01:00
yflory
63cf7f133c Fix mediatag width in polls 2021-06-08 14:08:52 +02:00
yflory
e61fdaf2cd Fix switching from time to day in form polls 2021-06-08 14:06:15 +02:00
David Benqué
314a053cbc Merge remote-tracking branch 'origin/form' into form 2021-06-07 17:37:25 +01:00
David Benqué
7f39114a3f Poll styles 2021-06-07 17:34:48 +01:00
yflory
6b85a0bcc8 Fix first and last pages in forms 2021-06-07 18:10:58 +02:00
yflory
cb1d4c1a0d Fix poll UI in forms 2021-06-07 17:45:41 +02:00
yflory
b78b221e32 Add characters count and limit to textarea questions 2021-06-07 17:00:19 +02:00
yflory
14cebd32bb Fix syntax highlighting in form descriptions 2021-06-07 16:46:33 +02:00
David Benqué
e6dfdb8b56 Adjust spacing 2021-06-07 12:38:53 +01:00
David Benqué
1a1ed33db4 Add spacing to block edit UI 2021-06-07 11:06:22 +01:00
yflory
aaff13795e Fix forms UI issues 2021-06-04 17:17:12 +02:00
yflory
3c62dc2dcc Merge branch 'form' of github.com:xwiki-labs/cryptpad into form 2021-06-04 16:22:01 +02:00
yflory
8eb5c3e6db Add sorted list, textarea and typed input 2021-06-04 16:21:54 +02:00
David Benqué
1cd9808f44 Layout of full add menu 2021-06-04 14:38:45 +01:00
David Benqué
97eea3a7f0 Layout of inline add menu
- one one line and left aligned
- using large cptools icons
2021-06-04 13:14:11 +01:00
David Benqué
5c03f869af Use new icons 2021-06-04 10:14:13 +01:00
yflory
04b35c05ad Fix XXX 2021-06-04 10:49:08 +02:00
yflory
926edc7e5e Add onbeforeunload to prevent data loss 2021-06-03 18:31:50 +02:00
yflory
1b56f26809 Add a file upload button to the markdown toolbar (optional) 2021-06-03 18:02:56 +02:00
yflory
a0cd1d7195 Insert image in description blocks 2021-06-03 17:44:59 +02:00
yflory
562bcf64e2 Update form UI 2021-06-03 17:29:03 +02:00
yflory
9d2b60a044 Update form creator UI 2021-06-02 18:50:36 +02:00
yflory
4cc84b8c80 Fix forms issues and allow answers in no drive mode 2021-06-02 16:49:18 +02:00
yflory
88f834fbb7 Answer anonymously by default 2021-06-02 15:40:07 +02:00
yflory
a522720a59 Show individual answers 2021-06-02 15:37:16 +02:00
yflory
cb6efc0425 Claim previous anonymous answer 2021-06-01 18:37:29 +02:00
yflory
3b85d16cd8 Add page break 2021-06-01 17:45:04 +02:00
yflory
21c47f5e57 Realtime part of the description block in forms 2021-06-01 14:20:20 +02:00
yflory
ce6879fd68 Fix date parsing in firefox 2021-06-01 13:54:04 +02:00
yflory
6021b15213 Add description block to forms 2021-05-31 18:23:25 +02:00
yflory
fc8ce9cb0e Allow anonymous answers 2021-05-31 17:19:14 +02:00
yflory
833bcc93cc Sort options and items in form editor 2021-05-31 15:32:04 +02:00
yflory
5d7ab79935 Improve form polls creation (time and day types) 2021-05-28 18:23:19 +02:00
yflory
8871f41bfe Improve rendering of form polls with time values 2021-05-28 16:58:22 +02:00
yflory
e68fccc863 Fix cursor in forms 2021-05-28 15:35:53 +02:00
yflory
ed5cc5158b Fix poll forms issues... 2021-05-28 14:23:02 +02:00
yflory
ee67035015 Fix poll forms issues 2021-05-28 14:22:06 +02:00
yflory
6694d9df03 lint compliance 2021-05-28 14:13:16 +02:00
yflory
a948237043 Add Poll block type 2021-05-28 14:04:24 +02:00
yflory
29dc1a5b3b Add more block types in form 2021-05-27 17:46:46 +02:00
yflory
4577a3baf0 Open and close a form 2021-05-26 17:02:34 +02:00
yflory
378cd38fbd Access and Properties modals for forms 2021-05-26 14:54:56 +02:00
yflory
9a1a1830fc Fix type error 2021-05-26 12:03:32 +02:00
yflory
4a1de32994 Dedicated form share modal and auditor role 2021-05-26 11:57:14 +02:00
yflory
6f64d62698 Realtime changes 2021-05-25 15:15:51 +02:00
yflory
5c402a00a3 Make results public and view results as participant 2021-05-25 13:51:03 +02:00
yflory
d06cba0b5e Sort and delete form questions 2021-05-21 17:40:41 +02:00
yflory
07c90b6a94 View responses 2021-05-21 13:39:33 +02:00
yflory
3b30cfcc55 Recover previous answers 2021-05-20 16:20:15 +02:00
yflory
3184ad419e Ability to submit form answers 2021-05-20 13:54:20 +02:00
yflory
10f52230a4 Form app prototype 2021-05-20 10:43:29 +02:00
ansuz
ba4df1a22c create examples directory with old prototypes 2016-12-30 13:22:15 +01:00
ansuz
849683d586 update to use new style crypto module 2016-06-21 15:17:09 +02:00
ansuz
beba78d7f8 update prototype dependencies 2016-06-06 12:14:07 +02:00
ansuz
5bb77bd50c add UI.add and UI.remove methods.
also use json-ot from bower
2016-06-03 16:24:41 +02:00
ansuz
d0b553d198 port Yann's multiple-select implementation to cryptpad 2016-05-31 12:27:28 +02:00
ansuz
774d349ec3 ignore hidden elements and submit buttons 2016-05-25 11:55:11 +02:00
ansuz
297d8c2d44 reformat code for jshint compliance 2016-05-20 13:39:40 +02:00
ansuz
baf523e9a5 add new functionality from xwiki development 2016-05-19 12:20:05 +02:00
ansuz
ad3c53c344 use textpatcher from bower for all pads 2016-05-13 17:32:56 +02:00
ansuz
3ea270acb9 fix cursors in form prototype 2016-05-13 16:41:36 +02:00
ansuz
c509c28c18 realtime form prototype, almost in good condition 2016-04-23 16:31:07 +02:00
ansuz
a527024a8c start on realtime form prototype 2016-04-21 15:51:04 +02:00