| Summary: | Change the "Create report from mana" interface, to make it look more like a plugin market place/app store | ||
|---|---|---|---|
| Product: | Koha | Reporter: | elias.lorgnier <elias.lorgnier> |
| Component: | Mana-kb | Assignee: | elias.lorgnier <elias.lorgnier> |
| Status: | ASSIGNED --- | QA Contact: | Testopia <testopia> |
| Severity: | enhancement | ||
| Priority: | P5 - low | CC: | alex.arnaud |
| Version: | Main | ||
| Hardware: | All | ||
| OS: | All | ||
| GIT URL: | Initiative type: | --- | |
| Sponsorship status: | --- | Comma delimited list of Sponsors: | |
| Crowdfunding goal: | 0 | Patch complexity: | --- |
| Documentation contact: | Documentation submission: | ||
| Text to go in the release notes: | Version(s) released in: | ||
| Circulation function: | |||
| Bug Depends on: | |||
| Bug Blocks: | 40885 | ||
| Attachments: | Bug 40906: Redesign Mana report import UI | ||
|
Description
elias.lorgnier@biblibre.com
2025-09-30 12:30:43 UTC
Created attachment 190148 [details] [review] Bug 40906: Redesign Mana report import UI Why : This patch is a revamp of the interface of the menue "Import SQL from Mana". It is supposed to make it feel more like a marketplace of plugin or apps. I believe it is more coherent visually and fonctionally with what this feature is doing. Also, reports are immediatly displayed when the modal opens, inviting the user to explore report, while maintaining the ability to search for it. When the patch 40826 will be applied, we'll be able to sort reports based on the number of imports they recieved. It also includes : - Moving the search of report from the deprecated svc to the rest API - Paginating results so it doesn't load 1300 reports each time we search for reports. - Pagination makes it future proof in case of an augmentation of available reports. Test plan : - Clone the test-bug-40906 branch from my repo of mana : https://gitlab.com/elorgnier/koha-mana/-/tree/test-bug-40906?ref_type=heads - Run docker compose up in the repo - in the .env file of ktd, for the MANA_URL option, use 127.17.0.1:5000 (if you have the default host ip defined in the docker bridge network) - run ktd - in koha > Administration, configure a mana account with random username and email (no need to validate it) - In the report section, select new SQL report, and then in the dropdown menu, New SQL from mana. By default there is no report loaded in mana, so you will want to create sample reports to be able to test it, i'll push a sample to the test branch of mana as soon as possible. You can create your own sample or mount a dump of the existing database in the docker compose of mana by mounting the sql dump in the place of the /sql/schema.sql |