Skip to content

Admin page listing projects : filter by repository / UI fix + inspection file tests - #6925

Merged
rldhont merged 10 commits into
3liz:masterfrom
nworr:paginate-projects
Jul 21, 2026
Merged

Admin page listing projects : filter by repository / UI fix + inspection file tests#6925
rldhont merged 10 commits into
3liz:masterfrom
nworr:paginate-projects

Conversation

@nworr

@nworr nworr commented Jun 12, 2026

Copy link
Copy Markdown
Contributor
  • Add a title to the page
  • Use zone in template instead of controller
  • New feature : allow to filter projects by repository
  • Add VersionTools::strVersionToMajMinInt returning str version as int with only MajMin version (3.05.12 → 305)
  • Remove FIXME in zone using VersionTools methods
  • fix for lizmap cloud hosted instance , unformated lizmap version
Screenshot 2026-07-02 at 14-17-36 Admin - Lizmap projects - Administration is now Screenshot 2026-07-02 at 14-16-49 Admin - Lizmap projects - Administration

Ticket : #

Funded by 3liz

@github-actions github-actions Bot added this to the 3.11.0 milestone Jun 12, 2026
@nworr
nworr force-pushed the paginate-projects branch from 4bc3d22 to 90f555c Compare June 12, 2026 15:56
@nworr
nworr force-pushed the paginate-projects branch from 90f555c to 41da6f7 Compare July 2, 2026 12:42
@nworr
nworr force-pushed the paginate-projects branch from 41da6f7 to 2a8295f Compare July 2, 2026 12:52
@nworr
nworr marked this pull request as ready for review July 2, 2026 13:06
@rldhont
rldhont requested review from mdouchin and rldhont July 6, 2026 08:56
@rldhont

rldhont commented Jul 6, 2026

Copy link
Copy Markdown
Collaborator

@nworr @mdouchin a backport to 3.9, is that feasable ?

@rldhont

rldhont commented Jul 6, 2026

Copy link
Copy Markdown
Collaborator

@nworr can you add an end2end test ?

@nworr

nworr commented Jul 6, 2026

Copy link
Copy Markdown
Contributor Author

Precision : This PR is a first step to a more complex refactoring aiming to make the datatable in server mode (data paginated, in json)
A dedicated php class could be added (and unit tested) performing must of the zone code.
A backport can be done, or at least tried

@nworr

nworr commented Jul 9, 2026

Copy link
Copy Markdown
Contributor Author

#6996 related

@nworr
nworr force-pushed the paginate-projects branch from 04b6467 to 822595c Compare July 13, 2026 12:21
@nworr nworr changed the title Admin page listing projects : filter by repository Admin page listing projects : filter by repository / UI fix + inspection file tests Jul 13, 2026
@nworr

nworr commented Jul 13, 2026

Copy link
Copy Markdown
Contributor Author

End2end tests added for inspection file :

  • repository mock_inspection added with 1 projet
  • inspection file .<project_name>.json created with random values
  • end2end test ensure columns count differs when projets are filtered for a repository with projects with or without inspection files

Also end2end test for repository filter

@rldhont
rldhont merged commit 2f34bb0 into 3liz:master Jul 21, 2026
19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants