Eric Leroy-Terquem
f82fba3e2f
add folders number for instructor group
2023-01-02 15:43:13 +01:00
Kara Diaby
f7cb24ce40
Supprime le feature flag pour que tous les administrateurs puissent ajouter des tags sur les démarches
2023-01-02 11:13:31 +01:00
Damien Le Thiec
ffdb6c0104
Merge branch 'main' into improvement/link_to_dossier_description
2023-01-02 10:15:39 +01:00
Damien Le Thiec
775eb16d95
Add link to prefill description from procedure show
2022-12-29 16:11:59 +01:00
Damien Le Thiec
e6d4b3061e
Improve text for prefill description page
2022-12-29 10:56:42 +01:00
Paul Chavard
0e73415904
feat(revision): improuve changes dashboard
2022-12-27 11:06:51 +00:00
Paul Chavard
9b3fa4dd3c
refactor(revision): changes should be domain objects
2022-12-27 10:58:53 +00:00
Paul Chavard
7aa6f172dc
feat(revision): show number of pending dossiers for each revision
2022-12-27 10:58:53 +00:00
mfo
99a652c297
Merge pull request #8267 from mfo/a11y/use-alert-for-dossier-state
...
accessibilite(page#dossiers): utiliser les role=alert sur le status des dossiers
2022-12-26 17:44:59 +01:00
Paul Chavard
3f0f5e381f
refactor(regions): champ regions to use simple select
2022-12-21 14:03:02 +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
Christophe Robillard
cfc2aec334
display all demarches only if zonage enabled
2022-12-21 09:02:16 +01:00
Christophe Robillard
11a18516b2
remove feature flag zonage
2022-12-21 09:02:16 +01:00
Colin Darie
7cc7c414ad
style(instructeurs): improve dossier header layout
...
Closes #8292
2022-12-20 19:07:00 +01:00
Sébastien Carceles
e4a7a4c391
hide values and examples for unprefillable champs ( #8309 )
...
* hide values and examples for unprefillable champs
* put prefillable champs first
2022-12-20 13:37:25 +00:00
Christophe Robillard
a0da04e83c
use config.ds_opendata_enabled
...
don't use anymore opendata feature flag
2022-12-20 12:52:56 +01:00
Sébastien Carceles
dd0a05c1d8
feat(prefill): add possible values ( #8299 )
...
* update layout in order to show possible values
* filter out non fillable types de champ
2022-12-20 11:04:42 +01:00
Kara Diaby
86e1d1dd97
layout
2022-12-19 15:28:09 +01:00
Martin
4e201a245b
accessibilite(page#dossiers): utiliser les role=alert sur le status des dossiers
2022-12-19 15:16:57 +01:00
Sébastien Carceles
0a10a08c21
feat(demarche): describe procedure prefilling ( #8187 )
...
* feat(demarche): description
Show the description of an opendata procedure (published or draft),
with help about how to prefill a dossier for this procedure.
Co-authored-by: Damien Le Thiec <damien.lethiec@gmail.com>
2022-12-19 11:32:09 +00:00
Martin
2be4441a70
amelioration(attestion.et.mail): deduplique les message d'erreur, améliore les messages d'erreur, gère la pluralisation des erreurs lorsque plusieurs tags sont concernés
2022-12-19 09:28:46 +01:00
Martin
dd74834689
amelioration(attestation.et.mail): desactive les tags sur les champs conditionnés et informe l'usager que ca arrivera
2022-12-19 09:28:46 +01:00
Martin
ef389eab41
amelioration(attestation.et.mail): repositionne les messages d'erreur lié à la substitution des balises a proximité du formulaire pour faciliter la comprehension. passage des champs au DSFR
2022-12-19 09:28:46 +01:00
Christophe Robillard
f1595d1f50
wrap resultset tuples in ProcedureDetail
2022-12-16 15:51:49 +01:00
Christophe Robillard
5de0c8722e
i18n for procedure attributes and values
2022-12-16 15:51:49 +01:00
Christophe Robillard
f3f8bc74c7
fetch procedure info on demand
...
Co-authored-by: Paul Chavard <paul.chavard@beta.gouv.fr>
Co-authored-by: Colin Darie <colin@darie.eu>
Co-authored-by: Martin <martin@sharypic.com>
2022-12-16 15:51:49 +01:00
Christophe Robillard
112fae8f00
improve style
2022-12-16 15:51:49 +01:00
Christophe Robillard
cea92c0488
perf: remove n+1 queries to count admin
2022-12-16 15:51:49 +01:00
Colin Darie
acb227bffe
feat(pdf): list department with champ commune
2022-12-16 10:25:54 +01:00
Colin Darie
7ff6455440
style(instructeurs): convert filters to DSFR tags
2022-12-15 09:34:10 +01:00
Colin Darie
84aabd4187
style(instructeurs): convert some dropdowns buttons to DSFR
2022-12-15 09:34:10 +01:00
Colin Darie
a2f8ab37bc
style(instructeurs): fix dropdown visibility when table height is short
2022-12-14 18:57:34 +01:00
Colin Darie
ae296e70ed
style(instructeurs): table dossiers in full width in a fluid container
2022-12-14 18:57:33 +01:00
Paul Chavard
8c173e45bf
fix(admin): go to the right tab when click on breadcrumb link
2022-12-13 15:55:10 +01:00
Colin Darie
4824363879
refactor(attachment): rename user_can_download -> explicit view_as
...
- link: shows a simple link to open attachment
- download: shows complete DSFR download UI
2022-12-08 20:36:15 +01:00
Colin Darie
40a1eaaaed
fix(annuaire-education): schema should not require adresse_1, type_contrat_prive attributes
...
https://sentry.io/organizations/demarches-simplifiees/issues/3328955794/events/147affe4b73b43a391c257b97d298bb9/?project=1429550
2022-12-07 22:23:34 +01:00
Paul Chavard
3c21090a88
feat(api_token): add profile api token card
2022-12-07 18:19:37 +01:00
Paul Chavard
3d1f57df83
feat(api_token): add api token controller
2022-12-07 18:19:37 +01:00
Lisa Durand
64134d1b08
fix deleted notification in table after batch feature implementation
2022-12-07 16:21:15 +01:00
Paul Chavard
f49a1baeec
refactor(groupe_instructeur): remove mailer should take a list of instructeurs
2022-12-06 12:01:54 +01:00
Martin
8f1478b00f
clean(deadcode): remove deadcode
2022-12-06 11:28:48 +01:00
Martin
6556fda218
clean(spec): rubocopify / fix specs
2022-12-06 11:28:48 +01:00
Lisa Durand
0563ac391b
small css adjustements to improve table display
2022-12-06 11:28:48 +01:00
Martin
b0ae2e8a0f
clean(spec): rubocopify / fix specs
2022-12-06 11:28:48 +01:00
Martin
5875f9b572
spec(batch_operation): system spec batch operation poc
2022-12-06 11:28:48 +01:00
Lisa Durand
6859882a58
display batch operation alert to instructeur groups not only instructeur
2022-12-06 11:28:48 +01:00
Lisa Durand
c52443f221
change flash alert wording and display message in show if dossier is in batch
2022-12-06 11:28:48 +01:00
Lisa Durand
1beb219fdd
display batch operation alerts
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
Colin Darie
00e1e90cb6
fix: multipart upload on instructeurs import & acceptation avec PJ
...
Les options html dans un `form_tag` ne doivent pas être définies
sous la clé `html` mais directement à la "racine".
Fix régression introduite dans #7958
2022-12-05 17:28:12 +01:00
Martin
1cdfc9ded0
amelioration(liens-de-telechargement): permet de specifier si le lien de téléchargement se fait sur l'onglet actuel ou vers un nouvel onglet
2022-12-05 15:59:50 +01:00
simon lehericey
8771205679
clean(flipper): remove unused expert_not_allowed_to_invite
2022-12-05 12:22:29 +01:00
Colin Darie
f7d6350e05
fix(a11y/identite): indicates that all fields are required
...
Closes #8096
2022-12-05 11:37:36 +01:00
Colin Darie
b9d6397a9b
fix(pj_template): private proxy template url so their links are non expirable
...
Closes #7920
2022-12-05 11:30:00 +01:00
Colin Darie
920f90d2e3
chore(titre_identite): render template if exists
2022-12-05 10:47:10 +01:00
Colin Darie
b110e58f2f
refactor(attachment): extract i18n
2022-12-05 10:47:10 +01:00
Colin Darie
e3ddb7779f
fix(form): multipart option must be set under "html" to ensure rendering as expected
2022-12-05 10:47:10 +01:00
Colin Darie
b609c3dae4
refactor(attachment): bring batch user_can_destroy, update tests
2022-12-05 10:47:10 +01:00
Colin Darie
0a114270af
refactor(attachment): update Attachment::EditComponent everywhere
2022-12-05 10:47:10 +01:00
Colin Darie
b13c5e56f6
refactor(piece_justificative): UX follows mockups
2022-12-05 10:47:10 +01:00
Colin Darie
a726350f0d
feat(procedure): allow admin to enable multiple uploads for piece justificative on existing procedures
2022-12-05 10:47:10 +01:00
Colin Darie
ed1c6ec515
style(piece_justificative): use DSFR Téléchargement de fichiers for instructeurs & experts
2022-12-05 10:47:10 +01:00
Colin Darie
6a0379086d
chore(piece_justificative): continue attachments refactor
2022-12-05 10:47:10 +01:00
Colin Darie
b8296c6d4d
feat(piece_justificative): supports multiple files
...
Closes #7924
2022-12-05 10:47:10 +01:00
Colin Darie
ac234b7744
chore(footer): remove obsolete footer partial & i18n keys
2022-12-05 10:38:16 +01:00
Colin Darie
52b6502cbd
test(a11y): ensure we don't mix aria-label and title on main pages
...
Actuellement, on fait le choix de ne pas avoir d'éléments porteurs à la
fois d'aria-label et title.
Bien qu'en principe l'aria-label quand elle est gérée par un navigateur,
prenne précédence sur le title, en pratique un bug dans NVDA cumule les 2
et rend la navigation difficile.
On prend donc le parti (provisoire?) de n'avoir que l'un ou l'autre.
Nous gardons le title si l'info qu'il contient est également pertinente
pour les navigateurs graphiques qui l'affichent en guise de tooltip ;
autrement on bascule sur l'aria-label qui est plus largement supporté
par les navigateurs a11y.
2022-12-05 10:38:16 +01:00
Colin Darie
f653a25cc2
fix(i18n/a11y): translate "Edit file" button title
...
Closes #8136
2022-12-05 10:38:16 +01:00
Colin Darie
762942f468
chore(i18n): translate meta title for main user pages
2022-12-05 10:38:16 +01:00
Colin Darie
70d4d7848b
feat(i18n): more footer translations
2022-12-05 10:38:16 +01:00
Colin Darie
f15363e178
feat(i18n): basic home translation
2022-12-05 10:38:16 +01:00
Kara Diaby
d0ba0e2d63
layout
2022-12-02 11:30:48 +01:00
Colin Darie
6803fbeddb
feat(instructeurs): list archiver email & date
2022-12-01 18:27:18 +01:00
Paul Chavard
00556715d6
fix(typography): fix quotes
2022-12-01 17:59:11 +01:00
Paul Chavard
886a409abf
fix(dossier): fix links to empty pdf templates
2022-12-01 17:35:01 +01:00
Colin Darie
cd87390262
fix(a11y/dossiers): add a caption to dossiers table (critere 5.4)
...
Closes #8090
2022-11-30 13:41:13 +01:00
Colin Darie
80106bf4e6
fix(a11y/search): table th/td associations (critère 5.7)
...
Closes #8094
2022-11-30 13:41:13 +01:00
Colin Darie
3a2fae9cc2
fix(a11y): table having role=presentation (critere 5.3)
...
Closes #8154
2022-11-30 13:41:13 +01:00
Colin Darie
8baac2087e
style(mobile): fix burger menu alignment: we need a left icon (match UX)
2022-11-30 12:08:59 +01:00
Colin Darie
436c1951cc
fix(locale-switcher): attributes & wording issues
...
Cf #8059
2022-11-30 12:08:59 +01:00
Colin Darie
8c16eb1543
fix(a11y): more external link having title saying it will open in new tab
2022-11-30 09:27:46 +01:00
Colin Darie
ff879eb0c2
fix(a11y/dossier): fix non explicit link (6.1)
...
Closes #8136
2022-11-30 09:27:46 +01:00
Colin Darie
edc2eaac30
fix(footer/home): add missing rel noopener/noreferer on external links
2022-11-30 09:27:46 +01:00
Colin Darie
4d00fcc2d9
fix(a11y/home): add missing title attributes
...
Cf #8050
2022-11-30 09:27:46 +01:00
Colin Darie
720995f48f
fix(a11y/footer): add "new tab" suffix on title links
...
Cf #8050
2022-11-30 09:27:46 +01:00
Colin Darie
e60fb1f0c1
fix(a11y/footer): img with alt for beta gouv logo
...
Cf #8050
2022-11-30 09:27:46 +01:00
Colin Darie
c55148f694
fix(a11y): root title link more explicit + i18n
...
Closes #8050
2022-11-30 09:27:46 +01:00
Eric Leroy-Terquem
76605f2c0b
fix pagination
2022-11-29 17:46:30 +01:00
Colin Darie
f625d99934
chore(dossier_transfer): extract i18n
2022-11-25 13:34:12 +01:00
Colin Darie
933e6a1aec
chore(dossier_transfer): explanation about transfer more explicit and convert to DSFR
2022-11-25 13:34:12 +01:00
sebastiencarceles
c294ce70ca
fix: escape characters when showing page title
2022-11-25 09:30:20 +01:00
Colin Darie
0e49f3321a
fix(pdf): strip html in type_de_champ descriptions
2022-11-24 19:23:51 +01:00
Paul Chavard
4cdd5bcf07
fix(a11y): erreurs code source (Critère 8.2)
...
related #8051
2022-11-24 15:49:47 +01:00
Christophe Robillard
3539b00652
search admins by email
2022-11-24 15:05:46 +01:00
Paul Chavard
234975b806
feat(graphql): expose groupe_instructeur state and update mutation
2022-11-24 14:33:29 +01:00
Paul Chavard
e395ab5c87
fix(invite): do not render menu when invite not found
2022-11-24 09:43:19 +01:00
Paul Chavard
405d2a695f
refactor(attestation_template): remove from revisions
2022-11-23 12:26:26 +01:00
Paul Chavard
cafda4f6f0
refactor(attestation_template): move to procedure
2022-11-23 12:26:26 +01:00
Christophe Robillard
8e95c6a2ba
search procedures by libelle
2022-11-22 17:08:17 +01:00
simon lehericey
bcccd57573
refactor(procedure_admins): delete old partial
2022-11-22 16:41:20 +01:00
simon lehericey
066c441b61
refactor(procedure_admins): use component
2022-11-22 16:41:20 +01:00
Paul Chavard
a53f0dee74
feat(a11y): add dsfr skiplinks
2022-11-22 12:29:39 +01:00
Christophe Robillard
ca0dfc9da6
fix missing header for all demarches layout
2022-11-18 06:50:45 +01:00
Paul Chavard
07173401de
fix(graphql): load playground from CDN
2022-11-17 15:50:05 +01:00
Paul Chavard
29bdd82b59
refactor(procedure): types_de_champ -> active_revision.types_de_champ_public
2022-11-17 13:54:14 +01:00
Paul Chavard
f6609d42ce
chore(vitejs): update
2022-11-15 18:54:43 +01:00
Colin Darie
a4ed1d07af
chore(manager): disable pagination count on massive tables
2022-11-15 17:28:04 +01:00
Colin Darie
bad4581a46
style(manager): mandatory champ more visible
2022-11-15 16:30:18 +01:00
Colin Darie
b8bfb55fb2
chore(manager): replace dossier champ row by a view component
2022-11-15 16:30:18 +01:00
Colin Darie
42867569a5
style(manager): no hr between nested dl/dd, it breaks layout
2022-11-15 16:30:18 +01:00
Colin Darie
d0193c776f
chore(manager): improve filled piece justificative champ detection
2022-11-15 16:30:18 +01:00
Colin Darie
d4eed1c631
style(manager): message on invisible champ due to conditional
2022-11-15 16:30:18 +01:00
Colin Darie
8d1e99dc06
style(manager): iconify fill/empty champ
2022-11-15 16:30:18 +01:00
Colin Darie
d2ad8d8455
feat(manager): shows ChampRepetition children
2022-11-15 16:30:18 +01:00
Colin Darie
949e9baa6f
style(manager): signin button as dsfr
2022-11-15 16:30:18 +01:00
Paul Chavard
6ad057dcee
feat(graphql): upgrade playground version
2022-11-15 11:48:29 +01:00
Lisa Durand
c2de73c09d
simplify and improve perf by making the feature works only for id search
2022-11-15 10:51:36 +01:00
Lisa Durand
ba0799b684
it displays a message if instructor is looking for a dossier that is not in his instructor group
2022-11-15 10:51:36 +01:00
Colin Darie
fb7ac3c610
style(dsfr): convert a user button to DSFR
2022-11-14 14:56:43 +01:00
Martin
05dcf5e7cf
amelioration(usager.liste_des_dossier): ajout du bouton pour cloner un dossier
2022-11-14 09:13:54 +01:00
Paul Chavard
e6288c39f2
refactor(dossier): champs -> champs_public
2022-11-10 22:44:39 +00:00
Christophe Robillard
cc35788d26
extract computation to controller
2022-11-10 18:02:20 +01:00
Christophe Robillard
3a15178cee
use common layout for all procedures and admins
2022-11-10 18:02:20 +01:00
Christophe Robillard
5f5b6bf7c7
use specific route for all admins
2022-11-10 18:02:20 +01:00
Christophe Robillard
c96781cfad
list all admins
2022-11-10 18:02:20 +01:00
Christophe Robillard
3b2df47ba0
add style for all admins link
2022-11-10 18:02:20 +01:00
Christophe Robillard
c1dad54483
fix padding for checkbox group
...
due to dsfr 1.8 upgrade
2022-11-09 13:32:55 +01:00
Paul Chavard
5e87539d6d
fix(groupe_instructeur): add explicit order to groupe_instructeurs
2022-11-09 10:56:40 +00:00
Christophe Robillard
f80adb4287
improve wording
2022-11-09 10:58:02 +01:00
Christophe Robillard
7ef114c910
add debounce for date_publication autosubmit
2022-11-09 10:41:06 +01:00
Christophe Robillard
a5fa21ca1b
add from_publication_date filter
2022-11-09 10:41:06 +01:00
Martin
b3f80dc5f9
amelioration(Procedure.revision_changes): ajout du support pour les texte complementaire affichable au clique des champs de type explication
...
Co-authored-by: Paul Chavard <github@paul.chavard.net>
2022-11-08 17:49:24 +01:00
simon lehericey
33e803cc79
fix: I18n
2022-11-08 16:17:06 +01:00
simon lehericey
db3ebfa6d2
feat(FranceConnect): list and allow to unlink FC identities
2022-11-08 16:17:06 +01:00
simon lehericey
ef1e66e651
fix(css): use dsfr button
2022-11-08 16:17:06 +01:00
Christophe Robillard
2138835f43
make status filter removable
2022-11-08 12:14:26 +01:00
Christophe Robillard
c0231dffa2
extract ProceduresFilter class
2022-11-08 12:14:26 +01:00
Christophe Robillard
296183cc26
improve accessibility
2022-11-08 12:14:26 +01:00
Paul Chavard
b020cb31b6
fix(publication): improuve publication warnings
2022-11-08 10:20:35 +00:00
Eric Leroy-Terquem
aca2775874
remove routee? method
2022-11-04 12:03:44 +01:00
Eric Leroy-Terquem
110953e450
constraint logic to active groups
2022-11-04 12:03:43 +01:00
Eric Leroy-Terquem
63ae328bee
update wording and cards order
2022-11-04 12:03:43 +01:00
Eric Leroy-Terquem
b419c48262
toggle routing when adding or deleting groupe_instructeurs
2022-11-04 12:03:43 +01:00
Paul Chavard
33fc8a45ab
feat(emails): show email errors on procedure page
2022-11-04 09:08:41 +00:00
Martin
e56441b7f5
correctif(Administrateurs::Archives#index): mauvaise comparaison
2022-11-02 14:07:53 +01:00
Kara Diaby
86afad6250
layout
2022-11-02 10:19:43 +01:00
Paul Chavard
86a09dd24c
fix(procedure): fix procedure cards grid view
2022-11-02 09:29:28 +01:00
Martin
1b1568b2c2
remaniement(Administrateurs::ArchivesController): ne passe pas par la table des traitement pour compter le nombre de dossier traites par mois. Depuis que nous avons redescendu la colonne processed_at sur la table dossiers, ce n'\est plus necessaire et le code est compliqué a comprendre
2022-11-01 12:43:49 +01:00
Christophe Robillard
afcb811a8e
correct haml and scss lints
2022-10-31 16:12:02 +01:00
Christophe Robillard
a5a93260cf
reinit filters
2022-10-31 16:12:02 +01:00
Christophe Robillard
29be3812af
i18n for status
2022-10-31 16:12:02 +01:00