Skip to content
New issue

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

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

Already on GitHub? # to your account

[NAE-2033] Welcome dashboard #285

Merged
merged 10 commits into from
Feb 18, 2025
Merged

[NAE-2033] Welcome dashboard #285

merged 10 commits into from
Feb 18, 2025

Conversation

camperko
Copy link
Member

@camperko camperko commented Feb 7, 2025

Description

Implements configurable dashboard component. Component is managed by process dashboard_management and displays dashboard items (dashboard_item process) in tile view.
Configuration available in dashboard:

  • add dashboard item
  • remove dashboard item
  • reorder items
  • changes to toolbar

Configuration for dashboard items:

  • name of item
  • icon of item (material or web icon)
  • font/icon color
  • font weight
  • internal/external item

Implements NAE-2033

Dependencies

No new dependencies were introduced.

Third party dependencies

No new dependencies were introduced.

Blocking Pull requests

Depends on #(283)

How Has Been This Tested?

Manually from application

Name Tested on
OS Linux Mint 21
Runtime Java 11.0.25
Dependency Manager maven 3.9.9
Framework version Spring Boot 2.7.18
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 5 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
@camperko camperko self-assigned this Feb 7, 2025
@camperko camperko added improvement A change that improves on an existing feature new feature A change that introduces new functionality labels Feb 7, 2025
}
change dashboard_item_to_preference_item options { preferenceItemOptions }

def dashboardItemCases = findCasesElastic("processIdentifier:\"dashboard_item\" AND dataSet.is_active.booleanValue:true" as String, org.springframework.data.domain.PageRequest.of(0, 1000))
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe page size should be configurable with default value? (question for all of the elastic requests)

@Retoocs Retoocs changed the title [NAE-2033] Úvodný dashboard [NAE-2033] Welcome dashboard Feb 11, 2025
- add option to change profile and login urls
- 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
Retoocs
Retoocs previously approved these changes Feb 14, 2025
- change default page size to 100 in findCasesElastic
@mazarijuraj mazarijuraj merged commit 4940da2 into release/6.5.0 Feb 18, 2025
4 of 6 checks passed
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
improvement A change that improves on an existing feature new feature A change that introduces new functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants