Commit Graph

525 Commits

Author SHA1 Message Date
3ecddfc861 стабильное создание line резулта, родитель удаляемой ноды разблокирует свой резулт 2023-12-23 04:49:36 +03:00
5a67f584f6 Merge branch 'delete-modal' into dev 2023-12-23 00:14:48 +03:00
IlyaDoronin
78b9d66831 feat: DeleteNodeModal 2023-12-21 17:56:29 +03:00
161c837701 Merge branch 'dev' into image-video-selector 2023-12-21 15:09:22 +03:00
45f92709af Merge branch 'result-work' into theme-publication 2023-12-21 14:55:17 +03:00
c382f6b7ab примерно раскиданная логика резултов 2023-12-21 11:29:51 +03:00
ArtChaos189
494d750534 - create MediaSelectionAndDisplay 2023-12-20 23:25:58 +03:00
25bdf1ba87 Merge branch 'delete-modal' into image-modals 2023-12-20 21:38:28 +03:00
1d90754f1e merge цитоскейп компонента 2023-12-20 20:31:51 +03:00
9b1f271bdd Merge branch 'delete-modal' into image-modals 2023-12-20 17:56:06 +03:00
IlyaDoronin
2826a7b6f2 Merge branch 'delete-modal' of penahub.gitlab.yandexcloud.net:frontend/squiz into delete-modal 2023-12-20 17:18:03 +03:00
IlyaDoronin
283a73d8e4 feat: DeleteNodeModal 2023-12-20 17:18:01 +03:00
0940ff45cc Merge branch 'number-errors' into delete-modal 2023-12-20 16:24:23 +03:00
Tamara
0c04498dde сворачиваемость плашек анкеты 2023-12-20 16:19:27 +03:00
IlyaDoronin
ddc73f47a2 refactor: comments and imports 2023-12-20 15:34:07 +03:00
IlyaDoronin
7e6a5b774e fix: rendering error 2023-12-20 13:55:38 +03:00
IlyaDoronin
2e7c4d4de6 refactor: Cytoscape components 2023-12-20 13:46:38 +03:00
ArtChaos189
fa2dedeed6 - fix 2023-12-20 02:08:33 +03:00
60d196fcf5 если в публикации единственный вопрос - результат - не выводить публикацию 2023-12-19 23:51:13 +03:00
5f191a258d анкета не отваливается при создании результата и перехода на стр вопросов 2023-12-19 23:19:22 +03:00
0c36a76386 если тест не пройден - опросник приостанавливается и оповещает где нужно поправить 2023-12-19 22:55:59 +03:00
aba246b5e6 модалка информации о невозможности публикации 2023-12-19 18:00:51 +03:00
IlyaDoronin
6056d32fd8 fix: step 2023-12-19 16:40:46 +03:00
IlyaDoronin
223ec98bc4 feat: stepError logic 2023-12-19 16:15:42 +03:00
IlyaDoronin
d179e0ceca fix: min max value 2023-12-19 15:31:01 +03:00
IlyaDoronin
860c883037 feat: new SliderOptions logic 2023-12-19 14:23:09 +03:00
ece889116d удаление безтипового вопроса, ссылочка в нижнем баре 2023-12-18 19:38:46 +03:00
Tamara
52940e60a5 копирование ссылки на квиз в буфер, кнопки теста и старт стоп и мелкие правки по дизайну 2023-12-18 01:34:22 +03:00
5211ed78e6 fix: center on add node despite fit 2023-12-16 21:38:17 +03:00
c161559e14 Merge branch 'dev' into delete-modal 2023-12-16 19:17:41 +03:00
Tamara
e52528dbe0 модалка при удалении вопроса, учавствующего в ветвлении 2023-12-16 19:06:46 +03:00
ArtChaos189
d15ac8988e Merge branch 'dev' of penahub.gitlab.yandexcloud.net:frontend/squiz into dev 2023-12-16 15:17:10 +03:00
ArtChaos189
5fb444e7bc numbered the questions in the Questionnaire type 2023-12-16 15:17:07 +03:00
2bcc6c77bd UFCKING SHT IT WORKS BUT SHOULLDND 2023-12-16 14:58:05 +03:00
ArtChaos189
194c3aade5 update accept UploadImageModal 2023-12-16 13:03:23 +03:00
47808b382b если потомков 0 - делать резулт, кнопка выбора поля в ФК открывает правильную страницу 2023-12-16 08:04:51 +03:00
07ccef85cd fix: create results on removeNode logic - we should rewrite this as ASAP 2023-12-16 06:23:15 +03:00
f453bbab1b fix: create results on addNode logic - we should rewrite this as ASAP 2023-12-16 06:05:15 +03:00
Tamara
a2ccd7ae50 правки по мобилке в стартовой странице и вопросах 2023-12-16 03:31:40 +03:00
ArtChaos189
c81b673017 slider update max value 2023-12-15 23:05:16 +03:00
ArtChaos189
f0dafad472 chore: Restrict image uploads to JPG and PNG formats
Updated file input to accept only .jpg, .jpeg, and .png files in the UploadImageModal component.
2023-12-15 22:27:53 +03:00
df55d8a9d3 кнопки ветвления показывают вопросы у дерева 2023-12-14 20:58:56 +03:00
a5897a38b7 Merge branch 'some-fix' into view-answers-fixes 2023-12-14 20:10:10 +03:00
bec4b6fc4d private route, delete untyped questions, stop open empty modal node creator 2023-12-14 19:50:02 +03:00
IlyaDoronin
529b0336e6 fix: Upload File type "all" disabled 2023-12-14 17:18:12 +03:00
IlyaDoronin
9aec2d8e86 fix: branching modal 2023-12-14 16:56:26 +03:00
IlyaDoronin
da7bcc842a fix: icons 2023-12-14 16:36:00 +03:00
IlyaDoronin
5987a20843 Merge branch 'dev' of penahub.gitlab.yandexcloud.net:frontend/squiz into view-answers-fixes 2023-12-14 15:22:16 +03:00
IlyaDoronin
2684612675 feat: Select cancel vote 2023-12-14 15:07:19 +03:00
938fffa481 закомментированы настройки вопросов (фичи на будущее) 2023-12-14 13:37:45 +03:00
0c704d3723 вопросы и квизы запрашиваются 1 раз перед работой, стартовая страница публикации отображается по условию настройки 2023-12-14 12:41:25 +03:00
8b0c679b22 Merge branch 'dev' into fix 2023-12-14 02:35:28 +03:00
4d25b72a17 получение списка вопросов на странице редактирование. компонент плюса дерева очищает вопросы и рут квиза 2023-12-14 02:34:34 +03:00
Tamara
33ac8b03aa синхрон свичей логики ветвления+модалки входа-регистрации 2023-12-14 02:08:31 +03:00
23b8f58520 Merge branch 'dev' into fast-editing-bug 2023-12-14 00:01:18 +03:00
IlyaDoronin
939e2038cc fix: required setting 2023-12-13 21:19:12 +03:00
nflnkr
2f1262c9f4 fix imports 2023-12-13 13:55:57 +03:00
fb2aed7927 при создании узла ребенок не равен родителю 2023-12-13 13:53:59 +03:00
Tamara
fb176e0740 мелкие правки и исправление косяков 2023-12-13 12:34:52 +03:00
9fecf3eeb6 delete untyped question 2023-12-12 23:31:11 +03:00
32c2b03a4f Merge branch 'dev' into delete-timeout-fix 2023-12-12 23:16:26 +03:00
nflnkr
16eb2c7d6b fix delete with timeout & restore 2023-12-12 22:05:30 +03:00
nflnkr
60632625ba minor fix 2023-12-12 22:04:36 +03:00
203c8d5f93 fix: remove gear popper on root node 2023-12-12 19:12:26 +03:00
24e6084d48 Merge branch 'dev' into startpage-preview-fix 2023-12-12 19:02:26 +03:00
11200a38ca Merge branch 'result-page' into upload-file 2023-12-12 18:51:19 +03:00
f86405ff22 удаление line результа при создании дерева 2023-12-12 18:44:18 +03:00
nflnkr
dfe85edc67 fix order of created question 2023-12-12 17:47:47 +03:00
e2adbbb25e fix: mistake graph on scroll 2023-12-12 03:07:01 +03:00
6482598841 Merge branch 'view-fixes' into backend-integration 2023-12-11 19:12:31 +03:00
b54711e3ac Merge branch 'backend-integration' of penahub.gitlab.yandexcloud.net:frontend/squiz into backend-integration 2023-12-11 19:12:24 +03:00
965c0bc757 Merge branch 'dev' into startpage-preview-fix 2023-12-11 19:07:58 +03:00
efbc3384c5 удаление резултов при удалении и добавлении узов (ошибка при удалении корневого вопроса) 2023-12-11 18:40:42 +03:00
83e47636c9 Merge branch 'view-number-logic' into startpage-preview-fix 2023-12-11 15:17:28 +03:00
9fa9e426d7 логика работы с вопросами через поле children (ждёт удаления резулта при добавлении узла из листика в веточку) 2023-12-11 13:08:54 +03:00
IlyaDoronin
8e6f084fad fix: View Number component logic 2023-12-11 11:51:53 +03:00
f435f6793b fix: workaround for graph optimization 2023-12-10 04:01:56 +03:00
11f51faf3c кнопочка выравнивания графика без логики 2023-12-10 00:17:05 +03:00
578401dca6 Merge branch 'result-page' into backend-integration 2023-12-10 00:06:23 +03:00
4a38aa60bb карточки результатов привязаны к беку, рисуются столько - сколько листочков 2023-12-10 00:04:26 +03:00
4537164cf2 feat: fixed node pos 2023-12-09 23:55:25 +03:00
0ab2dd576c feat: memoization, and fit to added nodes 2023-12-09 23:49:08 +03:00
eec6f18650 fix: rewrite graph calculate to calculation on root 2023-12-09 22:31:06 +03:00
719402c2b1 хелпер не учитывает результ и безтиповые вопросы, CSкомпонент не получает результ и безтиповые вопросы 2023-12-09 17:52:03 +03:00
200687b031 -- 2023-12-09 16:27:31 +03:00
5ea76afceb Merge branch 'backend-integration' into view-logic 2023-12-09 14:38:39 +03:00
2a9ad65093 Merge branch 'dev' into backend-integration 2023-12-09 14:31:16 +03:00
99661697e7 Merge branch 'result-page' into dev 2023-12-09 13:58:50 +03:00
7aa846f52e страница результатов создаёт фротнтовые карточки результатов, имеет настройки квиза 2023-12-09 13:49:25 +03:00
Tamara
108857292d предпросмотр и публикация, цвет карандашика и заголовок квиза из стартовой страницы 2023-12-09 03:22:19 +03:00
nflnkr
6fb6b7dae3 save order of questions 2023-12-08 16:36:00 +03:00
IlyaDoronin
caafb87ae0 feat: View Number component logic 2023-12-08 14:53:41 +03:00
IlyaDoronin
5d3f19d952 feat: dev updates 2023-12-08 09:18:46 +03:00
c6c7479182 Merge branch 'dev' into result-page 2023-12-08 01:56:31 +03:00
Tamara
5a5845788b дизайн предпросмотра ипубликаций вопросов 2023-12-08 01:34:21 +03:00
83610dba8d -- 2023-12-08 00:30:26 +03:00
1eca4195c5 при удалении вопросов из списка и или дерева гарантируем, что default будет заполнен оставшимися потомками. очистим main от удаляемого потомка. сломанное дерево очистится 2023-12-07 03:03:43 +03:00
IlyaDoronin
82d43a3bea feat: View linear logic 2023-12-06 15:09:25 +03:00
IlyaDoronin
834f8bd556 feat: updates from dev 2023-12-06 11:59:52 +03:00
253361120e удаление вопроса из списка вопросов чистит rule потомков, кнопки с карандашиком, ветвление подсвечивает вопрос и ноду 2023-12-06 02:34:40 +03:00
Tamara
5ce160f14f плашка с переключателем с ветвления на вопросы на панели в мобилке 2023-12-06 01:59:15 +03:00
IlyaDoronin
0890d5a67c feat: Branching Data logic 2023-12-05 22:55:21 +03:00
7573f7a3e3 Merge branch 'button-and-style' into view-logic 2023-12-05 19:24:54 +03:00
Tamara
5678ce515d кнопки вверх и вниз для страницы вопросов 2023-12-05 18:49:42 +03:00
IlyaDoronin
bd36307e86 fix: View Date(WIP) 2023-12-05 16:46:31 +03:00
f07d7ab3e2 Merge branch 'dev' into backend-integration 2023-12-04 23:41:44 +03:00
6e1b7c080c дублирование и изменение типа вопроса работают корректно 2023-12-04 23:13:08 +03:00
12bb0e7bfe все модалки могут настраивать условия (кроме даты) 2023-12-04 20:15:30 +03:00
575fe9f080 Merge branch 'branching-button2' of penahub.gitlab.yandexcloud.net:frontend/squiz into branching-button2 2023-12-04 19:49:57 +03:00
c3d1353a9b при удалении корня все использованные вопросы сбрасывают rule 2023-12-04 19:33:50 +03:00
Tamara
14efd54369 переключение на графы и вывод модалки ветвления 2023-12-04 19:33:45 +03:00
Tamara
9ee2786956 функция переключения на графы по нажатию на кнопку ветвление(исправлено) 2023-12-04 18:41:40 +03:00
0cbaf6a77c -- 2023-12-04 18:40:15 +03:00
IlyaDoronin
23c1688d01 fix: questions multianswer logic 2023-12-04 16:36:30 +03:00
cc20575a78 -- 2023-12-04 16:33:43 +03:00
nflnkr
0e1f9aab23 fix dropzone & image modals 2023-12-04 14:57:54 +03:00
Tamara
be79f2fc21 функция переключения на графы по нажатию на кнопку ветвление 2023-12-04 14:44:08 +03:00
IlyaDoronin
e016862740 fix: conflicts 2023-12-04 12:32:45 +03:00
IlyaDoronin
b9d64bfcfc fix 2023-12-04 12:31:43 +03:00
cceafeb615 корректное удаление коневого узла, безошибочное первое открытие модалки ветвления 2023-12-04 12:30:14 +03:00
7029c86f19 Merge branch 'branching' of penahub.gitlab.yandexcloud.net:frontend/squiz into branching 2023-12-04 10:51:07 +03:00
25ce62509b -- 2023-12-04 10:50:55 +03:00
6d3865d4ec fix: when you try to grow ManOfGraph, when you add lust leg, both of them bursts 2023-12-04 00:54:44 +03:00
nflnkr
b6cd284972 rename missing type 2023-12-03 16:09:57 +03:00
525977609d Merge branch 'branching' of penahub.gitlab.yandexcloud.net:frontend/squiz into branching 2023-12-03 13:48:13 +03:00
e1b9ada5af публикация ветвится в вопросах - вариантах 2023-12-03 13:48:00 +03:00
8772699ed6 fix: icons weren't remove on children 2023-12-03 13:47:52 +03:00
ab4d99c3ba Merge branch 'branching' of penahub.gitlab.yandexcloud.net:frontend/squiz into branching 2023-12-03 05:17:49 +03:00
542159e5b1 отображение модалки ветвления 2023-12-03 05:16:53 +03:00
05b52e72a7 fix: NaN on add node 2023-12-03 03:47:43 +03:00
4623dfd2ee добавление ноды через меню выбора по клику по ноде 2023-12-03 00:20:41 +03:00
89f2140715 рекурсивное удаление элементов холста после удаляемой ноды 2023-12-02 23:47:28 +03:00
fb3c98f6bc fix: layout memoizing and fix ladder in straight line graph 2023-12-02 19:44:52 +03:00
b930dd8260 Merge branch 'branching' into view-integration 2023-12-02 19:23:40 +03:00
91bd0ffe14 Merge branch 'branching' into style2 2023-12-02 18:57:32 +03:00
81df59c6f6 Merge branch 'branching' into backend-integration 2023-12-02 18:13:02 +03:00
d0c015824d -- 2023-12-02 16:51:37 +03:00
a15e697f91 можно удалять корневой узел 2023-12-02 16:11:57 +03:00
e792c85771 fix tree layout 2023-12-02 14:52:33 +03:00
fcd0f92259 добавление и удаление нод 2023-12-02 12:59:31 +03:00
nflnkr
1c2f9c2d5e fix crop modal open state 2023-12-02 12:35:35 +03:00
Tamara
93232687af мелкие правки по дизайну 2023-12-01 23:45:35 +03:00
7dc083907f добавление иконок, модалка выбора вопроса по клику 2023-12-01 22:56:13 +03:00
nflnkr
52bf638baf implement image upload 2023-12-01 21:05:59 +03:00
IlyaDoronin
fe641fabae feat: Default questions 2023-12-01 17:33:55 +03:00
2b38c15e3e -- 2023-12-01 11:12:59 +03:00
9a880f5b90 отрисовка нод 2023-12-01 03:31:09 +03:00
IlyaDoronin
305b8707ce feat: view 2023-11-30 20:39:57 +03:00
8b252dc6bc менюшка для удаления, нумерация вопросов, селект в превью 2023-11-30 09:27:15 +03:00
a169dd0a49 Merge branch 'backend-integration' into branching 2023-11-29 18:55:03 +03:00
658da99220 панель бранчевания 2023-11-29 18:45:15 +03:00
nflnkr
960ee026bd fix form quiz question components 2023-11-29 18:33:54 +03:00
nflnkr
02d2b2a325 implement untyped question 2023-11-29 17:12:06 +03:00
nflnkr
f39ffb9c23 simplify question variant types 2023-11-28 22:16:00 +03:00
nflnkr
cbfa4a13d8 fix edit requests logic & refactor 2023-11-28 02:07:24 +03:00
nflnkr
0ba8472220 add quiz & question edit debounce + request queue 2023-11-23 22:07:57 +03:00
nflnkr
2b06bd750c fix question card remounting on every id change 2023-11-20 20:55:37 +03:00
nflnkr
83d314bf48 complete replace of old stores 2023-11-20 20:22:13 +03:00
nflnkr
bf8a41a3bc fix conflicts 2023-11-17 18:42:49 +03:00
nflnkr
f463270a9b WIP use new store & resolve type conflicts 2023-11-16 19:41:25 +03:00
nflnkr
2103fe8977 WIP use new store actions 2023-11-15 21:38:02 +03:00
nflnkr
dd46a3833f WIP 2023-11-14 23:15:52 +03:00
nflnkr
4631f6098a add emoji question preview test 2023-11-06 16:21:41 +03:00
nflnkr
629e0c37c6 add images and varimg preview tests 2023-11-04 20:04:24 +03:00
nflnkr
87760f3498 fix broken tests 2023-11-03 16:10:47 +03:00
cca074feb4 Merge branch 'quiz-fixes' into 'dev'
feat: quiz fixes

See merge request frontend/squiz!43
2023-11-01 13:51:23 +00:00
IlyaDoronin
c7a670baf2 fix: console errors 2023-10-31 14:29:15 +03:00
IlyaDoronin
71f749e892 fix: branching error 2023-10-31 12:59:41 +03:00
IlyaDoronin
128a33ef80 fix: little fixes 2023-10-30 19:46:02 +03:00
IlyaDoronin
9dfa464afd feat: QuizQuestionText onlyNumbers field 2023-10-30 13:46:55 +03:00
aefc939965 merge graph && quiz-preview-e2e-tests 2023-10-29 18:18:18 +03:00
nflnkr
cfe7858026 fix question background setting crop modal
add original image loading
2023-10-24 18:18:31 +03:00
nflnkr
fe616ecf3a add image crop modal to page question settings 2023-10-24 16:02:09 +03:00
nflnkr
66b39f63de refactor & fix crop modal consumers 2023-10-23 18:48:27 +03:00
nflnkr
45dddd888d refactor crop modal & add original image restore 2023-10-21 16:16:57 +03:00
nflnkr
00a250c676 refactor question edit image button 2023-10-19 13:34:48 +03:00
nflnkr
37ee98ecd3 fix page question button image 2023-10-18 14:24:12 +03:00
IlyaDoronin
4cda3df268 fix: drag&drop console error 2023-10-18 11:42:59 +03:00
IlyaDoronin
b0b045b151 fix: first draggable item 2023-10-17 18:20:45 +03:00
nflnkr
e6d32dd72d init cypress 2023-10-17 16:43:31 +03:00
IlyaDoronin
1170f19a90 fix: add new question button 2023-10-17 16:33:29 +03:00
IlyaDoronin
afdf281631 fix: hints 2023-10-17 13:53:19 +03:00
IlyaDoronin
ba620de334 fix: removing question bug 2023-10-16 13:20:07 +03:00
nflnkr
feeb4eaf69 add quiz preview to survey setup 2023-10-14 16:22:57 +03:00
nflnkr
7bec46efcc fix question type 2023-10-14 16:22:38 +03:00
nflnkr
12c2446edf Merge remote-tracking branch 'origin/forms' into quiz-preview 2023-10-14 14:30:18 +03:00
IlyaDoronin
aacb678249 fix: branching tooltip 2023-10-13 16:42:28 +03:00
nflnkr
b2f66c73af fix date question type 2023-10-13 15:25:09 +03:00
IlyaDoronin
935f26695e refactor: form 2023-10-13 15:23:39 +03:00
IlyaDoronin
2f9bc4decd fix: borders 2023-10-13 15:21:27 +03:00
nflnkr
d8fca6a339 fix wrong types 2023-10-13 15:09:05 +03:00
IlyaDoronin
8c983cb91a fix: branchOptions 2023-10-13 14:28:51 +03:00
IlyaDoronin
9eea74c18e fix: answer icons 2023-10-13 13:52:29 +03:00
IlyaDoronin
76186f6a7b fix: ButtonsOptions 2023-10-13 12:09:28 +03:00
IlyaDoronin
79b6442377 fix: drag & drop 2023-10-12 18:51:39 +03:00
nflnkr
4b6ae87e05 fix preview variant images 2023-10-12 18:20:46 +03:00
IlyaDoronin
dd7f2621ac fix: list 2023-10-12 11:15:19 +03:00
IlyaDoronin
76553d1610 feat: updates 2023-10-11 17:32:26 +03:00
nflnkr
fe940c6ee6 decrease question title textfield debounce time 2023-10-11 05:21:37 +03:00
nflnkr
040bf3acdd remove calendar question calendar/mask selection 2023-10-11 04:26:34 +03:00