core-geonetwork icon indicating copy to clipboard operation
core-geonetwork copied to clipboard

Add UI setting to enable / disable the metadata panel in the home page

Open josegar74 opened this issue 11 months ago • 2 comments

Add a new UI setting to display in the home page the latest and most popular metadata panel:

ui-setting

By default is enabled, working as previously:

ui-setting-enabled

When disabled:

ui-setting-disabled

Checklist

  • [X] I have read the contribution guidelines
  • [X] Pull request provided for main branch, backports managed with label
  • [ ] Good housekeeping of code, cleaning up comments, tests, and documentation
  • [X] Clean commit history broken into understandable chucks, avoiding big commits with hundreds of files, cautious of reformatting and whitespace changes
  • [X] Clean commit messages, longer verbose messages are encouraged
  • [ ] API Changes are identified in commit messages
  • [ ] Testing provided for features or enhancements using automatic tests
  • [ ] User documentation provided for new features or enhancements in manual
  • [ ] Build documentation provided for development instructions in README.md files
  • [ ] Library management using pom.xml dependency management. Update build documentation with intended library use and library tutorials or documentation

josegar74 avatar Mar 05 '24 14:03 josegar74

As discussed with @josegar74 , a more flexible approach can be to customize all tabs and search, or no tab at all - it has been done in https://github.com/geonetwork/core-geonetwork/pull/6516/files#diff-e59e3ff6d4ce905db615e79830f97fcdc8da9d7356d851d4a21c42c5195fa86bR185-R215

This would allow to have the home page with facet only as webcomponent eg. image

fxprunayre avatar Mar 25 '24 08:03 fxprunayre

Replaced by https://github.com/geonetwork/core-geonetwork/pull/6516. If needed in 4.2.x, configuration to be backported https://github.com/geonetwork/core-geonetwork/blob/main/web-ui/src/main/resources/catalog/js/CatController.js#L186-L216

fxprunayre avatar May 21 '24 08:05 fxprunayre