This issue has been created
There is 1 update, 1 comment.
 
 
XWiki Platform / cid:jira-generated-image-avatar-acd72cef-1469-4129-8f01-6adffd77c910 XWIKI-22701 Open

Filterable Sortable table do not follow look and feel

 
View issue   ·   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-bd0438ba-274e-4774-968a-f29896dbe5bd Charpentier Lucas created this issue on 27/Nov/24 16:33
 
Summary: Filterable Sortable table do not follow look and feel
Issue Type: cid:jira-generated-image-avatar-acd72cef-1469-4129-8f01-6adffd77c910 Bug
Affects Versions: 16.10.0-rc-1
Assignee: Unassigned
Components: Web - Templates & Resources
Created: 27/Nov/24 16:33
Labels: consistency table
Priority: cid:jira-generated-image-static-major-b8847b64-1dad-40c6-9983-4b3937a1935b Major
Reporter: Charpentier Lucas
Description:

See an example on https://www.xwiki.org/xwiki/bin/view/Documentation/UserGuide/Features/XWikiSyntax/?syntax=2.1&section=Tables

There are multiple issues with the tables updated by `tablefilterNsort.js`. The goal is to move to LiveData and make LiveData easier to use for static table data (right now it's painful to use a JSON format, and there's indeed the limitation at https://jira.xwiki.org/browse/XWIKI-19783 ).

In the meantime, we want to have at least an okayish solution. Note that this issue can be closed in any case as soon as we have an easy way to use static table data with LiveData. Here is a list of minor problems that should be solved:

  • the filter button is not following our best practices
  • the LightBox appears for the sorting icons
  • the table L&F is also not respecting our practices for tables

Some issues that would be more complex to solve and we'll probably not solve before static source LiveDatas:

  • XWIKI-21958 – responsiveness of the table
  • Accessibility of the sorting handles
 
 

1 update

 
cid:jira-generated-image-avatar-bd0438ba-274e-4774-968a-f29896dbe5bd Changes by Charpentier Lucas on 27/Nov/24 16:35
 
Description: See an example on https://www.xwiki.org/xwiki/bin/view/Documentation/UserGuide/Features/XWikiSyntax/?syntax=2.1&section=Tables

There are multiple issues with the tables updated by `tablefilterNsort.js`. The goal is to move to LiveData and make LiveData easier to use for static table data (right now it's painful to use a JSON format, and there's indeed the limitation at https://jira.xwiki.org/browse/XWIKI-19783 ).

In the meantime, we want to have at least an okayish solution. Note that this issue can be closed in any case as soon as we have an easy way to use static table data with LiveData. Here is a list of minor problems that should be solved:
* the filter button is not following our best practices
* the LightBox appears for the sorting icons
* the table L&F is also not respecting our practices for tables

Some issues that would be more complex to solve and we'll probably not solve before static source LiveDatas:
* XWIKI-21958 -- responsiveness of the table
* Accessibility of the sorting handles


Those large changes could easily break backward compatibility of some user customization, and should be done carefully.
 
 

1 comment

 
cid:jira-generated-image-avatar-bd0438ba-274e-4774-968a-f29896dbe5bd Charpentier Lucas on 27/Nov/24 16:42
 

This could be the opportunity to reuse livedata elements.