react-admin-cubicweb issueshttps://forge.extranet.logilab.fr/cubicweb/react-admin-cubicweb/-/issues2023-01-12T15:43:43Zhttps://forge.extranet.logilab.fr/cubicweb/react-admin-cubicweb/-/issues/84Improve the uniq item selection from the related entity modal2023-01-12T15:43:43ZAurélien LubertImprove the uniq item selection from the related entity modalWhen the user needs to select an item from the related entity modal, there is no explanation on how to do this behavior.
To select the item, we needs to click on the item row and not on the checkbox…When the user needs to select an item from the related entity modal, there is no explanation on how to do this behavior.
To select the item, we needs to click on the item row and not on the checkbox…https://forge.extranet.logilab.fr/cubicweb/react-admin-cubicweb/-/issues/83Show a preview of specific mimetypes in the view page2023-01-12T15:56:49ZAurélien LubertShow a preview of specific mimetypes in the view pageIn the current CubicWeb web views, specific files (as image) are render in the web page directly. This behavior is missing from react-admin.In the current CubicWeb web views, specific files (as image) are render in the web page directly. This behavior is missing from react-admin.https://forge.extranet.logilab.fr/cubicweb/react-admin-cubicweb/-/issues/82The selected items banner from related entitty modal hide the filters and exp...2023-01-12T15:33:40ZAurélien LubertThe selected items banner from related entitty modal hide the filters and export buttonsWhen the “filters” button was clicked and some items are selected from the related entity modal table, the banner which show how many items are selected hide these buttons.
If these buttons are not accessible, we cannot unset the filter...When the “filters” button was clicked and some items are selected from the related entity modal table, the banner which show how many items are selected hide these buttons.
If these buttons are not accessible, we cannot unset the filter mode without unselect the items from the table.https://forge.extranet.logilab.fr/cubicweb/react-admin-cubicweb/-/issues/81Check if the export button from related entity modal returns the list of enti...2023-01-12T15:29:51ZAurélien LubertCheck if the export button from related entity modal returns the list of entity from connected user permissionWe are not sure, if the “export” button from the related entity modal returns the full list of entities even if the connected user do not have some “read” privilege, or not…We are not sure, if the “export” button from the related entity modal returns the full list of entities even if the connected user do not have some “read” privilege, or not…https://forge.extranet.logilab.fr/cubicweb/react-admin-cubicweb/-/issues/79Relation array field overlaps with infobox when filters are shown2022-07-27T12:23:59ZArnaud VergnetRelation array field overlaps with infobox when filters are shown![Screenshot_2022-07-27_at_14-21-15_DEV_React-Admin_Cubicweb_Demo](/uploads/c67df5547f9d4cb53e50421bd327638f/Screenshot_2022-07-27_at_14-21-15_DEV_React-Admin_Cubicweb_Demo.png)![Screenshot_2022-07-27_at_14-21-15_DEV_React-Admin_Cubicweb_Demo](/uploads/c67df5547f9d4cb53e50421bd327638f/Screenshot_2022-07-27_at_14-21-15_DEV_React-Admin_Cubicweb_Demo.png)https://forge.extranet.logilab.fr/cubicweb/react-admin-cubicweb/-/issues/78Find a way to handle permissions2022-07-26T14:13:18ZArnaud VergnetFind a way to handle permissionsPermissions are handled on the back-end and are not exposed in the schema.
If a user tries to retrieve several attributes for an entity and one is forbidden, the whole request will fail and the client will not be able to recover from th...Permissions are handled on the back-end and are not exposed in the schema.
If a user tries to retrieve several attributes for an entity and one is forbidden, the whole request will fail and the client will not be able to recover from the error.
For simple permissions indicating authorized groups for actions (eg: `'read': ('managers', 'users', 'guests')`), a solution would be to fetch the current user group and act accordingly.
In case the permissions are RQL requests, the only way is to generate the request on the server.https://forge.extranet.logilab.fr/cubicweb/react-admin-cubicweb/-/issues/77Add i18n support2022-07-26T13:53:22ZArnaud VergnetAdd i18n supportEntity types and relation definitions translations should be served by the CubicWeb instance. UI translations should be handled in client code using a library such as https://react.i18next.com/Entity types and relation definitions translations should be served by the CubicWeb instance. UI translations should be handled in client code using a library such as https://react.i18next.com/https://forge.extranet.logilab.fr/cubicweb/react-admin-cubicweb/-/issues/70In the list view, truncate RichString after a certain amount of characters2022-07-19T08:29:35ZFabien Amargerfabien.amarger@logilab.frIn the list view, truncate RichString after a certain amount of characters![image](/uploads/f33ea3de3803e92db532b4f41b27f18c/image.png)
The RichString attribute can be big, and in the list view this entry is noisy in the interface. It would be interesting to truncate if it is more than a certain amount of cha...![image](/uploads/f33ea3de3803e92db532b4f41b27f18c/image.png)
The RichString attribute can be big, and in the list view this entry is noisy in the interface. It would be interesting to truncate if it is more than a certain amount of characters (for example 100)https://forge.extranet.logilab.fr/cubicweb/react-admin-cubicweb/-/issues/69If entity information block is to big, it overflows the list2022-07-27T12:23:59ZFabien Amargerfabien.amarger@logilab.frIf entity information block is to big, it overflows the list![image](/uploads/88bcc0f39ee87802fdc639553c1a396b/image.png)![image](/uploads/88bcc0f39ee87802fdc639553c1a396b/image.png)https://forge.extranet.logilab.fr/cubicweb/react-admin-cubicweb/-/issues/67Edit RichString with a textarea2023-01-12T15:25:26ZFabien Amargerfabien.amarger@logilab.frEdit RichString with a textareaIn the entity edition view, the RichString are rendered as text input, which is not easy to use.
I would prefer a textarea because RichString are, most of the time, pretty big, and it is difficult to edit long text in a text input.
![im...In the entity edition view, the RichString are rendered as text input, which is not easy to use.
I would prefer a textarea because RichString are, most of the time, pretty big, and it is difficult to edit long text in a text input.
![image](/uploads/b14ca68d305c7acdd3b3e2f2c4596ec3/image.png)
Ideally, we would want to implement editorjs in this edition view ? (or other lib, but we experimented editorjs)https://forge.extranet.logilab.fr/cubicweb/react-admin-cubicweb/-/issues/66Render RichString regarding to the format attribute2022-07-27T12:14:37ZFabien Amargerfabien.amarger@logilab.frRender RichString regarding to the format attributeIn the entity rendering, the RichString attribute is not parser as formatted text.
![image](/uploads/d0b888ea59ceef01873bf028522d3539/image.png)
The format attribute can be used to render formatted string, except complex to read text.In the entity rendering, the RichString attribute is not parser as formatted text.
![image](/uploads/d0b888ea59ceef01873bf028522d3539/image.png)
The format attribute can be used to render formatted string, except complex to read text.https://forge.extranet.logilab.fr/cubicweb/react-admin-cubicweb/-/issues/65Define a max width for list view2022-07-19T08:10:45ZFabien Amargerfabien.amarger@logilab.frDefine a max width for list view![image](/uploads/d3a76e6d812d291701ab5227f6c86515/image.png)
The other columns are not shown. We have to scroll horizontally to see them. If we do so, le entity type list is not visible anymore.
We want a max width and a overflow-x: au...![image](/uploads/d3a76e6d812d291701ab5227f6c86515/image.png)
The other columns are not shown. We have to scroll horizontally to see them. If we do so, le entity type list is not visible anymore.
We want a max width and a overflow-x: auto on the list view (I guess ?)https://forge.extranet.logilab.fr/cubicweb/react-admin-cubicweb/-/issues/62Update time field and input using upstreamed components2022-07-27T12:09:09ZArnaud VergnetUpdate time field and input using upstreamed componentsSee https://github.com/marmelab/react-admin/issues/7914See https://github.com/marmelab/react-admin/issues/7914https://forge.extranet.logilab.fr/cubicweb/react-admin-cubicweb/-/issues/61Handle workflows and states2023-01-12T15:23:28ZArnaud VergnetHandle workflows and stateshttps://forge.extranet.logilab.fr/cubicweb/react-admin-cubicweb/-/issues/58Handle RQLVocabularyConstraint2022-07-21T15:16:49ZArnaud VergnetHandle RQLVocabularyConstraintUse the RQL contraint in the filter from the list picker.Use the RQL contraint in the filter from the list picker.https://forge.extranet.logilab.fr/cubicweb/react-admin-cubicweb/-/issues/52management interface2022-06-18T13:07:07ZNicolas Chauvatnicolas.chauvat@logilab.frmanagement interfaceest-ce que qqch est prévu pour remplacer /manage /siteinfo /siteconfig /schema, etc ?
quel lien faire avec rqlbrowser ?est-ce que qqch est prévu pour remplacer /manage /siteinfo /siteconfig /schema, etc ?
quel lien faire avec rqlbrowser ?https://forge.extranet.logilab.fr/cubicweb/react-admin-cubicweb/-/issues/50Use fetch_attrs and fetch_order2022-07-20T09:39:16ZNicolas Chauvatnicolas.chauvat@logilab.frUse fetch_attrs and fetch_ordervoir page https://cubicweb.readthedocs.io/en/latest/book/devrepo/entityclasses/load-sort
et utiliser les valeurs de fetch_attrs et fetch_order pour déterminer l'affichage par défaut de tables d'entités.
par exemple, n'afficher que les ...voir page https://cubicweb.readthedocs.io/en/latest/book/devrepo/entityclasses/load-sort
et utiliser les valeurs de fetch_attrs et fetch_order pour déterminer l'affichage par défaut de tables d'entités.
par exemple, n'afficher que les colonnes de la liste fetch_attrs en les ordonnant comme décrit dans fetch_order.
Note: l'idée n'est pas de créer un paramètre spécifique pour configurer l'affichage, mais d'utiliser toutes les informations présentes dans le modèle de donnnées.https://forge.extranet.logilab.fr/cubicweb/react-admin-cubicweb/-/issues/28Create a guesser component for auto generation of fields2022-07-13T07:47:15ZArnaud VergnetCreate a guesser component for auto generation of fieldsLike in react-admin, this component should print the generated components in the browser's console. This will allow developers to copy the auto-generated code and use it as a base for a custom view.Like in react-admin, this component should print the generated components in the browser's console. This will allow developers to copy the auto-generated code and use it as a base for a custom view.https://forge.extranet.logilab.fr/cubicweb/react-admin-cubicweb/-/issues/20Embed workflow definitions in schema separately from relations/attributes in ...2022-03-09T09:55:58ZFrank BessouEmbed workflow definitions in schema separately from relations/attributes in schemaWorkflows are special because states and transitions definitions are entities with their own eids.
That means that if we want to store the workflows at compile time we have to treat them differently than attributes/relations.Workflows are special because states and transitions definitions are entities with their own eids.
That means that if we want to store the workflows at compile time we have to treat them differently than attributes/relations.