Commit Graph

441 Commits

Author SHA1 Message Date
86ada008c5 :gears: move components to better semantic folders 2020-04-20 18:11:47 +02:00
seraph
e524320457 refacto : create entities, enums, services 2020-04-19 22:18:25 +02:00
8fa39250d5 admin route calling the backend 2020-04-17 15:52:09 +02:00
tykayn
15b10f9381 routing for admin ith token parameter, add comments 2020-04-17 13:10:21 +02:00
ty kayn
ca5ffdc896 Jest tests 2020-04-16 12:34:36 +02:00
seraph
18a7d4781a reformat all files + move routes.ts to AppRoutingModule 2020-04-14 11:28:33 +02:00
seraph
dd9bb8922f - upgrade all packages
- intall & configure linters (eslint, prettier, etc.)
2020-04-13 21:21:00 +02:00
tykayn
e56d5cdcef add eslint 2020-04-13 10:59:25 +02:00
tykayn
e2c388da9e export format json public 2020-04-11 17:23:52 +02:00
tykayn
acb091802c 👽 Conserver le choix de langue au rechargement de la page - issue #54 2020-04-11 17:07:38 +02:00
tykayn
936110846c theme persisted in the localstorage, reload config on page reload - issue #75 2020-04-11 16:59:46 +02:00
tykayn
6e6b812d2d 🔨 fix linting, add env default 2020-04-11 16:16:25 +02:00
tykayn
9bdd4e0084 split many components, presentation with left nav 2020-04-11 16:06:56 +02:00
tykayn
60c184c60b 🎨 arrange create or retrieve page in two columns 2020-04-11 15:22:44 +02:00
tykayn
23dc45f198 fix issue of selecting can or can not modify answers 2020-04-11 15:16:30 +02:00
tykayn
fff4e57378 can or can not modify votes issue #49 2020-04-11 14:51:22 +02:00
75c26572fe 🐛 fix update after vote #65 2020-04-02 17:59:33 +02:00
c0a4ec7a0c add confirmation modal for admin user, issue #59 2020-04-02 17:49:35 +02:00
312b2d8599 🎨 better disposal for theme selector 2020-04-02 16:46:30 +02:00
2d757c6726 component to select theme 2020-04-02 16:36:09 +02:00
ba7465fe83 :fix: remove puckage lock in profit of yarn 2020-02-19 17:26:35 +01:00
ff8e02b215 🐛 fix synced time slices 2020-02-19 17:23:24 +01:00
d7a2a8d6b7 📖 add compodoc 2020-02-19 17:12:54 +01:00
49b7939564 add some types interfaces in the config 2020-02-19 12:26:44 +01:00
4ec9b174ad ad storybook 2020-02-18 13:52:22 +01:00
61bf6a289c dates and recap side to side 2020-02-13 17:41:36 +01:00
15bbf0e375 manage dates poll type display, fix typo in add button date 2020-02-10 13:06:47 +01:00
e089d19993 🔨 test with FirefoxHeadless for gitlab CI 2020-02-10 10:47:54 +01:00
1816150c6d custom date value accessor with renderer 2 2020-02-10 10:34:14 +01:00
0a3ee9b6f0 🔨 test voting choice, add ci pipeline config 2020-02-05 15:21:28 +01:00
44424d378a 📖 update refacto utilities as services 2020-02-05 11:19:03 +01:00
c5b5276400 :gears: refacto date and poll utilities functions in a separate class 2020-02-05 11:13:36 +01:00
ab23b9b256 split poll display components 2020-02-05 10:54:30 +01:00
e3e5cf6638 export data in csv with rows and comments 2020-02-04 15:23:46 +01:00
4bcd3e475f reset all answers before loading a stack 2020-02-04 14:28:43 +01:00
b1adfaa8ea :fix: load vote of someone else ok 2020-02-04 12:51:18 +01:00
dd9e8950f4 unify update config after fetching a poll config 2020-02-04 11:35:29 +01:00
63e1a5e899 component to copy text to clipboard 2020-02-04 11:35:09 +01:00
bc67f26327 fix select visibility 2020-02-04 11:21:00 +01:00
74ade7ac0f add bulma framework, style table 2020-01-30 13:05:20 +01:00
0e8d18cd80 show preferred texts in summary, icons for votes 2020-01-30 12:55:40 +01:00
ca69160ea9 sort table of answers 2020-01-30 11:19:17 +01:00
9cf368f550 update current answers with a previous vote 2020-01-30 10:07:03 +01:00
f976d65d20 🐛 fix visibility of config in summary 2020-01-29 17:52:04 +01:00
43ea524c26 display a table of answers 2020-01-29 17:30:39 +01:00
0369d934bd disabled button when nothing is selected, detect counts 2020-01-29 16:30:07 +01:00
e227344647 manage interval of date with date objects 2020-01-24 12:24:45 +01:00
1005695153 🐛 fix some config keys 2020-01-24 12:20:28 +01:00
f9d1cfff3a 🐛 handle no current poll 2020-01-24 12:11:28 +01:00
22736f709e date accessor 2020-01-24 11:15:38 +01:00
460e236d60 change preview for dates type 2020-01-24 11:10:50 +01:00
a66933041f button to act on time 2020-01-24 10:57:54 +01:00
f056b0d79a fix buttons colours and manage a bit more the date form 2020-01-23 17:36:56 +01:00
2e6723a1f1 step to date form 2020-01-23 16:47:53 +01:00
22bd836a16 choices lighter and work 2020-01-23 15:24:39 +01:00
7bc53e198d add administration key after creation 2020-01-23 15:08:52 +01:00
01bddc842d 🐛 fix fetch of old params 2020-01-23 14:23:07 +01:00
7e4e80f1ed stuff 2020-01-23 10:16:55 +00:00
346bd9dc4f mock for poll 1, fix new comment 2020-01-22 16:58:38 +01:00
02995c8b3d sync fetch stuff 2020-01-22 16:49:15 +01:00
9900e1ec97 other url to create a poll 2020-01-22 16:05:37 +01:00
8322a9a83a poll routing hints in the app, demo precision in header 2020-01-22 14:42:46 +01:00
b06a44fb98 use hash for internal routing in the frontend 2020-01-22 14:16:03 +01:00
ea43430e1b build for production, 🐛 fix publicy of vars in templates 2020-01-22 11:18:55 +01:00
d2c726012b menu to nav on poll display - #64 2020-01-22 10:00:03 +01:00
195259bb72 🐛 fix recursion in input erase button 2020-01-21 12:30:53 +01:00
a68cbdcc0a 📖 add mocks from updated backend 2020-01-21 12:04:14 +01:00
96709c9bc7 hop 2020-01-20 16:03:12 +01:00
06cf447529 update vote list after vote creation 2020-01-20 15:58:35 +01:00
123a0b1c80 really fetch a poll by id 2020-01-20 15:50:09 +01:00
ff5c11e79c lang input placement 2020-01-20 15:35:33 +01:00
f8568eb910 launch creation from resume page 2020-01-20 15:23:26 +01:00
3ada66ac5f erasable inputs on first config screen ok 2020-01-20 15:15:06 +01:00
3808f19425 buttons to nav 2020-01-20 15:01:56 +01:00
9ebd22536b list mypolls on first page 2020-01-20 14:36:26 +01:00
255205696b modal to display url 2020-01-20 13:38:57 +01:00
6a3d2c3195 add update demo script, remove duplicate toast, try hash route 2020-01-16 17:03:51 +01:00
10497c9cb0 🐛 fix build 2020-01-16 16:46:19 +01:00
a3e243ed19 toggle simple answer 2020-01-16 16:38:06 +01:00
1b65d58a6f computations for the result graph 2020-01-16 16:25:40 +01:00
7b790e3cdc toast todo things 2020-01-16 15:35:11 +01:00
113609e945 🐛 remove duplicate text in end of admin page 2020-01-16 14:40:15 +01:00
bae3f19af2 calls in administration page to delete things 2020-01-16 14:37:11 +01:00
fd4bbb5c71 🐛 fix show and hide of password input 2020-01-16 13:27:45 +01:00
7df60e5a51 📖 clean console logs 2020-01-16 13:24:11 +01:00
b44f2719b4 toast messages when copied to clipboard and network errors 2020-01-16 12:05:54 +01:00
4098f7ec5c copy to clipboard ok 2020-01-16 12:00:39 +01:00
7c64f1f8f0 add email to creation 2020-01-16 11:46:31 +01:00
2720b65962 check for uniqueness of the slug, slug the title by default 2020-01-16 11:33:13 +01:00
5eba5d684b 🎨 visual help on clickable elements 2020-01-16 11:13:34 +01:00
37904596fb change translation button way to be in sync with the model 2020-01-16 11:02:57 +01:00
051e4d8ee4 reorganize poll display page and urls in config 2020-01-16 10:45:56 +01:00
52587428dd enhance display poll page 2020-01-16 10:33:05 +01:00
c9b4ffe328 merge with dev 2020-01-16 10:20:47 +01:00
79ef34e5af reorganize poll display page 2020-01-16 10:20:15 +01:00
5657f57fc7 get poll data in vote choices 2020-01-15 17:55:22 +01:00
4296c5c9f9 🎨 add font awesome 2020-01-15 15:55:15 +01:00
ded5e71e73 update dependencies with yarn, add primefaces to make toasts 2020-01-15 11:59:02 +01:00
cf4e9f4563 fix some deps 2020-01-15 11:40:39 +01:00
tykayn
daf7006bb8 remove debug step in nav 2019-12-31 19:10:06 +01:00
tykayn
112119194a link to public 2019-12-31 19:09:35 +01:00
tykayn
809aa0f02f 🎨 style on current page from the route data, and texts in the confirm page, step end 2019-12-31 19:08:50 +01:00
Le Libre Au Quotidien
c727aa935e Add css 2019-12-30 14:44:53 +01:00
Le Libre Au Quotidien
adcdaf911f Add route and HTML 2019-12-30 11:48:02 +01:00
Le Libre Au Quotidien
2b079f63a0 Terminé 2019-12-30 11:15:17 +01:00
Le Libre Au Quotidien
be66cc0a90 Plus qu'a aligner les labels aux inputs 2019-12-29 19:35:07 +01:00
Le Libre Au Quotidien
32431c0a83 Merge branch 'issue35' into 'dev'
Issue35

See merge request framasoft/framadate/funky-framadate-front!20
2019-12-29 18:37:40 +01:00
Le Libre Au Quotidien
73b9d496e6 🎉🎉 Page terminée 🎉🎉 2019-12-29 18:35:15 +01:00
Come_744
6f08fc3dd0 Spelling corrections
Closes #50
2019-12-24 15:57:26 +01:00
Le Libre Au Quotidien
d3a7a37d4d push 2019-12-10 11:23:01 +01:00
cb6636f155 organise calls, add headers 2019-12-04 12:45:50 +01:00
f223b760ff start backend calls 2019-12-03 17:20:57 +01:00
Le Libre Au Quotidien
07f5d60b95 Other css part 2019-12-02 19:19:31 +01:00
Le Libre Au Quotidien
3e372d6f53 CSS Part 2019-12-02 12:34:03 +01:00
Le Libre Au Quotidien
a53322b441 Complete HTML 2019-12-02 11:52:06 +01:00
Le Libre Au Quotidien
c581d72625 HTML Part 2019-12-01 19:21:05 +01:00
Come_744
abe07bc978 Translation work
Closes issues #48 and #44

- Add all translation keys into admin.component.html
- Add missing translation keys needed for admin component to en.json and fr.json
- Minor corrections into fr.json
- Add missing keys from fr.json to en.json
- Translate keys of en.json
- Format admin.component.html with tabs
2019-11-30 00:48:31 +01:00
MarguoNana
b78ea6273e changer la langue entre fr et en quand on clique sur l'icone de traduction 2019-11-29 20:19:49 +01:00
48586b8475 👽 add english key to translate 2019-11-23 16:06:38 +01:00
9c02b1ae2b enhance keyboard navigation with answers 2019-11-23 16:05:44 +01:00
e179be812e add default content to poll config 2019-11-23 15:46:07 +01:00
93f3aa76bd 🎨 style remove strange section sizes, h1 size greater 2019-11-23 15:42:05 +01:00
7da480f310 linked things 2019-11-23 15:35:27 +01:00
c1935dbb87 link default values 2019-11-23 15:08:20 +01:00
f4108ee61b end visibilty fields link with poll config 2019-11-23 14:58:44 +01:00
d107978f2c selector custom component for ui, half the visibility page 2019-11-23 14:30:19 +01:00
8ff8cbc408 start visibility 2019-11-22 16:46:12 +01:00
7a9c7b6dc3 👽 translation keys for visibility page 2019-11-22 16:40:25 +01:00
d993111d34 svg in assets 2019-11-22 16:39:53 +01:00
Le Libre Au Quotidien
c029c3fbd7 Merge branch 'dev' into 'issue-38-admin-sondage'
Resolve conflicts
2019-11-22 10:19:55 +01:00
Le Libre Au Quotidien
275a065d8e Resolve a part of merge conflicts 2019-11-22 10:18:09 +01:00
Le Libre Au Quotidien
39d4213bde Dernier commit avant merge 2019-11-20 19:31:11 +01:00
Le Libre Au Quotidien
8f8a0d07d2 Presque fini 2019-11-19 19:28:00 +01:00
Le Libre Au Quotidien
84b87486ed Page crée et bien complétée (plus qu'a faire les alignements) 2019-11-19 18:37:03 +01:00
c0f800ff91 link graphic in nav 2019-11-19 14:53:53 +01:00
e81389eae1 fix function call in template 2019-11-19 14:48:27 +01:00
e9e0d6ac11 Merge branch 'dev' into fix-dates 2019-11-19 14:45:34 +01:00
1a38d672a5 Merge branch 'dev' of https://framagit.org/framasoft/framadate/funky-framadate-front into dev 2019-11-19 14:45:21 +01:00
7b590840b2 👽 translate buttons 2019-11-19 14:42:59 +01:00
572f0837cc add unique interval days 2019-11-19 14:23:51 +01:00
20876f9a8d 👽 translate button to add in template 2019-11-19 11:23:42 +01:00
6a40e041d0 👽 translate button to add 2019-11-19 11:21:58 +01:00
026c7cfda2 start call backend service to retrieve my polls by email 2019-11-19 11:19:21 +01:00
933c32798c 🐛 fix deletions in date buttons , input of type date 2019-11-19 11:18:58 +01:00
alrom8
c36a3b064c Ajout formatage données 2019-11-19 10:55:56 +01:00
cf2a12507e 🐛 fix focus on date, extend the empty all button to timespans 2019-11-19 10:36:53 +01:00
alrom8
2261bd2406 Merge 2019-11-19 09:01:30 +01:00
Le Libre Au Quotidien
942649656d Une partie de html 2019-11-18 19:32:14 +01:00
Le Libre Au Quotidien
1055a0cdbe fix bug 2019-11-18 13:37:46 +01:00
Le Libre Au Quotidien
497cf9e12c Fix bug 2019-11-18 11:36:34 +01:00
alrom8
723a0f9527 Issue-36 : Graph sondage 2019-11-18 10:19:28 +01:00
tykayn
b7afca96db choices to add,clear and delete 2019-11-15 15:19:42 +01:00
alrom8
0059741027 issue-36 : restitution des votes d'un sondage sous forme de graphiques. début 2019-11-13 18:18:42 +01:00
MarguoNana
22a560d82d Err correction special dates 2019-11-12 21:34:03 +01:00
MarguoNana
61d31dfd5a Traduction placeholder 2019-11-12 21:29:53 +01:00
MarguoNana
8b728d172f Conflit resolved 2019-11-12 21:10:58 +01:00
MarguoNana
985be95b0d Resolution du conflit 2019-10-25 14:17:13 +02:00
MarguoNana
f9a8c1d8c3 suppression du code mort 2019-10-25 14:14:50 +02:00
22px
6f8b180d1f [front] vote choice : add image and text cases 2019-10-24 20:51:41 +02:00
22px
28b3334d3e [fix] vote choice : minor css fixes 2019-10-24 20:16:14 +02:00
ty kayn
36ed7dd4cb Merge branch 'component/vote-choice' into 'styles'
Component : vote choice

See merge request framasoft/framadate/funky-framadate-front!8
2019-10-24 17:06:05 +02:00
Côme
bfa44534aa Format html templates with tabs 2019-10-24 16:08:56 +02:00
MarguoNana
ca3b76d0c8 Issue-30 : markdown - bouton retour 2019-10-24 08:48:26 +02:00
22px
6ee9f742fa [front] component : vote choice 2019-10-23 18:08:35 +02:00
MarguoNana
be96384a8e Issue-30: Markdown support 2019-10-23 16:04:59 +02:00
alrom8
5f2a2b4461 issue 36 : select daltonien 2019-10-23 15:39:16 +02:00
alrom8
a006e4d42a ajout composant graphique sondage 2019-10-23 10:45:30 +02:00
22px
3e29117ea6 [front] component : vote choice 2019-10-17 21:56:59 +02:00
22px
a176405dd4 [front] global : increase main wrap size 2019-10-17 21:56:22 +02:00
22px
802f54b930 [front] global : update button styles 2019-10-16 21:33:49 +02:00
Come_744
70f13b0f01 Merge branch 'dev' into minor-works 2019-10-14 22:36:58 +02:00
ty kayn
b0fbc167c1 Merge branch 'internationalisation' into 'dev'
Internationalisation

See merge request framasoft/framadate/funky-framadate-front!5
2019-10-14 13:17:23 +02:00
ty kayn
f99df9c439 Merge branch 'logo' into 'dev'
Stick "Frama" and "date" together

See merge request framasoft/framadate/funky-framadate-front!4
2019-10-14 13:16:19 +02:00
Le Libre Au Quotidien
69802a99ff Align elements 2019-10-10 19:04:19 +02:00
Come_744
c5021a2aa1 Replaced text by i18n json keys and add i18n attribute
Texts have been replaced only when the keys were in the json files.

i18n attributes have been added only when keys were not in the json files.
2019-10-07 22:02:22 +02:00
Le Libre Au Quotidien
c671a8bdea Minimal commit 2019-10-07 19:17:51 +02:00
Come_744
efe0b89218 Stick "Frama" and "date" together 2019-10-05 22:15:06 +02:00
Come_744
0cb0813eb7 Add i18n in navigation 2019-10-05 19:40:48 +02:00
Come_744
fd6cce2777 Put the words in a more natural order
In dates: put "same/different" into the sentence.
2019-10-04 23:14:06 +02:00
Come_744
a63f76b450 Correction of a typing mistake 2019-10-03 21:35:45 +02:00
Come_744
5e2193e8aa Translation fr->en
Notice that even if en.json file is fully translated, translation is still not
applied everywhere.
2019-10-03 21:20:10 +02:00
Le Libre Au Quotidien
280783c56b Modify vote component 2019-10-03 18:36:06 +02:00
Le Libre Au Quotidien
8215dfab78 stylize the date 2019-10-03 12:00:34 +02:00
Le Libre Au Quotidien
36192647c0 Corrige center alignement 2019-10-03 11:57:39 +02:00
Le Libre Au Quotidien
940b34fc1c Merge branch 'styles' of https://framagit.org/framasoft/framadate/funky-framadate-front into styles 2019-10-03 11:52:31 +02:00
Le Libre Au Quotidien
1b9c669ae3 Add round to buttons on vote-choice 2019-10-03 11:52:26 +02:00
2d060f9905 date en français dans le choix de vote 2019-10-03 11:48:13 +02:00
1074d219dd 🐛 fix undefined choice 2019-10-03 11:27:25 +02:00
49494236cf Merge branch 'styles' of https://framagit.org/framasoft/framadate/funky-framadate-front into styles 2019-10-02 14:47:53 +02:00
f48d05b518 choice component JS logic and type constraints. demo for dev environment 2019-10-02 14:45:50 +02:00
Le Libre Au Quotidien
9c4fabb176 Minimal commit 2019-10-02 14:10:29 +02:00
Le Libre Au Quotidien
e059d45f73 Add css on vote component : No works 2019-10-01 18:59:14 +02:00
Le Libre Au Quotidien
6cc09aebb5 Add html code for voting 2019-10-01 18:32:24 +02:00
0f2a72f872 👽 translate 2 first pages 2019-10-01 16:52:36 +02:00
91101f2326 👽 add missing translation support 2019-10-01 16:39:29 +02:00
90323c28c7 👽 json strings to translate things in en/fr 2019-10-01 16:34:11 +02:00
d1ced70b1b 👽 add ngx translate config 2019-10-01 15:43:37 +02:00
Le Libre Au Quotidien
128e4b6281 stylise button 2019-09-30 19:07:00 +02:00
Le Libre Au Quotidien
0c0dd7063d modify create or retrive page 2019-09-30 18:48:26 +02:00
cc7b4661ee 👽 demo for i18n 2019-09-27 16:10:03 +02:00