Skip to content
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

Improved: HumanRes-Main page (OFBIZ-13050) #779

Closed
wants to merge 1 commit into from

Conversation

PierreSmits
Copy link
Member

Current main page shows the OrgTree screen in a hard-coded way for about 50% of the available screen.

modified: CommonScreens.xml/screen Main

  • added actions elements to work with PortalPage
  • added include-portal-page element
  • removed display conditio

Current main page shows the OrgTree screen in a hard-coded way for about 50% of the available screen.

modified:
CommonScreens.xml/screen Main
- added actions elements to work with PortalPage
- added include-portal-page element
- removed display condition
Copy link

sonarcloud bot commented Apr 21, 2024

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

@JacquesLeRoux
Copy link
Contributor

Hi @PierreSmits ,

When applying your PR as patch, I get:

java.lang.RuntimeException: Could not find PortalPage with portalPageId []

@PierreSmits
Copy link
Member Author

HI Jacques,

Did you clear your cache? Logging out and in again could also help.

@JacquesLeRoux
Copy link
Contributor

JacquesLeRoux commented Apr 23, 2024

Hi Pierre,

Sorry, I simply forgot to import the data :/

@JacquesLeRoux
Copy link
Contributor

JacquesLeRoux commented Apr 23, 2024

The screen separation is static. Did you think about the case where the tree would much grow? What will happen then? The need to see the leaves might be problematic. Even if a horizontal scroolbar appears. Did you test that? Because then you have to scrool. I think it's the reason of all this empty space.

@PierreSmits
Copy link
Member Author

HI Jacques,

Thank you for your review and feedback.
I can't tell why the screen separation is as it is. But if that is an issue: a new ticket is warranted. Testing the screen with leaves to the n-th power could be fun exercise (for someone...).
Let's try not to make a mountain out of an anthill now. If there ever has been (is) an adopter that had/has that issue (and he/she reported it to this project), I am confident that:

  1. that adopter can have an paid developer implementing a solution that fixes the issue.
  2. if and when reported to the project, it can be addressed then via a new ticket.

But I doubt that the project will ever have to address such. I expect the given adopter to be a SMB enterprise with a hierarchy as flat as possible. Would love to see someone come forward via one of the mailings and say: I have (or work for) a company that uses the HR component of OFBiz for 10s of departments having 10s of sub-departments, with each having 10s of other organizational units thereunder.

@mbrohl mbrohl closed this Jun 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants