Paul Chavard
|
88866d0413
|
refactor(autosubmit): split and improuve autosubmit and turbo controller
|
2023-01-12 11:58:46 +01:00 |
|
Paul Chavard
|
e6d5033184
|
clean(js): remove console
|
2023-01-11 12:11:55 +01:00 |
|
Paul Chavard
|
f17ae44952
|
fix(dossier): disable buttons when selection is canceled
|
2023-01-11 11:50:25 +01:00 |
|
Paul Chavard
|
77a0033b3e
|
feat(batch_operation): enable only available operations
|
2023-01-10 19:03:32 +01:00 |
|
Paul Chavard
|
5128b9a086
|
refactor(demarches): use turbo_stream template
|
2023-01-10 09:48:32 +01:00 |
|
Paul Chavard
|
416550c6ea
|
refactor(batch): simplify stimulus controller
|
2023-01-06 14:25:46 +01:00 |
|
Lisa Durand
|
8df0147fd1
|
fix linter
|
2023-01-05 16:20:18 +01:00 |
|
Lisa Durand
|
1ecdf5f544
|
remove manipulating checkbox with JS and set just one form instead of 2
|
2023-01-05 16:20:18 +01:00 |
|
Lisa Durand
|
d7ebb67889
|
implement first step - accepte without motivation and PJ
|
2023-01-05 16:20:18 +01:00 |
|
Martin
|
a4d6692bc6
|
accessibilite(pages-authentification): evolutions des pages de connexion/creation de compte pour respecter le DSFR et supporter une meilleure accessibilite
Update app/components/dsfr/input_component/input_component.html.haml
Co-authored-by: Colin Darie <colin@darie.eu>
|
2023-01-03 16:26:05 +01:00 |
|
Martin
|
9dbe4845b3
|
correctif(a11y.contact-page): #8058 (utiliser le type email sur l'input prenant l'email de l'usager), #8056 (ajuster les erreurs de contraste par l'usage des composants du DSFR)
|
2022-12-21 10:48:31 +01:00 |
|
Paul Chavard
|
17901d9be2
|
fix(fetch): always use post http method
|
2022-12-15 11:52:11 +01:00 |
|
Colin Darie
|
3a9a71079a
|
Merge branch 'main' into pj-en-construction-replace
|
2022-12-14 16:59:48 +01:00 |
|
Paul Chavard
|
1b95809f14
|
refactor(dossier): flatten champ attributes
|
2022-12-14 13:03:06 +01:00 |
|
Colin Darie
|
013a05f24a
|
feat(piece_justificative): replace with multiple attachments for dossier en_construction
|
2022-12-14 09:58:15 +01:00 |
|
Colin Darie
|
4049240c2c
|
feat(piece_justificative): allow user to replace a PJ for dossier en_construction
|
2022-12-14 09:58:15 +01:00 |
|
Colin Darie
|
c93eba38ea
|
chore(turbo-poll): convert to setInterval, turbo morph compatible.
Interval is not exponential anymore, so increase max checks.
|
2022-12-08 20:36:15 +01:00 |
|
Colin Darie
|
7719ce1865
|
chore(attachment): increase poll antivirus timeout and make it clear it's not blocker
|
2022-12-08 20:36:15 +01:00 |
|
Martin
|
b0ae2e8a0f
|
clean(spec): rubocopify / fix specs
|
2022-12-06 11:28:48 +01:00 |
|
Martin
|
beb39027d0
|
poc(batch_operation.ui): implement simple ui to trigger a batch of current page
|
2022-12-06 11:28:48 +01:00 |
|
Kara Diaby
|
f5e4c28fc1
|
controller
|
2022-12-02 11:30:48 +01:00 |
|
Christophe Robillard
|
7ef114c910
|
add debounce for date_publication autosubmit
|
2022-11-09 10:41:06 +01:00 |
|
Martin
|
95312fed47
|
correctif(dropdown): rend toutes les dropdown valide via le controller.js plutot que les balises html
|
2022-11-08 16:40:17 +01:00 |
|
Martin
|
9e399aa199
|
fix(aria-expanded): aria-expanded can be either true or false, not empty: https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-expanded
|
2022-11-08 16:40:17 +01:00 |
|
Christophe Robillard
|
e10e8f1024
|
autosubmit filter form
|
2022-10-31 16:12:02 +01:00 |
|
Christophe Robillard
|
9abf1c4af3
|
list all demarches, filtered by zones
|
2022-10-31 16:12:02 +01:00 |
|
Paul Chavard
|
7336a62637
|
refactor(rails/ujs): don’t use @rails/ujs in our own code
|
2022-10-26 23:06:10 +02:00 |
|
simon lehericey
|
43438f0018
|
fix(spec): use config debounce delay in editor
and 0 delay in spec
|
2022-10-26 22:38:33 +02:00 |
|
simon lehericey
|
cf592820c6
|
make linter happier
|
2022-10-25 14:44:43 +02:00 |
|
simon lehericey
|
dbb5b7deec
|
clean(js): remove unused autosave:reset
|
2022-10-25 14:44:43 +02:00 |
|
simon lehericey
|
5cadb70d3a
|
refactor(js): add 'debounced-empty' when there are no more debouncing call
|
2022-10-25 14:44:43 +02:00 |
|
simon lehericey
|
f4f40ded6c
|
refactor(js): send 'autosave:end' when there are no more pending promises
|
2022-10-25 14:44:43 +02:00 |
|
Paul Chavard
|
85581e72e9
|
refactor(turbo): simplify custom actions implementation now that turbo has support for it
|
2022-10-21 10:24:00 +02:00 |
|
Paul Chavard
|
78a1323fc2
|
refactor(dossier): move dossier submit action in to a new form
|
2022-10-13 14:44:46 +02:00 |
|
Paul Chavard
|
dd38fa4458
|
refactor(spec): add wait_for_autosave helper
|
2022-10-13 14:44:46 +02:00 |
|
Paul Chavard
|
78d4abfb3d
|
chore(js): remove CheckConditionsController
|
2022-10-04 10:59:23 +02:00 |
|
Martin
|
aceb8996c1
|
feat(instructeur/procedure#show): enhance sort by notifications as planned by UX
Update app/javascript/controllers/checkbox_controller.ts
Co-authored-by: Paul Chavard <github@paul.chavard.net>
|
2022-09-30 10:29:51 +02:00 |
|
Paul Chavard
|
462cc41caa
|
refactor(block): use block? instead of repetition?
|
2022-09-29 17:49:14 +02:00 |
|
simon lehericey
|
7d547e5e11
|
fix(linked_drop_down): in repetiton the second choice is saved
the filter was not applied in repetition block so an additional empty input was send which overrided the real value
|
2022-09-29 14:50:02 +02:00 |
|
Martin
|
ba6c5b4db7
|
feat(instructeur/procedure#index): enhance filter to support processed_at and state [plus en_instruction_at/since]
feat(filter): enable filter on dossiers.state, dossiers.processed_at(since), dossiers.en_instruction_at(since)
|
2022-09-27 17:19:54 +02:00 |
|
Colin Darie
|
55fd4307a1
|
refactor(header/notice): convert JS to stimulus
|
2022-09-21 15:47:35 +02:00 |
|
Paul Chavard
|
d6f5be622c
|
feat(dossier): autosave en construction
|
2022-09-08 11:26:29 +02:00 |
|
Paul Chavard
|
ebfed21fa8
|
chore(npm): update dependencies
|
2022-09-01 09:32:50 +02:00 |
|
simon lehericey
|
adf194cc08
|
fix(editeur_de_champ): can join an pj template
|
2022-08-11 15:01:48 +02:00 |
|
Paul Chavard
|
cf315b7246
|
fix(autosave): on check condition requests do not send file inputs
|
2022-08-03 12:04:39 +02:00 |
|
Paul Chavard
|
01c0b4350b
|
fix(autosave): error.message can be readonly
|
2022-07-26 11:02:15 +02:00 |
|
Paul Chavard
|
d9eea35ae8
|
fix(dossier): decoralate dropdown behaviour from autosave
|
2022-07-21 18:40:16 +02:00 |
|
Paul Chavard
|
e85fe71887
|
fix(champ): allow to submit when secondary options are empty
|
2022-07-20 10:49:07 +02:00 |
|
Paul Chavard
|
d00a91aea5
|
feat(dossier): check conditions on en construction dossier
|
2022-07-13 10:49:17 +02:00 |
|
Paul Chavard
|
a4681d8832
|
refactor(autosave): improuve events handling
|
2022-07-12 11:47:33 +02:00 |
|
Paul Chavard
|
1c8efea465
|
fix(preview): gon should not crash on preview pages
|
2022-07-12 11:16:41 +02:00 |
|
Paul Chavard
|
f5e75d5e8e
|
chore(stimulus): stimulus controllers can be lazy loaded
|
2022-07-06 14:26:17 +02:00 |
|
Paul Chavard
|
2c3503d7d0
|
test(js): add vitest
|
2022-07-05 13:38:00 +02:00 |
|
simon lehericey
|
7b02fa9353
|
typeDeChampIdValue -> typeDeChampStableIdValue
|
2022-07-05 11:53:18 +02:00 |
|
simon lehericey
|
1342356651
|
after_id -> after_stable_id
|
2022-07-05 11:53:18 +02:00 |
|
Paul Chavard
|
23fe07bfbd
|
Revert "Merge pull request #7511 from betagouv/US/fix-dynamic-imports-on-ff-60-69"
This reverts commit d2fd5b83a9 , reversing
changes made to 183dc4eb2b .
|
2022-07-01 10:07:39 +02:00 |
|
Martin
|
f85c97f96e
|
fix(js): dynamic import with import keyword does not work on ffx[60,68]
|
2022-07-01 09:54:46 +02:00 |
|
Paul Chavard
|
4844f27404
|
Revert "Merge pull request #7509 from betagouv/US/fix-dynamic-imports-on-ff-60-69"
This reverts commit 8e13015e85 , reversing
changes made to 3a16905d79 .
|
2022-06-30 09:34:08 +02:00 |
|
Martin
|
a736c8300a
|
fix(js): dynamic import with import keyword does not work on ffx[60,68]
|
2022-06-30 07:27:24 +02:00 |
|
Paul Chavard
|
1ab609d108
|
refactor(react): eager load react components
|
2022-06-23 15:22:55 +02:00 |
|
Paul Chavard
|
eba1973d5f
|
refactor(stimulus): eager load stimulus controllers
|
2022-06-23 15:22:55 +02:00 |
|
Kara Diaby
|
7695ad47cf
|
ETQ Usager, je veux entrer mon Iban de manière plus simple (avec espaces)
|
2022-06-22 15:07:31 +02:00 |
|
Paul Chavard
|
6801b04b7b
|
feat(type_de_champ): type_de_champ editor in stimulus/turbo
|
2022-06-17 11:04:09 +02:00 |
|
Paul Chavard
|
cf81e8ecd5
|
feat(turbo): add turbo:morph helper
|
2022-06-17 11:04:09 +02:00 |
|
Martin
|
7ed9d586cf
|
fix(drop_down_list): ensure to skip disabled input when sending data via autosave
|
2022-06-02 09:06:37 +02:00 |
|
Paul Chavard
|
906eea188e
|
refactor(stimulus): use stimulus in message forms
|
2022-05-30 18:21:32 +02:00 |
|
Paul Chavard
|
88eb14c623
|
feat(autosave): submit on input events
|
2022-05-24 15:05:14 +02:00 |
|
Paul Chavard
|
df914d273f
|
feat(turbo): add turbo-poll controller
|
2022-05-17 16:08:47 +02:00 |
|
Paul Chavard
|
6d0b3d93ed
|
fix(autosave): prevent autosave if current champ is detached from the form
|
2022-05-16 14:07:02 +02:00 |
|
Paul Chavard
|
b076ecaf96
|
feat(a11y): implement accessible menu button
|
2022-05-11 16:23:42 +02:00 |
|
Paul Chavard
|
10f6378cf0
|
fix(upload): silence common client errors in sentry
|
2022-05-11 13:44:50 +02:00 |
|
Paul Chavard
|
3fea34732e
|
feat(autosave): add stimulus autosave-status controller
|
2022-05-10 18:10:20 +02:00 |
|
Paul Chavard
|
adb19a941f
|
feat(autosave): add stimulus autosave controller
|
2022-05-10 18:10:20 +02:00 |
|
Paul Chavard
|
ce58ab98c1
|
refactor(js): move around stimulus initializers
|
2022-05-10 18:10:20 +02:00 |
|
Paul Chavard
|
9b01b2cff9
|
feat(stimulus): add onGlobal helper
|
2022-05-10 18:10:20 +02:00 |
|
Paul Chavard
|
2db892d876
|
refactor(turbo): champ siret and dossier_link use turbo
|
2022-05-04 14:11:43 +02:00 |
|
Paul Chavard
|
1500a1cf28
|
feat(turbo): add enable and disable mutations
|
2022-05-04 14:11:43 +02:00 |
|
Paul Chavard
|
cfb83bbdda
|
feat(turbo): add on method to stimulus application controller
|
2022-05-04 14:11:43 +02:00 |
|
Paul Chavard
|
67ba8acff7
|
fix(react): too soon for strict mode
|
2022-04-28 14:45:35 +02:00 |
|
Paul Chavard
|
62dca1c7b0
|
refactor(js): remove ds:page:update event
|
2022-04-22 10:24:39 +02:00 |
|
Paul Chavard
|
b585808924
|
refactor(js): add geo-area stimulus controller
|
2022-04-22 09:40:52 +02:00 |
|
Paul Chavard
|
0bd71ad51a
|
feat(turbo): add turbo event helpers
|
2022-04-21 19:41:27 +02:00 |
|
Paul Chavard
|
64c599e208
|
refactor(stimulus): initiate react components via stimulus
|
2022-04-20 14:08:47 +02:00 |
|