The KARL UI contains a number of snippets and patterns that appear in different places on multiple screens. This document describes each of these.
In most cases, deleting a resource is the same for all kinds of resources.
An email is sent out when the creator of a resource indicates on the form that an alert should be sent, or when a blog entry or blog comment are created via email
An alert goes to everyone in the community that has alerts enabled for that community.
Alerts can also go out by “digest” for a community. In that case, once a day an email is sent with a listing of all “alertable” changes in the community.
Emails go both to the creator of the resource and people in the community
In non-blog cases, the “from” address is a system-level no-reply kind of email address, combined with a friendly label. For example: Person Name | System Name <alert@systemdomain>
The “to” address is a human-friendly combination of the person’s full name and their email address. For example: Some Person <some.person@place.com>
Note
In KARL2 we sent all the email alerts at once using a long BCC line and a To address that was bogus. Let’s go back to something people will understand, namely, that the email should come to them.
The “subject” is the name of the community in brackets combined with the title. For example: [Some Community] Some new item's title
No file attachments on emails (other than blog entry and blog comment).
The HTML body (there is no text version) contains:
A line with: “A new [Content Type] was created by Person Name in the Community Title community”, where [Content Type] is a hyperlink to the resource.
A line of dashes.
An <h2> with the title of the resource
A hyperlink with the full URL
A short line of dashes.
A prominent message saying “do not reply to this mail”
A footer with:
REPLIES TO THIS MESSAGE WILL BE SENT TO THE COMMUNITY
To view this community, visit: https://communityurl
To stop these alerts, visit: https://manage-my-community-url
This portlet box appears on most of the screens in a community. It shows:
This portlet box appears in the blog tool for a community, below the tag portlet. It shows:
Used primarily on the add/edit calendar event screen.
This box appears in the most of the screens in a community in the right column.
Several content types (blog entries and comments, wiki pages) need a “description” value to display a summary in a listing such as search results, but the add/edit forms don’t have a field for it. (We didn’t want to force authors to fill in yet-another field.)
Instead, we extract a summary for the description field, using the HTML in the text field. The policy:
Content can be created via incoming email. A blog entry can be created by email, and you can reply to a blog entry/comment email alert to create a new comment. In both cases, the text needs to be “scrubbed” according to some policies:
The following apply to either a new blog entry created by mail or a blog commment created as a reply to another mail:
We don’t want the blog comment display to be polluted with long, indented repititions of text. Thus, we want to chop out the quoted part, knowing it has some downsides (e.g. inline comments are lost):
The GridTable is an Ajax widget for high-speed browsing of resources in a container.