ofbiz-framework
ofbiz-framework copied to clipboard
Improved: HumanRes-Main page (OFBIZ-13050)
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
Quality Gate passed
Issues
0 New issues
0 Accepted issues
Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code
Hi @PierreSmits ,
When applying your PR as patch, I get:
java.lang.RuntimeException: Could not find PortalPage with portalPageId []
HI Jacques,
Did you clear your cache? Logging out and in again could also help.
Hi Pierre,
Sorry, I simply forgot to import the data :/
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.
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:
- that adopter can have an paid developer implementing a solution that fixes the issue.
- 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.