Commit graph

384 commits

Author SHA1 Message Date
yflory
fe9d17cd17 Hide 'required' radio in preview mode 2021-08-26 14:57:18 +02:00
yflory
ccc5e92659 Keep 'required' radio in form edit mode 2021-08-26 14:47:46 +02:00
yflory
9d195ed7be Autosave in forms 2021-08-26 14:35:22 +02:00
yflory
ad50be0308 Improve focus and shortcuts when editing form options 2021-08-26 11:44:06 +02:00
yflory
8f1e8f8934 Move response message in forms 2021-08-26 11:36:53 +02:00
yflory
20e9b2ca87 Make the form readonly when unregistered users can't send responses 2021-08-26 11:25:51 +02:00
yflory
20b0b4b9b2 Fix type error in forms 2021-08-26 11:21:00 +02:00
yflory
69e10df9e0 Form condition based on checkbox question 2021-08-26 11:19:32 +02:00
yflory
9304d7bb2a Ignore required questions in hidden sections 2021-08-26 10:54:26 +02:00
David Benqué
59b407c913 Fix logo and alert in participant view 2021-08-25 17:40:45 +01:00
yflory
fe03da5bdd Conditional answers prototype 2021-08-25 17:32:10 +02:00
David Benqué
1605a841e1 Show required setting on one line 2021-08-25 15:52:54 +01:00
yflory
d5b1f7b194 Warning message when changing question type 2021-08-24 13:50:17 +02:00
yflory
d14dcca1c5 Display question type in form creator 2021-08-24 13:41:03 +02:00
yflory
83a1a2a337 Improve Poll template for forms 2021-08-24 13:24:06 +02:00
yflory
26a25e012c Merge branch 'forms2' of github.com:xwiki-labs/cryptpad into forms2 2021-08-24 11:23:41 +02:00
yflory
e7eb79c4bc More privacy settings for forms 2021-08-24 11:23:15 +02:00
David Benqué
48217f6724 Merge remote-tracking branch 'origin/forms2' into forms2 2021-08-23 18:45:40 +01:00
yflory
5a8104e793 lint compliance 2021-08-23 18:16:53 +02:00
yflory
4e013520c5 Fix forms issues 2021-08-23 18:14:26 +02:00
yflory
7db03efdc5 Fix type errors when changing question type in forms 2021-08-23 18:08:32 +02:00
David Benqué
f019cf51de Merge remote-tracking branch 'origin/forms2' into forms2 2021-08-23 16:57:56 +01:00
David Benqué
e33179df87 Style and align form editor buttons for preview and link 2021-08-23 16:57:49 +01:00
yflory
228a44e36c Fix form question disappearing 2021-08-23 14:56:45 +02:00
yflory
ead5ad217c Use placeholders when editing form questions 2021-08-23 14:53:24 +02:00
yflory
9af99c1b8a Fix tabindex issues in forms 2021-08-23 14:32:57 +02:00
yflory
0c4405d43f Fix textarea issues in forms 2021-08-23 11:55:34 +02:00
yflory
583060d130 Required questions 2021-08-20 17:41:38 +02:00
yflory
5d04cd0f4f Forms code improvements 2021-08-20 14:56:28 +02:00
yflory
2df0f6df9b Disable answer edition in forms 2021-08-20 14:45:05 +02:00
yflory
925872679a New page when form responses have been submitted 2021-08-20 13:22:06 +02:00
yflory
7bbe9059a1 Tell users when a form has already been submitted 2021-08-19 15:23:49 +02:00
yflory
f537d8f658 Improve form editor UX 2021-08-19 14:44:14 +02:00
ansuz
e414524eab refactor form results display
* improve table component reusability for the rest of the platform
* display count of empty results at the top of each section
* remove unused styles
* fix incorrect methods for counting empty answers for multi-checkbox questions
2021-08-19 16:28:26 +05:30
yflory
aa84b625c7 Improve forms participant view 2021-08-19 12:56:44 +02:00
ansuz
cf7593553b polish and re-enable form response messages 2021-08-18 14:46:56 +05:30
ansuz
8d5221e6e8 include bar graphs for multi* form answers 2021-08-18 09:56:48 +05:30
ansuz
8887d8fc1e remove dead code 2021-08-17 12:15:29 +05:30
ansuz
c1f9d11333 delay working on some flagged issues till next release 2021-08-16 18:32:34 +05:30
ansuz
3976bfae84 remove unnecessary notes 2021-08-16 18:24:57 +05:30
ansuz
cad514cc17 remove hacky experiments with charts.css
...and finalize forms changes
2021-08-16 17:24:37 +05:30
ansuz
b0539fe613 Merge branch 'staging' into hackathon-2021 2021-08-13 17:55:24 +05:30
ansuz
11bcdbd7e3 hotfix for forms
avoid browser fights when multiple authors view a form
with a sortable list at the same time
2021-08-13 17:28:40 +05:30
ansuz
c1a19ea65c remove some invalid notes 2021-08-13 17:26:29 +05:30
ansuz
4810d6b5ba use custom styles for the form timeline, move away from charts.css 2021-08-13 12:20:26 +05:30
David Benqué
fc4178df7e Refactor form control buttons 2021-08-11 10:42:59 +01:00
ansuz
b5c051a27f label hardcoded form translations 2021-08-09 15:59:23 +05:30
ansuz
30c2bfbdfa more small tweaks 2021-08-09 15:47:27 +05:30
ansuz
d6886fb4c0 style and text fixes for form timeline 2021-08-09 15:37:31 +05:30
ansuz
900db1fcb0 disable usage of charts.css except for the timeline 2021-08-06 18:51:51 +05:30
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