You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ofbiz.apache.org by "PierreSmits (via GitHub)" <gi...@apache.org> on 2024/04/25 06:40:23 UTC
[PR] Improved: Marketing-Main page (OFBIZ-13054) [ofbiz-framework]
PierreSmits opened a new pull request, #785:
URL: https://github.com/apache/ofbiz-framework/pull/785
Currently the 'main' view-map points to a screen showing a label
In order to improve the user experience the main request-map and view-map should show what is most pressing in marketing to address: active campaigns and contact list communication events.
added:
- MarketingPortletData.xml, having record definitions for PortalPage, Portlet, etc
modified::
- ofbiz-component.xml: added data loader for MarketingPortletData.xml
- controller.xml: changed view-map 'main' to point to screen Main in CommonScreens.xml
- CommonScreens.xml: screen Main displaying a PortalPage
- MarketingCampaignScreens.xml: adding screen Campaigns for active campaigns
- MarketingCampaignForms.xml: adding grid Campaigns to list active campaigns
- ContactListScreens.xml: adding screen CommEvents for active communication events
- ContactListForms.xml: adding grid Campaigns to list active communication events
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@ofbiz.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Improved: Marketing-Main page (OFBIZ-13054) [ofbiz-framework]
Posted by "JacquesLeRoux (via GitHub)" <gi...@apache.org>.
JacquesLeRoux merged PR #785:
URL: https://github.com/apache/ofbiz-framework/pull/785
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@ofbiz.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Improved: Marketing-Main page (OFBIZ-13054) [ofbiz-framework]
Posted by "JacquesLeRoux (via GitHub)" <gi...@apache.org>.
JacquesLeRoux commented on PR #785:
URL: https://github.com/apache/ofbiz-framework/pull/785#issuecomment-2103005543
Hi Pierre,
The patch does no apply in Elipse nor with git apply:
> C:\projectsASF\Git\ofbiz-framework>git apply 785.patch
> 785.patch:70: trailing whitespace.
> <PortalPage portalPageId="marketing_MAIN" portalPageName="Marketing Main Page"
> 785.patch:71: trailing whitespace.
> description="The main portal page of the marketing application"
> error: applications/marketing/data/MarketingPortletData.xml: already exists in working directory
>
> C:\projectsASF\Git\ofbiz-framework>git diff
>
> C:\projectsASF\Git\ofbiz-framework>
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@ofbiz.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Improved: Marketing-Main page (OFBIZ-13054) [ofbiz-framework]
Posted by "sonarcloud[bot] (via GitHub)" <gi...@apache.org>.
sonarcloud[bot] commented on PR #785:
URL: https://github.com/apache/ofbiz-framework/pull/785#issuecomment-2103975317
## [](https://sonarcloud.io/dashboard?id=apache_ofbiz-framework&pullRequest=785) **Quality Gate passed**
Issues
 [0 New issues](https://sonarcloud.io/project/issues?id=apache_ofbiz-framework&pullRequest=785&resolved=false&sinceLeakPeriod=true)
 [0 Accepted issues](https://sonarcloud.io/component_measures?id=apache_ofbiz-framework&pullRequest=785&metric=new_accepted_issues&view=list)
Measures
 [0 Security Hotspots](https://sonarcloud.io/project/security_hotspots?id=apache_ofbiz-framework&pullRequest=785&resolved=false&sinceLeakPeriod=true)
 No data about Coverage
 [0.0% Duplication on New Code](https://sonarcloud.io/component_measures?id=apache_ofbiz-framework&pullRequest=785&metric=new_duplicated_lines_density&view=list)
[See analysis details on SonarCloud](https://sonarcloud.io/dashboard?id=apache_ofbiz-framework&pullRequest=785)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@ofbiz.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Improved: Marketing-Main page (OFBIZ-13054) [ofbiz-framework]
Posted by "sonarcloud[bot] (via GitHub)" <gi...@apache.org>.
sonarcloud[bot] commented on PR #785:
URL: https://github.com/apache/ofbiz-framework/pull/785#issuecomment-2076478498
## [](https://sonarcloud.io/dashboard?id=apache_ofbiz-framework&pullRequest=785) **Quality Gate passed**
Issues
 [0 New issues](https://sonarcloud.io/project/issues?id=apache_ofbiz-framework&pullRequest=785&resolved=false&inNewCodePeriod=true)
 [0 Accepted issues](https://sonarcloud.io/component_measures?id=apache_ofbiz-framework&pullRequest=785&metric=new_accepted_issues&view=list)
Measures
 [0 Security Hotspots](https://sonarcloud.io/project/security_hotspots?id=apache_ofbiz-framework&pullRequest=785&resolved=false&inNewCodePeriod=true)
 No data about Coverage
 [0.0% Duplication on New Code](https://sonarcloud.io/component_measures?id=apache_ofbiz-framework&pullRequest=785&metric=new_duplicated_lines_density&view=list)
[See analysis details on SonarCloud](https://sonarcloud.io/dashboard?id=apache_ofbiz-framework&pullRequest=785)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@ofbiz.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Improved: Marketing-Main page (OFBIZ-13054) [ofbiz-framework]
Posted by "JacquesLeRoux (via GitHub)" <gi...@apache.org>.
JacquesLeRoux commented on PR #785:
URL: https://github.com/apache/ofbiz-framework/pull/785#issuecomment-2105615193
Hi,
About the error above where git diff did not give any information
```
error: applications/marketing/data/MarketingPortletData.xml: already exists in working directory
C:\projectsASF\Git\ofbiz-framework>git diff
C:\projectsASF\Git\ofbiz-framework>
```
I know now what happened. As I said
> The patch does no apply in Elipse nor with git apply
I actually tried with Eclipse before and did not notice that MarketingPortletData.xml was already there but not added.
Now we have
> C:\projectsASF\Git\ofbiz-framework>git apply 785.patch
> 785.patch:70: trailing whitespace.
> <PortalPage portalPageId="marketing_MAIN" portalPageName="Marketing Main Page"
> 785.patch:71: trailing whitespace.
> description="The main portal page of the marketing application"
> warning: 2 lines add whitespace errors.
>
You can neglect, it's OK (new lines, no trailing whitespaces)
About
```
- <view-map name="main" type="screen" page="component://marketing/widget/CommonScreens.xml#main"/>
+ <view-map name="main" type="screen" page="component://marketing/widget/CommonScreens.xml#Main"/>
- <screen name="main">
+ <screen name="Main">
```
Not needed. In current code 29 `<screen name="main">` vs 7 `<screen name="Main">` But maybe simple for you, not a pb finally.
More important is this Typo (N/M)
`<entity-resource type="data" reader-name="seed" loader="main" location="data/NarketingPortletData.xml"/>`
You see that's the brittle of portals. I also remember a space at head of a portal reference not bing easy to find.
Anyway tests are OK and I agree it's a good improvement. Though that could have been done with no new data in DB, isn't?
I'll fix the typo and push.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@ofbiz.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Improved: Marketing-Main page (OFBIZ-13054) [ofbiz-framework]
Posted by "sonarcloud[bot] (via GitHub)" <gi...@apache.org>.
sonarcloud[bot] commented on PR #785:
URL: https://github.com/apache/ofbiz-framework/pull/785#issuecomment-2105615680
## [](https://sonarcloud.io/dashboard?id=apache_ofbiz-framework&pullRequest=785) **Quality Gate passed**
Issues
 [0 New issues](https://sonarcloud.io/project/issues?id=apache_ofbiz-framework&pullRequest=785&resolved=false&sinceLeakPeriod=true)
 [0 Accepted issues](https://sonarcloud.io/component_measures?id=apache_ofbiz-framework&pullRequest=785&metric=new_accepted_issues&view=list)
Measures
 [0 Security Hotspots](https://sonarcloud.io/project/security_hotspots?id=apache_ofbiz-framework&pullRequest=785&resolved=false&sinceLeakPeriod=true)
 No data about Coverage
 [0.0% Duplication on New Code](https://sonarcloud.io/component_measures?id=apache_ofbiz-framework&pullRequest=785&metric=new_duplicated_lines_density&view=list)
[See analysis details on SonarCloud](https://sonarcloud.io/dashboard?id=apache_ofbiz-framework&pullRequest=785)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@ofbiz.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Improved: Marketing-Main page (OFBIZ-13054) [ofbiz-framework]
Posted by "PierreSmits (via GitHub)" <gi...@apache.org>.
PierreSmits commented on PR #785:
URL: https://github.com/apache/ofbiz-framework/pull/785#issuecomment-2105623501
Hi Jacques,
Thanks for fixing the typo.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@ofbiz.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Improved: Marketing-Main page (OFBIZ-13054) [ofbiz-framework]
Posted by "PierreSmits (via GitHub)" <gi...@apache.org>.
PierreSmits commented on PR #785:
URL: https://github.com/apache/ofbiz-framework/pull/785#issuecomment-2103974953
Hi @JacquesLeRoux ,
I have updated the pull request.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@ofbiz.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Improved: Marketing-Main page (OFBIZ-13054) [ofbiz-framework]
Posted by "PierreSmits (via GitHub)" <gi...@apache.org>.
PierreSmits commented on PR #785:
URL: https://github.com/apache/ofbiz-framework/pull/785#issuecomment-2103232314
Now that is unfortunate. I will address this.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@ofbiz.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org