react-admin-cubicweb merge requestshttps://forge.extranet.logilab.fr/cubicweb/react-admin-cubicweb/-/merge_requests2023-01-12T16:32:08Zhttps://forge.extranet.logilab.fr/cubicweb/react-admin-cubicweb/-/merge_requests/95feat: use `SizeConstraint` for text inputs2023-01-12T16:32:08ZNicola Spantifeat: use `SizeConstraint` for text inputsNicola SpantiNicola Spantihttps://forge.extranet.logilab.fr/cubicweb/react-admin-cubicweb/-/merge_requests/94Manage textarea for RichString2023-01-12T15:19:58ZAurélien LubertManage textarea for RichStringAurélien LubertAurélien Luberthttps://forge.extranet.logilab.fr/cubicweb/react-admin-cubicweb/-/merge_requests/93feat: use a specific component for rich text2023-03-01T14:31:29ZNicola Spantifeat: use a specific component for rich textrelated to https://forge.extranet.logilab.fr/cubicweb/react-admin-cubicweb/-/issues/67related to https://forge.extranet.logilab.fr/cubicweb/react-admin-cubicweb/-/issues/67Nicola SpantiNicola Spantihttps://forge.extranet.logilab.fr/cubicweb/react-admin-cubicweb/-/merge_requests/92feat: improve the root readme file2023-02-27T09:18:29ZNicola Spantifeat: improve the root readme fileNicola SpantiNicola Spantihttps://forge.extranet.logilab.fr/cubicweb/react-admin-cubicweb/-/merge_requests/91fix: move resources search field outside of menu to prevent focus theft2022-07-27T16:03:05ZArnaud Vergnetfix: move resources search field outside of menu to prevent focus theftMUI's Menu is keyboard navigable and took priority over the search field. This MR puts it outside of the menu component to fix this issue.
Closes #80MUI's Menu is keyboard navigable and took priority over the search field. This MR puts it outside of the menu component to fix this issue.
Closes #80Arnaud VergnetArnaud Vergnethttps://forge.extranet.logilab.fr/cubicweb/react-admin-cubicweb/-/merge_requests/90refactor: use autofocus prop for menu search field2022-07-27T14:32:08ZArnaud Vergnetrefactor: use autofocus prop for menu search fieldArnaud VergnetArnaud Vergnethttps://forge.extranet.logilab.fr/cubicweb/react-admin-cubicweb/-/merge_requests/89fix: properly generate nested reference array input list filters2022-07-27T14:22:54ZArnaud Vergnetfix: properly generate nested reference array input list filtersArnaud VergnetArnaud Vergnethttps://forge.extranet.logilab.fr/cubicweb/react-admin-cubicweb/-/merge_requests/88chore: update ra-version2022-07-27T14:19:46ZArnaud Vergnetchore: update ra-versionArnaud VergnetArnaud Vergnethttps://forge.extranet.logilab.fr/cubicweb/react-admin-cubicweb/-/merge_requests/87docs: add documentation generation using typedoc2022-07-27T14:19:21ZArnaud Vergnetdocs: add documentation generation using typedocDocumentation is generated using the same method as https://forge.extranet.logilab.fr/cubicweb/cubicwebjs/-/merge_requests/34.
The documentation's link is also added to the demo's welcome page.
Closes #75Documentation is generated using the same method as https://forge.extranet.logilab.fr/cubicweb/cubicwebjs/-/merge_requests/34.
The documentation's link is also added to the demo's welcome page.
Closes #75Arnaud VergnetArnaud Vergnethttps://forge.extranet.logilab.fr/cubicweb/react-admin-cubicweb/-/merge_requests/86refactor: clean up code and add more doc2022-07-27T14:24:43ZArnaud Vergnetrefactor: clean up code and add more docArnaud VergnetArnaud Vergnethttps://forge.extranet.logilab.fr/cubicweb/react-admin-cubicweb/-/merge_requests/85fix: use hash router to make refreshes work on gitlab pages2022-07-22T14:27:03ZArnaud Vergnetfix: use hash router to make refreshes work on gitlab pagesArnaud VergnetArnaud Vergnethttps://forge.extranet.logilab.fr/cubicweb/react-admin-cubicweb/-/merge_requests/84fix(demo): prefix demo url by react-admin-cubicweb2022-07-22T13:21:56ZArnaud Vergnetfix(demo): prefix demo url by react-admin-cubicwebPrevents issues with url rewriting when running the demo on gitlab pages.
Closes #76Prevents issues with url rewriting when running the demo on gitlab pages.
Closes #76Arnaud VergnetArnaud Vergnethttps://forge.extranet.logilab.fr/cubicweb/react-admin-cubicweb/-/merge_requests/83refactor: retrieve api url from client object2022-07-21T15:58:20ZArnaud Vergnetrefactor: retrieve api url from client objectArnaud VergnetArnaud Vergnethttps://forge.extranet.logilab.fr/cubicweb/react-admin-cubicweb/-/merge_requests/82refactor: retrieve api url from client object2022-07-21T15:24:32ZArnaud Vergnetrefactor: retrieve api url from client objectInstead of storing instance url separate from the client object, retrieve it directly from the client.
Needs !81 and https://forge.extranet.logilab.fr/cubicweb/cubicwebjs/-/merge_requests/33Instead of storing instance url separate from the client object, retrieve it directly from the client.
Needs !81 and https://forge.extranet.logilab.fr/cubicweb/cubicwebjs/-/merge_requests/33Arnaud VergnetArnaud Vergnethttps://forge.extranet.logilab.fr/cubicweb/react-admin-cubicweb/-/merge_requests/81refactor: rework project structure2022-07-21T15:04:37ZArnaud Vergnetrefactor: rework project structureThis MR focuses on making the project structure for `ra-cubicweb` cleaner.
Files have been reorganized in folders, default exports have been replaced by explicit exports, and all exports present in `ra-cubicweb`'s `index.tsx` have been ...This MR focuses on making the project structure for `ra-cubicweb` cleaner.
Files have been reorganized in folders, default exports have been replaced by explicit exports, and all exports present in `ra-cubicweb`'s `index.tsx` have been cleaned and updated.Arnaud VergnetArnaud Vergnethttps://forge.extranet.logilab.fr/cubicweb/react-admin-cubicweb/-/merge_requests/80feat: improve filters labels2022-07-21T15:04:27ZArnaud Vergnetfeat: improve filters labelsArnaud VergnetArnaud Vergnethttps://forge.extranet.logilab.fr/cubicweb/react-admin-cubicweb/-/merge_requests/79fix: improve cubicweb theme2022-07-20T12:01:45ZArnaud Vergnetfix: improve cubicweb themeRemoves unused theme props, adds typing and makes the appbar use the background color in light mode instead of the accent color. This makes the CubicWeb logo readable.
Closes #74Removes unused theme props, adds typing and makes the appbar use the background color in light mode instead of the accent color. This makes the CubicWeb logo readable.
Closes #74Arnaud VergnetArnaud Vergnethttps://forge.extranet.logilab.fr/cubicweb/react-admin-cubicweb/-/merge_requests/78fix: keep instance url when redirecting to login page2022-07-20T12:22:02ZArnaud Vergnetfix: keep instance url when redirecting to login pageAllows to connect to private instances requiring login again.
Closes #72Allows to connect to private instances requiring login again.
Closes #72Arnaud VergnetArnaud Vergnethttps://forge.extranet.logilab.fr/cubicweb/react-admin-cubicweb/-/merge_requests/77feat: improve relation display2022-07-20T12:27:24ZArnaud Vergnetfeat: improve relation displayThis MR improves how relations are displayed to the user in show and list modes.
In show modes, the relations labels are easier to understand:
- Subject relations: show `Relation_name object_name` instead of `Subject_name relation_name...This MR improves how relations are displayed to the user in show and list modes.
In show modes, the relations labels are easier to understand:
- Subject relations: show `Relation_name object_name` instead of `Subject_name relation_name object_name`
- Object relations: show `Subject_name relation_name this` instead of `Reverse subject_name relation_name object_name`
To make the code more readable and coherent, fields to display relations are now encapsulated in one component name `CubicWebRelationField`, much like the already present `CubicWebRelationInput`. Users wanting to create their own admin panel without auto-generation can now use this component for any relation and it will adapt based on the cardinality.
And finally, to make ready easier, when no data is found for a relation (no matter the cardinality) or an attribute, the text `N/A` is shown.
![Screenshot_2022-07-20_at_10-09-34_DEV_React-Admin_Cubicweb_Demo](/uploads/aabda8658f1a80da0ee8950db772b84d/Screenshot_2022-07-20_at_10-09-34_DEV_React-Admin_Cubicweb_Demo.png)Arnaud VergnetArnaud Vergnethttps://forge.extranet.logilab.fr/cubicweb/react-admin-cubicweb/-/merge_requests/76chore: import only used functions from lodash2022-07-20T12:17:19ZArnaud Vergnetchore: import only used functions from lodashCloses #68Closes #68Arnaud VergnetArnaud Vergnet