-
Notifications
You must be signed in to change notification settings - Fork 0
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
Create prototypes for Load more button layouts. #18
Comments
3 prototypes to be created using the image table layout: assigning to @Tom-Preston |
Hey @Tom-Preston - just checking in since our last chat. Can you post an update? Do you need anything from my end? |
Hi @lbelmore |
Thanks @Tom-Preston! Add the links to what you have here when you're ready, and maybe @Borges-Porteous can share some insights :) |
Hi @lbelmore / @Borges-Porteous Files so far File used to isolate Gallery item in progress by Natalia File used to isolate filtered tables requirments Template being used to adapt the table filter modified on git hub |
Sorry... I had been drafting a reply and then completely forgot about this because of other things. The main comment I had was around the images in the modified template (4th link): I'd suggest:
For the image slider (2nd link), great work on updating it, but it still needs work to be mobile friendly:
For the main template (1st link), it looks good. I noticed a couple small details, not sure if unintentional:
Hope that helps! Glad to see all the templates and progress! |
Thanks @Borges-Porteous ! Tom will be making some updates today and will share the once these have been updated. |
@lbelmore @Borges-Porteous I am so far unable to figure out how to add the buttons for more and to inject the functionality for these buttons. Any new Ideas would be greatly appreciated. Thanks Tom Preston |
I've also been looking through some of the code and documentation. Was able to find paramaters that can be passed in the table initialising code that can change column widths, disable sorting and other such things. Here is a list of options: https://datatables.net/reference/option/ They just get added to this bit of script, in a json syntax (for example, for ordering and column sizes): <script> $.noConflict(); $('#myTable3').dataTable( { "dom": '<"wrapper"fitlp>', "ordering": false, "columnDefs": [ { "width": "500%", "targets": 0 } ] }); </script>There seem to be options directly relating to the pagination https://datatables.net/reference/option/paging Although I can't seem to find an option specific for changing pagination into load more in the jquery datatables documentation, I have found a 3rd party plugin that does exactly this. You can read about it here: I don't know how that works in terms of us using it... or the whole responsive table for that matter. I was intending to raise this further with PP in terms of getting it into WET, so perhaps we can go as a group to talk with Pierre, maybe next Tuesday? I hope that helps to get started with the updated show more prototype though! |
Thank you, I am going to try and replicate the examples locally before trying in the templates. Tom Preston |
Adding the updates on the load more prototype to keep progress in github: Miguel created an initial version https://hc-sc.github.io/rsa-renewal/examples/chargers-various.html Tom is working on the additional adjustments:
@Tom-Preston – as discussed let’s keep all updates and issues within this github ticket. |
Conduct user testing to determine:
• Does a load more button make it more likely for a user to abandon the table before seeing all results or identifying their product?
• Does the load more button cause users to be less likely to use the filter options?
• Does the load more work for the image+affected product table only or all responsive tables (if it works).
The text was updated successfully, but these errors were encountered: