Commit graph

373 commits

Author SHA1 Message Date
yflory
478e95e24c Fix forms charts UI 2021-09-01 18:25:14 +02:00
yflory
15de4c64fe Merge branch 'forms2' of github.com:xwiki-labs/cryptpad into forms2 2021-09-01 17:44:54 +02:00
yflory
ab79f32055 Fix forms issues 2021-09-01 17:44:40 +02:00
David Benqué
27a0a6a0ba Merge remote-tracking branch 'origin/forms2' into forms2 2021-09-01 16:42:33 +01:00
David Benqué
cfa4a2708d Truncate response chart option values + add full option as tooltip 2021-09-01 16:42:28 +01:00
yflory
15eeaa75f6 Add logo to the submit page 2021-09-01 17:32:55 +02:00
yflory
e0b49c7b71 Merge branch 'forms2' of github.com:xwiki-labs/cryptpad into forms2 2021-09-01 17:26:18 +02:00
yflory
bcd4d88f81 Fix reordering questions in forms 2021-09-01 17:26:07 +02:00
yflory
a9f131f051 Fix reordering questions in forms 2021-09-01 17:25:16 +02:00
David Benqué
258ccd4e60 Use default button for Responses/Editor 2021-09-01 16:19:43 +01:00
David Benqué
7f244d532f Style required question submit error 2021-09-01 16:11:50 +01:00
yflory
a6794c5cee Improve condition selector in forms 2021-09-01 17:10:50 +02:00
yflory
ef0e1c8eaf Merge branch 'forms2' into condition 2021-09-01 16:53:11 +02:00
yflory
415ee6018b Add number of form responses in the button 2021-09-01 16:53:00 +02:00
yflory
c43d7e319b Merge branch 'forms2' of github.com:xwiki-labs/cryptpad into forms2 2021-09-01 16:25:41 +02:00
yflory
d2b24e666d Forms V2 fixes 2021-09-01 16:25:32 +02:00
David Benqué
a79a9bdd63 Add shadows to question blocks
- increase contrast of light theme
- prepares upcoming color themes
2021-09-01 15:15:18 +01:00
David Benqué
e2adf44a1f Responsive form settings layout 2021-09-01 14:37:02 +01:00
yflory
0f04357a7c Merge branch 'forms2' into condition 2021-09-01 12:12:28 +02:00
yflory
669297db4c Fix UI issues when editing responses is blocked in forms 2021-09-01 12:12:14 +02:00
yflory
0ac34f1030 Fix UI issues when editing responses is blocked in forms 2021-09-01 12:11:52 +02:00
yflory
45d32f2294 Fix conditions based on the initial question 2021-09-01 11:36:47 +02:00
yflory
415552b042 Add colortheme settings in forms 2021-08-31 15:49:25 +02:00
yflory
96132d78f9 Update tag when changing the type of a question in forms 2021-08-31 10:47:56 +02:00
yflory
a59047364c Update XXX in forms 2021-08-31 10:43:17 +02:00
yflory
28db6956dd Improve collaborative edition of forms 2021-08-30 11:45:45 +02:00
yflory
c3d2bd038f Merge branch 'forms2' of github.com:xwiki-labs/cryptpad into forms2 2021-08-27 19:14:02 +02:00
yflory
324e41b866 Fix flickering when redrawing form 2021-08-27 15:31:34 +02:00
David Benqué
b6575e0f38 Merge branch 'forms2' of github.com:xwiki-labs/cryptpad into forms2 2021-08-26 15:06:59 +01:00
David Benqué
ee878ca830 Change settings order and test microcopy 2021-08-26 15:06:41 +01:00
yflory
7a1bc5bc40 Improve keyboard shortcuts in form edition 2021-08-26 16:03:33 +02:00
David Benqué
1b947a7710 Merge branch 'forms2' of github.com:xwiki-labs/cryptpad into forms2 2021-08-26 14:44:16 +01:00
David Benqué
f97ca8e4cd Test new names for form editor settings 2021-08-26 14:44:10 +01:00
yflory
2655a99b80 Allow guest answers by default in forms 2021-08-26 15:43:16 +02:00
yflory
54a9a761f9 Merge branch 'forms2' of github.com:xwiki-labs/cryptpad into forms2 2021-08-26 15:41:21 +02:00
yflory
0623467f24 Merge branch 'autosave' of github.com:xwiki-labs/cryptpad into autosave 2021-08-26 15:40:54 +02:00
yflory
9f5cf8daf6 Fix cursor issues in forms realtime edition 2021-08-26 15:40:40 +02:00
David Benqué
663e7fbf1d Adjust "response message" button and dialog 2021-08-26 14:24:09 +01:00
David Benqué
ae95f06bdb Style tweaks for question edit and preview 2021-08-26 14:11:40 +01:00
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