-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[4.0] List Contacts in a Category display #30648
[4.0] List Contacts in a Category display #30648
Conversation
@@ -81,4 +82,3 @@ COM_CONTACT_TELEPHONE="Phone" | |||
COM_CONTACT_TELEPHONE_NUMBER="Phone: %s" | |||
COM_CONTACT_USER_FIELDS="Fields" | |||
COM_CONTACT_VCARD="vCard" | |||
COM_CONTACT_WRITTEN_BY="Written by %s" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
did you mean to remove this
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yep. After some discussion we found it was useless to display the author of the contact in frontend.
Could you please look at how the tables in the admin list view are created so that this new table is also accessible |
I am not a specialist of accessibility. Do you mean adding also a caption like ?
|
Its not about being a specialist its just about following the good examples and ignoring the bad example ;) adding scope and caption |
I welcome a PR to my branch as It would be easier this way. |
I have tested this item ✅ successfully on 4192e52 This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/30648. |
Corrections done for a11y (as much as I did know).
Because we do not use searchtools.sort here but grid.sort. Corrected also alpha sorting for Title as it was a bad copy paste. |
I have tested this item 🔴 unsuccessfully on 595f907 This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/30648. |
@Formatio-hippocampi I am not sure this should have been done. If it should we can solve by a css modification. If not I can modify back. |
@Formatio-hippocampi can you test again? Needs npm to test. |
test only by Patchtester. |
@hans2103 The main question here is
as we can't use
using br or ul/li is not the main matter. We can do both.
|
We do need the |
The |
It would be great if |
The PR is a11y fine if we assume backend similar tables are fine. |
as .list-title is also used for newsfeeds and tags, in a weird way, I prefer not touch at that now. It would be for another PR where all occurences are taken care of. |
OK, after this small change for the
|
I have tested this item ✅ successfully on 7214004 This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/30648. |
I have tested this item ✅ successfully on 7214004 This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/30648. |
RTC. Thanks for testing. This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/30648. |
Summary of Changes
Displaying the list of contacts in a table, using a similar default display as
List Articles in a Category
menu itemTesting Instructions
Create a Contact Category.
Create contacts, some with parameters, some without.
Also test Unpublishing a contact, Setting published up the future, Settings publish down to a date in the past, Trash contact
Create a
List Contacts in a Category
menu item.Display this menu item in frontend.
Actual result BEFORE applying this Pull Request
Expected result AFTER applying this Pull Request
When using custom field after title
Documentation Changes Required
Maybe, because of the new placing of the events.