Features/Messages Notification: Difference between revisions
No edit summary |
No edit summary |
||
| (6 intermediate revisions by one other user not shown) | |||
| Line 1: | Line 1: | ||
<noinclude>{{TOCright}} | <noinclude>{{TOCright}} | ||
[[Category:Feature Page Incomplete]] | [[Category:Feature Page Incomplete]] | ||
[[Category: | [[Category:FeatureObsoleted|Messages Notification]] | ||
</noinclude> | </noinclude> | ||
| Line 10: | Line 10: | ||
== Owner == | == Owner == | ||
* Name: [[User:tch|Martin Abente]] | * Name: [[User:tch|Martin Abente]], [[User:ajay|Ajay Garg]] (internet-links in notifications) | ||
* Email: <tch AT sugarlabs DOT org> | * Email: <tch AT sugarlabs DOT org>, <ajay@activitycentral.com> | ||
== Current status == | == Current status == | ||
| Line 62: | Line 62: | ||
== Internet-Links in Notifications == | == Internet-Links in Notifications == | ||
*This would help in navigating | *This would help in navigating to any internet-link, by simply clicking on the link. | ||
*There are two cases possible :: | *There are two cases possible :: | ||
** No instance of "Browse" is open. In this case, following sequence of steps happen :: | ** No instance of "Browse" is open. In this case, following sequence of steps happen :: | ||
| Line 71: | Line 73: | ||
*** The window gets switched to the "Browse" window (if not already). | *** The window gets switched to the "Browse" window (if not already). | ||
*** The URL is loaded. | *** The URL is loaded. | ||
*Code changes required at the client-side :: | *Code changes required at the client-side :: | ||
** If the link needs to be added, with a particular text for the hyerlink, the following code needs to be written : | **If the link needs to be added, with a particular text for the hyerlink, the following code needs to be written : | ||
<code><pre> frame.add_message(body='Description',summary='First Title',link='http://www.linuxquestions.org', link_text='Click here to get answers to all your Linux questions')</pre></code> | <code><pre> frame.add_message(body='Description', summary='First Title', link='http://www.linuxquestions.org', link_text='Click here to get answers to all your Linux questions')</pre></code> | ||
**If no special text needs to be present for the link, we can skip the "link_text" attribute : | |||
<code><pre> frame.add_message(body='Description',summary='Second Title',link='http://www.wikipedia.org')</pre></code> | |||
| Line 84: | Line 90: | ||
===User clicks on a link=== | ===User clicks on a link.=== | ||
[[Image:ns_2.png|640px]] | [[Image:ns_2.png|640px]] | ||
| Line 92: | Line 98: | ||
==="Browse" opens, and URL is loaded=== | ==="Browse" opens, and URL is loaded.=== | ||
[[Image:ns_3.png|640px]] | [[Image:ns_3.png|640px]] | ||
| Line 100: | Line 106: | ||
===User switches to Neighborhood-View === | ===User switches to Neighborhood-View. === | ||
[[Image:ns_4.png|640px]] | [[Image:ns_4.png|640px]] | ||
| Line 108: | Line 114: | ||
===User clicks another link=== | ===User clicks another link.=== | ||
[[Image:ns_5.png|640px]] | [[Image:ns_5.png|640px]] | ||
| Line 116: | Line 122: | ||
===The view changes to "Browse" window (without opening a new window), and the URL is loaded=== | ===The view changes to "Browse" window (without opening a new window), and the URL is loaded.=== | ||
[[Image:ns_6.png|640px]] | [[Image:ns_6.png|640px]] | ||
== User Experience == | == User Experience == | ||