[LRA-202] Make the Tout portlet more context sensitive Created: 14/Oct/14  Updated: 19/Feb/16  Resolved: 19/Feb/16

Status: Closed
Project: Liferay Apps
Component/s: Tout
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Major
Reporter: mcalvo Assignee: mcalvo
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File 2016-02-03-1.png    

 Description   
Why not configuring the page on wich the "tout" will be display ?

By this way, the announcement will be on a specific context (one site, one page) and moreover it will match specific roles (showing a "tout" on the private welcome page of the Sales management site, only for the members of this site)

 Comments   
Comment by mcalvo [ 04/Sep/15 ]
Please research and see how we can implement that enhancement proposed by the user.

App documentation here:
http://wiki.rivetlogic.com/display/LRA/Tout
Comment by Michael Bauer [X] (Inactive) [ 08/Sep/15 ]
Based on this issue, and reviewing the code, I believe what needs to be done here is to enable the following:
  - Add multiple "touts" to the Tout Config portlet
  - Add the ability to set the type of tout
      * "Global" will work the same as it currently does
      * "Site" allows the user to set which site triggers the tout
      * "Page" allows the user to pick a page on a site to trigger the tout
      * "Regex" (optional enhancement) allows the user to set regex on the Site name and Page name to trigger the tout

I will begin work on determining how to get these changes in place.
Comment by Luis Hernandez [X] (Inactive) [ 02/Feb/16 ]
1- [Enhancement] Add some examples and notes for Regex/Regular Expression in the documentation site
Consider to add examples and notes for the user as the next:
1) Regular expression examples for:
-Any Page name that contains a specific word or char
-AND condition
-OR condition
-Multiple Pages
-Other search criteria
2) What is specific field used for the “Check Pages” criteria?
Note: This is easy to confuse with the absolute site name of the “Friendly URL” field
Comment by Luis Hernandez [X] (Inactive) [ 02/Feb/16 ]
2- [Bug] The application breaks (“Tout is temporarily unavailable.”) when more that one touts are configured for any page of a site and later any of these touts is deleted

REPRODUCIBILITY LEVEL:
====================
Always

STEPS:
====================
1. Click on “Admin”/”Control Panel”
2. Select the option “Tout” at the bottom of the configuration section
3. Click on “Add” and configure the new tout with the following values:
Enable: Checked
Know more URL: http://www.google.com
Days before remind again: 0
Sites: Liferay
Pages: Leave Empty
Select Article: Select any article
4. Click on “Save”
5. Click on “Add” again, and configure the new tout with the following values:
Enable: Checked
Know more URL: Any local page created previously, e.g /TestRedirect
Days before remind again: 0
Sites: Liferay
Pages: Leave Empty
Select Article: Select any article
6. Click on “Save”
7. Click on “Actions” button of the second tout added
8. Click on “Delete”

CURRENT RESULT:
====================
Step 8: The “Tout is temporarily unavailable.” error message is displayed, also, other success message is displayed, but if you go back to the “Control Panel”/”Tout” the “Tout is temporarily unavailable.” error message is displayed, and the user can not configure more touts

EXPECTED RESULT:
====================
No error message should be displayed and the tout SHOULD continue available

--Verified as Fixed on: 03-02-2016--
Comment by Luis Hernandez [X] (Inactive) [ 02/Feb/16 ]
3- [Bug - Safari] The “Know More” button does not redirect to the configured URL for a specific tout
ENVIRONMENT:
Safari Web Browser
Local Liferay Portal

REPRODUCIBILITY LEVEL:
====================
Always

STEPS:
====================
1. Click on “Admin”/”Control Panel”
2. Select the option “Tout” at the bottom of the configuration section
3. Click on “Add” and configure the new tout with the following values:
Enable: Checked
Know more URL: http://www.google.com
Days before remind again: 0
Sites: Liferay
Pages: TestPage (any page created previously)
Select Article: Select any article
4. Click on “Save”
5. Click on “Save”
6. Go to the “Site” and ”Page” of the tout configured on the step 3
7. When the tout pop-up is displayed, click on the “Know More” button

CURRENT RESULT:
====================
Step 7: The “Know More” button does not redirect to the configured URL for a specific tout

EXPECTED RESULT:
====================
The “Know More” button SHOULD redirects to the configured URL for a specific tout

--Verified as fixed on: 03-02-2016--
Comment by Luis Hernandez [X] (Inactive) [ 03/Feb/16 ]
4- [Bug] No more touts are displayed after the user clicks the “Know More” button for a previous tout configured without Sites

REPRODUCIBILITY LEVEL:
====================
Always

STEPS:
====================
1. Click on “Admin”/”Control Panel”
2. Select the option “Tout” at the bottom of the configuration section
3. Click on “Add” and configure the new tout with the following values:

Enable: Checked
Know more URL: http://www.google.com
Days before remind again: 0
Sites: Liferay Inc
Pages: Leave Empty
Select Article: Select any article

4. Click on “Save”
5. Go to any page of Liferay Inc Site and click on the “Know More” button of the tout displayed
Note: Close the new tab created.


6. Click on “Admin”/”Control Panel”
7. Select the option “Tout” at the bottom of the configuration section
8. Click on “Add” again, and configure the new tout with the following values:

Enable: Checked
Know more URL: Any local page created previously, e.g /testredirect
Days before remind again: 0
Sites: Liferay
Pages: Leave Empty
Select Article: Select any article (other different that the first tout)


9. Click on “Save”
10. Go to any page of Liferay Site and click on the “Know More” button of the tout displayed
Note: Close the new tab created.


11. Click on “Admin”/”Control Panel”
12. Select the option “Tout” at the bottom of the configuration section
13. Click on “Add” again, and configure the new tout with the following values:

Enable: Checked
Know more URL: Any local page created previously, e.g /testredirect
Days before remind again: 0
Sites: Leave without selection
Pages: Leave Empty
Select Article: Select any article (other different that the previous touts)

14. Click on “Save”
15. Go to any page of Liferay Site and click on the “x” button of the tout displayed
16. Click on “Admin”/”Control Panel”
17. Select the option “Tout” at the bottom of the configuration section
18. Delete the tout created on the step 13
19. Click on “Add” again, and configure the new tout with the following values:

Enable: Checked
Know more URL: http://www.google.com
Days before remind again: 0
Sites: Leave without selection
Pages: Leave Empty
Select Article: Select any article (other different that the previous touts)

20. Click on “Save”
21. Go to any page of Liferay Site and click on the “Know More” button of the tout displayed
22. Click on “Admin”/”Control Panel”
23. Select the option “Tout” at the bottom of the configuration section
24. Delete the tout created on the step 13
25. Click on “Add” again, and configure the new tout with the same values of the tout of the step 19 (same article):
26. Click on “Save”
27. Go to any page of Liferay Site

CURRENT RESULT:
====================
Step 27: The last tout configured is not displayed, and after the step 21, all the touts configured are not displayed (delete all the listed touts is needed to return to the normally)

Watch the next video:
http://screencast.com/t/2exwQPp7Ud


EXPECTED RESULT:
====================
The last tout SHOULD be displayed because it is a new tout configured, the application should have any way to differentiate between touts with the same configuration, but different state… the tout of the step 19 is deactivated after user clicks on “Know More”.

--Verified as fixed on: 04-02-2016--
Comment by Luis Hernandez [X] (Inactive) [ 03/Feb/16 ]
5- [Bug - UI] Action buttons are not well displayed (and positioned) when the tout is displayed

ENVIRONMENT
===================
Web Browser: Firefox

REPRODUCIBILITY LEVEL:
====================
Always

STEPS:
====================
1. Click on “Admin”/”Control Panel”
2. Select the option “Tout” at the bottom of the configuration section
3. Click on “Add” and configure the new tout with the following values:

Enable: Checked
Know more URL: http://www.google.com
Days before remind again: 0
Sites: Liferay
Pages: Leave Empty
Select Article: Select any article (with a short content)

4. Click on “Save”
5. Go to any page of Liferay Site and review the action buttons at the bottom of the tout popup

CURRENT RESULT:
====================
The action buttons are displayed cut at the half by the border of the popup

See the “2016-02-03-1.png” image
Watch the next video:
http://screencast.com/t/o8bbTArf


EXPECTED RESULT:
====================
The action buttons should be displayed at the bottom of the popup (not cut at the half)

--Verified as Fixed on: 04-02-2016--
Comment by Luis Hernandez [X] (Inactive) [ 03/Feb/16 ]
6- [Bug - UI] A gap is displayed between the action buttons and the bottom of the tout popup when the web browser is resized

ENVIRONMENT
===================
Web Browser: Safari, Chrome, Firefox, IE

REPRODUCIBILITY LEVEL:
====================
Always

STEPS:
====================
1. Click on “Admin”/”Control Panel”
2. Select the option “Tout” at the bottom of the configuration section
3. Click on “Add” and configure the new tout with the following values:

Enable: Checked
Know more URL: http://www.google.com
Days before remind again: 0
Sites: Liferay
Pages: Leave Empty
Select Article: Select any article (with a short content)

4. Click on “Save”
5. Go to any page of Liferay Site and review the tout pop up
6. Resize the web browser window

CURRENT RESULT:
====================
A gap is displayed between the action buttons and the bottom of the tout popup

Watch the next video:
http://screencast.com/t/36GLmT4JEe

EXPECTED RESULT:
====================
The action buttons should be displayed at the bottom of the popup (no gap displayed)
Generated at Sat Feb 10 05:49:20 GMT 2024 using Jira 8.1.3#801003-sha1:6b6f07cffadda9a0d6efe24639daed8ce94dcdd6.