better user admin view #1999

This commit is contained in:
Bachir Soussi Chiadmi 2022-11-21 11:41:10 +01:00
parent a88d00f3b9
commit b1876efa70
6 changed files with 126 additions and 99 deletions

View File

@ -309,6 +309,9 @@
}, },
"drupal/user_history": { "drupal/user_history": {
"init batch : field_storage_values misses type https://www.drupal.org/project/user_history/issues/3311360": "https://www.drupal.org/files/issues/2022-09-23/user_history__field_storage_values__miss__type.patch" "init batch : field_storage_values misses type https://www.drupal.org/project/user_history/issues/3311360": "https://www.drupal.org/files/issues/2022-09-23/user_history__field_storage_values__miss__type.patch"
},
"drupal/views_ef_fieldset": {
"Exposed operators are not included in fieldsets https://www.drupal.org/project/views_ef_fieldset/issues/3173822": "https://git.drupalcode.org/project/views_ef_fieldset/-/merge_requests/1/diffs.patch"
} }
}, },
"drupal-scaffold": { "drupal-scaffold": {

2
composer.lock generated
View File

@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically" "This file is @generated automatically"
], ],
"content-hash": "60f22fbc76b88ad24980e72abba5617d", "content-hash": "2a85a66616e58421277ffea0dcc6e732",
"packages": [ "packages": [
{ {
"name": "alchemy/zippy", "name": "alchemy/zippy",

View File

@ -231,7 +231,6 @@ module:
views_bulk_operations: 0 views_bulk_operations: 0
views_conditional: 0 views_conditional: 0
views_data_export: 0 views_data_export: 0
views_ef_fieldset: 0
views_field_view: 0 views_field_view: 0
vue_link_formatter: 0 vue_link_formatter: 0
webform: 0 webform: 0

View File

@ -1,7 +1,6 @@
_core: _core:
default_config_hash: RaRd9EIcwA4u3qCSRLL8EnCicbda1kV__ASmVbyehvQ default_config_hash: RaRd9EIcwA4u3qCSRLL8EnCicbda1kV__ASmVbyehvQ
display_extenders: display_extenders: { }
- views_ef_fieldset
skip_cache: false skip_cache: false
sql_signature: false sql_signature: false
ui: ui:

View File

@ -29,6 +29,7 @@ dependencies:
- user.role.unverified - user.role.unverified
module: module:
- address - address
- better_exposed_filters
- commerce_license - commerce_license
- commerce_tax - commerce_tax
- csv_serialization - csv_serialization
@ -45,7 +46,6 @@ dependencies:
- user - user
- user_email_verification - user_email_verification
- views_bulk_operations - views_bulk_operations
- views_conditional
- views_data_export - views_data_export
id: admin_users id: admin_users
label: 'Admin Users' label: 'Admin Users'
@ -2765,73 +2765,6 @@ display:
format_plural_string: !!binary MQNAY291bnQ= format_plural_string: !!binary MQNAY291bnQ=
prefix: '' prefix: ''
suffix: '' suffix: ''
access:
id: access
table: users_field_data
field: access
relationship: none
group_type: group
admin_label: ''
entity_type: user
entity_field: access
plugin_id: field
label: 'Last access'
exclude: true
alter:
alter_text: false
text: ''
make_link: false
path: ''
absolute: false
external: false
replace_spaces: false
path_case: none
trim_whitespace: false
alt: ''
rel: ''
link_class: ''
prefix: ''
suffix: ''
target: ''
nl2br: false
max_length: 0
word_boundary: true
ellipsis: true
more_link: false
more_link_text: ''
more_link_path: ''
strip_tags: false
trim: false
preserve_tags: ''
html: false
element_type: ''
element_class: ''
element_label_type: ''
element_label_class: ''
element_label_colon: true
element_wrapper_type: ''
element_wrapper_class: ''
element_default_classes: true
empty: ''
hide_empty: true
empty_zero: true
hide_alter_empty: true
click_sort_column: value
type: commerce_license_expiration
settings:
date_format: html_date
custom_date_format: d-m-Y
timezone: ''
group_column: value
group_columns: { }
group_rows: true
delta_limit: 0
delta_offset: 0
delta_reversed: false
delta_first_last: false
multi_type: separator
separator: ', '
field_api_classes: false
access_1: access_1:
id: access_1 id: access_1
table: users_field_data table: users_field_data
@ -2899,19 +2832,21 @@ display:
multi_type: separator multi_type: separator
separator: ', ' separator: ', '
field_api_classes: false field_api_classes: false
views_conditional_field: access:
id: views_conditional_field id: access
table: views_conditional table: users_field_data
field: views_conditional_field field: access
relationship: none relationship: none
group_type: group group_type: group
admin_label: '' admin_label: ''
plugin_id: views_conditional_field entity_type: user
entity_field: access
plugin_id: field
label: 'Last access' label: 'Last access'
exclude: false exclude: false
alter: alter:
alter_text: false alter_text: true
text: '' text: "{% if access_1 == '1970' %}\r\n never\r\n{% else %}\r\n {{ access }}\r\n{% endif %}"
make_link: false make_link: false
path: '' path: ''
absolute: false absolute: false
@ -2940,22 +2875,30 @@ display:
element_class: '' element_class: ''
element_label_type: '' element_label_type: ''
element_label_class: '' element_label_class: ''
element_label_colon: false element_label_colon: true
element_wrapper_type: '' element_wrapper_type: ''
element_wrapper_class: '' element_wrapper_class: ''
element_default_classes: true element_default_classes: true
empty: '' empty: ''
hide_empty: false hide_empty: true
empty_zero: false empty_zero: true
hide_alter_empty: true hide_alter_empty: true
if: access_1 click_sort_column: value
condition: eq type: commerce_license_expiration
equalto: '1970' settings:
then: never date_format: html_date
then_translate: 1 custom_date_format: d-m-Y
or: '{{ access }}' timezone: ''
or_translate: 1 group_column: value
strip_tags: 0 group_columns: { }
group_rows: true
delta_limit: 0
delta_offset: 0
delta_reversed: false
delta_first_last: false
multi_type: separator
separator: ', '
field_api_classes: false
role_expire_expiry_data: role_expire_expiry_data:
id: role_expire_expiry_data id: role_expire_expiry_data
table: users table: users
@ -3325,7 +3268,7 @@ display:
separator: ', ' separator: ', '
field_api_classes: false field_api_classes: false
exposed_form: exposed_form:
type: basic type: bef
options: options:
submit_button: Apply submit_button: Apply
reset_button: true reset_button: true
@ -3334,6 +3277,71 @@ display:
expose_sort_order: true expose_sort_order: true
sort_asc_label: Asc sort_asc_label: Asc
sort_desc_label: Desc sort_desc_label: Desc
text_input_required: 'Sélectionnez n''importe quel filtre et cliquez sur Appliquer pour voir les résultats'
text_input_required_format: wysiwyg
bef:
general:
autosubmit: false
autosubmit_exclude_textfield: false
autosubmit_textfield_delay: 500
autosubmit_hide: false
input_required: false
allow_secondary: false
secondary_label: 'Options avancées'
secondary_open: false
reset_button_always_show: true
filter:
status:
plugin_id: default
advanced:
sort_options: false
rewrite:
filter_rewrite_values: ''
collapsible: false
is_secondary: false
roles_target_id:
plugin_id: default
advanced:
sort_options: false
rewrite:
filter_rewrite_values: ''
collapsible: false
is_secondary: false
mail:
plugin_id: default
advanced:
placeholder_text: ''
collapsible: false
is_secondary: false
uid:
plugin_id: default
advanced:
placeholder_text: ''
rewrite:
filter_rewrite_values: ''
collapsible: false
is_secondary: false
field_company_target_id:
plugin_id: default
advanced:
placeholder_text: ''
rewrite:
filter_rewrite_values: ''
collapsible: false
is_secondary: false
field_showroom_target_id:
plugin_id: default
advanced:
placeholder_text: ''
rewrite:
filter_rewrite_values: ''
collapsible: false
is_secondary: false
field_memo_value:
plugin_id: default
advanced:
collapsible: false
is_secondary: false
filters: filters:
status: status:
id: status id: status
@ -3679,10 +3687,12 @@ display:
operator_id: field_memo_value_op operator_id: field_memo_value_op
label: Memo label: Memo
description: '' description: ''
use_operator: false use_operator: true
operator: field_memo_value_op operator: field_memo_value_op
operator_limit_selection: false operator_limit_selection: true
operator_list: { } operator_list:
contains: contains
not: not
identifier: field_memo_value identifier: field_memo_value
required: false required: false
remember: false remember: false
@ -3781,7 +3791,7 @@ display:
default_sort_order: asc default_sort_order: asc
align: '' align: ''
separator: '' separator: ''
empty_column: false empty_column: true
responsive: '' responsive: ''
field_company: field_company:
sortable: false sortable: false
@ -3805,7 +3815,7 @@ display:
empty_column: false empty_column: false
responsive: '' responsive: ''
record_id: record_id:
sortable: false sortable: true
default_sort_order: asc default_sort_order: asc
align: '' align: ''
separator: '' separator: ''
@ -3979,6 +3989,12 @@ display:
pid: container-0 pid: container-0
depth: '2' depth: '2'
type: filter type: filter
field_memo_value_op:
weight: '-18'
id: field_memo_value_op
pid: root
depth: '1'
type: filter
container-4: container-4:
container_type: container container_type: container
title: '' title: ''
@ -3990,7 +4006,7 @@ display:
depth: '1' depth: '1'
type: container type: container
submit: submit:
weight: '-19' weight: '0'
id: submit id: submit
pid: container-4 pid: container-4
depth: '2' depth: '2'
@ -4055,6 +4071,16 @@ display:
pid: root pid: root
depth: '1' depth: '1'
type: container type: container
container-8:
container_type: details
title: 'Container 8'
description: ''
weight: '-8'
open: 0
id: container-8
pid: root
depth: '1'
type: container
path: admin/people/users path: admin/people/users
menu: menu:
type: tab type: tab

@ -1 +1 @@
Subproject commit fba104debf477ae481ef009894b10836b5c7866e Subproject commit b06c8e53e2733a193329c2e318a6186d0a405c2e