Skip to content

Commit

Permalink
feat(#8181): remove old search and filter (#9326)
Browse files Browse the repository at this point in the history
  • Loading branch information
latin-panda authored Aug 15, 2024
1 parent 0420e98 commit 4779672
Show file tree
Hide file tree
Showing 54 changed files with 184 additions and 1,360 deletions.
2 changes: 0 additions & 2 deletions api/resources/translations/messages-bm.properties
Original file line number Diff line number Diff line change
Expand Up @@ -387,7 +387,6 @@ case_id =
child_birth_date = Den wolo Don/Kalo/San
child_birth_outcome = Den wololen ka kunafoniw
child_birth_weight = den ka banke kunafoniw jabi
clear = Ka jɔsi
cleared = Don minna kunafoni dɔsila
clientDdoc.version =
clinic.field.children =
Expand Down Expand Up @@ -1150,7 +1149,6 @@ select.mode.deselect.all = ka sukandilen josi
select.mode.select.all = ka bɛ sukandi
select.mode.start = soukandili
select.mode.stop = ka datuku
select\ all = A be sugantili
selection.doc.content.raw =
send\ the\ following\ message\ to\ the = Nin bataki nata ci ka taa
sent = Cilen
Expand Down
3 changes: 0 additions & 3 deletions api/resources/translations/messages-en.properties
Original file line number Diff line number Diff line change
Expand Up @@ -403,7 +403,6 @@ case_id = Case ID
child_birth_date = Child birth date
child_birth_outcome = Child birth outcome
child_birth_weight = Child birth weight
clear = clear
cleared = Cleared timestamp
clientDdoc.version = Client webapp revision
clinic.field.children = People
Expand Down Expand Up @@ -1017,7 +1016,6 @@ permission.description.can_view_uhc_stats = Allowed to view UHC stats in the Con
permission.description.can_view_message_action = Display a button to send a message to the selected person.
permission.description.can_view_messages = Allowed to view Messages.
permission.description.can_view_messages_tab = Display the Messages tab in the app. If not set it a menu item will be shown in the app menu instead.
permission.description.can_view_old_filter_and_search = Allowed to view the old filter and search.
permission.description.can_view_outgoing_messages = Allowed to view the Outgoing Messages screen in the admin app.
permission.description.can_view_reports = Allowed to view Reports.
permission.description.can_view_reports_tab = Display the Reports tab in the app. If not set it a menu item will be shown in the app menu instead.
Expand Down Expand Up @@ -1253,7 +1251,6 @@ select.mode.deselect.all = Clear selection
select.mode.select.all = Select all
select.mode.start = Select
select.mode.stop = Close
select\ all = select all
selection.doc.content.raw = Raw report content
send\ the\ following\ message\ to\ the = send the following message to the
sent = Sent timestamp
Expand Down
3 changes: 0 additions & 3 deletions api/resources/translations/messages-es.properties
Original file line number Diff line number Diff line change
Expand Up @@ -403,7 +403,6 @@ case_id = Identificación del caso
child_birth_date = Fecha de nacimiento del niño
child_birth_outcome = Resultado del nacimiento del niño
child_birth_weight = Peso del niño al nacer
clear = Borrar
cleared = Fecha y hora del borrado
clientDdoc.version = Revisión del webapp en el cliente
clinic.field.children = Personas
Expand Down Expand Up @@ -1017,7 +1016,6 @@ permission.description.can_view_uhc_stats = Ver las estadísticas de UHC en la s
permission.description.can_view_message_action = Mostrar el botón para enviar un mensaje a la persona seleccionada.
permission.description.can_view_messages = Ver Mensajes.
permission.description.can_view_messages_tab = Mostrar la pestaña de Mensajes en la aplicación. Si no lo configura, se mostrará en el menú de la aplicación.
permission.description.can_view_old_filter_and_search = Ver el diseño viejo de búsqueda y filtro.
permission.description.can_view_outgoing_messages = Ver la página de mensajes salientes en la Gestión de la Aplicación.
permission.description.can_view_reports = Ver Informes.
permission.description.can_view_reports_tab = Mostrar la pestaña de Informes en la aplicación. Si no lo configura, se mostrará en el menú de la aplicación.
Expand Down Expand Up @@ -1253,7 +1251,6 @@ select.mode.deselect.all = Quitar selección
select.mode.select.all = Seleccionar todos
select.mode.start = Seleccionar
select.mode.stop = Cerrar
select\ all = seleccionar todo
selection.doc.content.raw = Contenido del informe sin procesar
send\ the\ following\ message\ to\ the = enviar el siguiente mensaje a
sent = Fecha y hora de envío
Expand Down
3 changes: 0 additions & 3 deletions api/resources/translations/messages-fr.properties
Original file line number Diff line number Diff line change
Expand Up @@ -403,7 +403,6 @@ case_id = ID du cas
child_birth_date = Date de naissance de l'enfant
child_birth_outcome = Résultat de la naissance de l'enfant
child_birth_weight = Poids de l'enfant à la naissance
clear = éffacer
cleared = Date d'effacement
clientDdoc.version = Version DDoc client
clinic.field.children = Membres de famille
Expand Down Expand Up @@ -1017,7 +1016,6 @@ permission.description.can_view_uhc_stats = Autorisé à afficher les statistiqu
permission.description.can_view_message_action = Afficher un bouton pour envoyer un message à la personne sélectionnée.
permission.description.can_view_messages = Autorisé à afficher les Messages.
permission.description.can_view_messages_tab = Affichez l'onglet Messages dans l'application. S'il n'est pas défini, un élément de menu sera affiché dans le menu de l'application à la place.
permission.description.can_view_old_filter_and_search = Autorisé à afficher l'ancien filtre et à rechercher.
permission.description.can_view_outgoing_messages = Autorisé à afficher l'écran des messages sortants dans l'application d'administration.
permission.description.can_view_reports = Autorisé à afficher les rapports.
permission.description.can_view_reports_tab = Affichez l'onglet Rapports dans l'application. S'il n'est pas défini, un élément de menu sera affiché dans le menu de l'application à la place.
Expand Down Expand Up @@ -1253,7 +1251,6 @@ select.mode.deselect.all = Effacer la séléction
select.mode.select.all = Sélectionner tout
select.mode.start = Selectionner
select.mode.stop = Fermer
select\ all = tout sélectionner
selection.doc.content.raw = Contenu du rapport brut
send\ the\ following\ message\ to\ the = envoyer le message suivant à la
sent = Envoyé
Expand Down
2 changes: 0 additions & 2 deletions api/resources/translations/messages-hi.properties
Original file line number Diff line number Diff line change
Expand Up @@ -387,7 +387,6 @@ case_id =
child_birth_date = बच्चे के जन्म की तारीख
child_birth_outcome = बच्चे के जन्म का परिणाम
child_birth_weight = बच्चे के जन्म के समय वजन
clear = हटाना
cleared = हटाने का समय
clientDdoc.version = क्लाइंट DDoc वर्जन
clinic.field.children = लोग
Expand Down Expand Up @@ -1150,7 +1149,6 @@ select.mode.deselect.all = चयन को साफ करें
select.mode.select.all = सभी का चयन करे
select.mode.start = चयन
select.mode.stop = बंद
select\ all = सभी का चयन करें
selection.doc.content.raw = कच्चा रिपोर्ट के विवरण
send\ the\ following\ message\ to\ the = यह संदेश भेजें इन को
sent = भेजने का समय
Expand Down
4 changes: 1 addition & 3 deletions api/resources/translations/messages-id.properties
Original file line number Diff line number Diff line change
Expand Up @@ -390,8 +390,7 @@ call = Telepon
case_id =
child_birth_date = Tanggal Lahir Anak
child_birth_outcome = Outcome Anak dilahirkan
child_birth_weight = Berat Lahir Anak
clear = bersih
child_birth_weight = Berat Lahir Anak
cleared = Waktu Dikosongkan
clientDdoc.version = Versi Klien DDoc
clinic.field.children = Anggota keluarga
Expand Down Expand Up @@ -1154,7 +1153,6 @@ select.mode.deselect.all = Bersihkan pilihan
select.mode.select.all = Pilih semua
select.mode.start = Pilih
select.mode.stop = Tutup
select\ all = pilih semua
selection.doc.content.raw = Isi Laporan Mentah
send\ the\ following\ message\ to\ the = kirim pesan ini kepada
sent = Waktu Pengiriman
Expand Down
4 changes: 1 addition & 3 deletions api/resources/translations/messages-ne.properties
Original file line number Diff line number Diff line change
Expand Up @@ -395,7 +395,6 @@ case_id =
child_birth_date = बच्चाको जन्म मिति
child_birth_outcome = बच्चाको जन्मावस्था
child_birth_weight = बच्चाको जन्म तौल
clear = मेटाउनुहोस
cleared = मेटाइएको समय
clientDdoc.version =
clinic.field.children = परिवारका सदस्य
Expand Down Expand Up @@ -1163,8 +1162,7 @@ select.mode.delete.all =
select.mode.deselect.all =
select.mode.select.all =
select.mode.start =
select.mode.stop =
select\ all = सबै छान्नुहोस्
select.mode.stop =
selection.doc.content.raw = अप्रशोधित प्रतिवेदन
send\ the\ following\ message\ to\ the = निम्न संदेश _____ लाई पठाउनुहोस
sent = पठाइएको समय
Expand Down
3 changes: 0 additions & 3 deletions api/resources/translations/messages-sw.properties
Original file line number Diff line number Diff line change
Expand Up @@ -405,7 +405,6 @@ case_id = Kitambulisho cha kesi
child_birth_date = Tarehe ya kuzaliwa mtoto
child_birth_outcome = Matokeo ya mtoto mzaliwa
child_birth_weight = Uzani wa mtoto mzaliwa
clear = toa
cleared = kumaliza wakati wa kutuma
clientDdoc.version = Toleo la DDoc la Client
clinic.field.children = Watu
Expand Down Expand Up @@ -1017,7 +1016,6 @@ permission.description.can_view_uhc_stats = Inaruhusiwa kutazama takwimu za UHC
permission.description.can_view_message_action = Onyesha kitufe ili kutuma ujumbe kwa mtu aliyechaguliwa.
permission.description.can_view_messages = Inaruhusiwa kutazama jumbe.
permission.description.can_view_messages_tab = Onyesha kichupo cha ujumbe kwenye programu. Ikiwa haijawekwa, kipengee cha menyu kitaonyeshwa kwenye menyu ya programu badala yake.
permission.description.can_view_old_filter_and_search = Inaruhusiwa kutazama kichujio cha zamani na kutafuta.
permission.description.can_view_outgoing_messages = Inaruhusiwa kutazama skrini ya ujumbe unaotoka katika programu ya msimamizi.
permission.description.can_view_reports = Inaruhusiwa kutazama Ripoti.
permission.description.can_view_reports_tab = Onyesha kichupo cha Ripoti kwenye programu. Ikiwa haijawekwa, kipengee cha menyu kitaonyeshwa kwenye menyu ya programu badala yake.
Expand Down Expand Up @@ -1253,7 +1251,6 @@ select.mode.deselect.all = Vuta uchaguzi
select.mode.select.all = Chagua zote
select.mode.start = Chagua
select.mode.stop = Funga
select\ all = chagua yote
selection.doc.content.raw = Jumbe zisizo rekebishwa
send\ the\ following\ message\ to\ the = Tuma ujumbe ufuatayo
sent = Wakati wa kutuma
Expand Down
1 change: 0 additions & 1 deletion config/default/app_settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,6 @@
"can_upgrade": [
"program_officer"
],
"can_view_old_filter_and_search": [],
"can_default_facility_filter": [],
"can_have_multiple_places": [],
"can_export_devices_details": [
Expand Down
3 changes: 1 addition & 2 deletions config/demo/app_settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -275,8 +275,7 @@
],
"can_upgrade": [
"program_officer"
],
"can_view_old_filter_and_search": []
]
},
"uhc": {
"contacts_default_sort": "",
Expand Down
79 changes: 0 additions & 79 deletions tests/e2e/default/reports/date-filter.wdio-spec.js

This file was deleted.

62 changes: 0 additions & 62 deletions webapp/src/css/dropdown.less
Original file line number Diff line number Diff line change
Expand Up @@ -54,68 +54,6 @@
}
}

&.multidropdown .dropdown-menu {
padding-bottom: 50px;
.filter-options ul {
margin-left: 10px;
}
> ul {
max-height: 300px;
overflow-x: hidden;
}
a:before,
li:before {
content: none;
}
li {
> a[role="menuitem"] {
padding: 5px 20px 3px 35px;
text-indent: -20px;
}
a,
&.dropdown-header {
padding-left: 10px;
padding-right: 10px;
}
&.dropdown-header {
margin-top: 10px;
font-size: @font-small;
&:first-child {
margin-top: 0;
}
}
a:before {
content: '\f096'; // http://fontawesome.io/icon/square-o/
}
&.selected a:before {
content: '\f046'; // http://fontawesome.io/icon/check-square-o/
}
&.disabled {
&,
a {
color: @inactive-color;
cursor: default;
}
a:hover {
background-color: inherit;
}
}
}
.dropdown-child a {
text-indent: 10px;
}
.actions {
margin: 0;
text-align: center;
position: absolute;
bottom: 0px;
left: 0;
right: 0;
border-top: 1px solid silver;
background-color: white;
}
}

&.dropdown.pair-left {
padding-right: 0;
.mm-button {
Expand Down
30 changes: 0 additions & 30 deletions webapp/src/css/inbox.less
Original file line number Diff line number Diff line change
Expand Up @@ -460,7 +460,6 @@ body {
}
}

.reset-filter,
.sort-results {
line-height: 40px;
> a {
Expand Down Expand Up @@ -967,11 +966,6 @@ a.fa:hover {
clear: both;
}

.filter-daterangepicker {
padding: 0;
margin: 0;
}

.daterangepicker.dropdown-menu {
z-index: 1050;
}
Expand Down Expand Up @@ -1390,9 +1384,6 @@ mm-search-bar {

.freetext-filter {
width: 95%;
&.mobile-dropdown {
display: none;
}
}

.mobile-freetext-filter {
Expand All @@ -1401,15 +1392,6 @@ mm-search-bar {
padding: 10px;
}
}

&.legacy {
// ToDo: Remove when upgrading contact's search design
display: inline-block;
width: auto;
}
}
.reset-filter {
padding-left: 10px;
}
.sort-dropdown {
position: absolute;
Expand Down Expand Up @@ -1530,18 +1512,6 @@ mm-search-bar {
}
}

.filter-daterangepicker {
width: 255px;
height: 320px;
.calendar {
transition: left 500ms ease 0s;
position: absolute;
float: none;
}
.range_inputs {
display: none;
}
}
.show-from {
.left {
left: 0;
Expand Down
Loading

0 comments on commit 4779672

Please sign in to comment.