Skip to content

[NAE-2055] Rework enum registry to service registry #291

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 42 commits into
base: release/6.5.0
Choose a base branch
from

Conversation

Retoocs
Copy link
Contributor

@Retoocs Retoocs commented Feb 17, 2025

Description

Implemented dynamic menu item view registry.

Implements NAE-2055

Dependencies

No new dependencies were introduced

Third party dependencies

No new dependencies were introduced

Blocking Pull requests

Depends on #290

How Has Been This Tested?

Manually and with unit tests

Test Configuration

Name Tested on
OS Ubuntu 24.04.1 LTS
Runtime Java 11
Dependency Manager Maven 3.6.3
Framework version Spring Boot 2.7.8
Run parameters
Other configuration

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • My changes have been checked, personally or remotely, with @mazarijuraj
  • I have commented my code, particularly in hard-to-understand areas
  • I have resolved all conflicts with the target branch of the PR
  • I have updated and synced my code with the target branch
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing tests pass locally with my changes:
    • Lint test
    • Unit tests
    • Integration tests
  • I have checked my contribution with code analysis tools:
  • I have made corresponding changes to the documentation:
    • Developer documentation
    • User Guides
    • Migration Guides

Retoocs and others added 30 commits January 28, 2025 10:08
- implement auto-select for menu items
- create processes for managing dashboards - dashboard_management and dashboard_item
- create runner for importing dashboard management processes
- added option to load icon from web (image from web)
- added option to change dashboard toolbar logo
- added option to chane appearance of dashboard toolbar
- added option to change icon and font colors in dashboard items
- fix for items ordering
…temoch

- fix ActionDelegate.execute method
- update ActionDelegate menu item methods
- import configuration nets in FilterRunner
- implement MenuItemService with new or updated domain models
- move menu item domain models to menu package
- implement MenuItemView enum
- implement MenuItemUtils
- rename preference_item to menu_item
- add tabbed_case_view_configuration and tabbed_task_view_configuration nets
- update MenuItemApiTest according to changes
- remove redundant MenuItemBody attribute
- update menu_item and tabbed_case_view_configuration dataGroups
- update MenuItemService find methods
- fix MenuItemApiTest.testDuplicateMenuItem
- add option to change profile and login urls
- implement TabbedTicketView configuration
- implement TabbedSingleTaskView configuration
- fix missing entry in ViewBody
- fix method call in tabbed_case_view_configuration
- change default value of login url to empty string
- update by PR comments
- create findCasesElastic method in ActionDelegate with default page size of 1000 items
- check duplicate ids in dashboard_item and dashboard_management in finish action
- move importProcess function into ImportHelper and clean runners
- fix setting view_configuration_type
- implement basic elastic search for title and identifier to ElasticPetriNetService and implement endpoint for elastic search
- change default page size to 100 in findCasesElastic
- resolve PR comments
- add MenuItemView.isPrimary attribute
- fix options initializing in configuration
# Conflicts:
#	src/main/groovy/com/netgrif/application/engine/startup/FilterRunner.groovy
- fix after merge
Retoocs and others added 11 commits February 17, 2025 11:17
- add map initialization in MenuItemBody
- fix  i18nfield in elasticPetriNet index
- update FilterRunner after merge
- add MenuItemViewRegistryRunner
- rework current implementation to use view registry
- fix MenuItemApiTest
- implement unregistration methods in MenuItemViewRegistry
- implement MenuItemViewRegistryTest
- add javadoc to MenuItemViewRegistry
# Conflicts:
#	src/main/groovy/com/netgrif/application/engine/startup/FilterRunner.groovy
@Retoocs Retoocs added the improvement A change that improves on an existing feature label Feb 17, 2025
@Retoocs Retoocs self-assigned this Feb 17, 2025
Copy link

dpulls bot commented Feb 18, 2025

🎉 All dependencies have been resolved !

- fix tests
- add logging to MenuItemViewRegistryRunner
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
improvement A change that improves on an existing feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants