Changes between Version 42 and Version 43 of BluePrint/Sunflower


Ignore:
Timestamp:
08/11/14 20:48:00 (9 years ago)
Author:
somayjain
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • BluePrint/Sunflower

    v42 v43  
    8585
    8686* A person who is subscribed to a task/project/organisation/etc receives notifications via email about it.
     87* A person on commenting on a task is automatically subscribed to the comments feed of that task.
    8788* The updates can be for new records or updates in the records.
    8889* The frequency of the updates can be
     
    121122* Make it simpler to log bugs
    122123 * http://eden.sahanafoundation.org/ticket/1307
    123  * Less fields  / progressibely show fields (easier to log for people)
     124 * Less fields  / progressively show fields (easier to log for people)
    124125 * No login required - but allow user to specify who’s login it in a field
    125126 * Add a default link to log a bug in Sunflower - which copies the current URL to the “Source” field
     
    277278  * Use summary pages and datalists for each module mentioned above.
    278279
    279 ==== Subscriptions ====
    280 
    281 The newsfeed is generated using S3Audit (check CRMT template for reference - https://github.com/flavour/eden/blob/master/private/templates/CRMT/config.py#L113
    282 ===== Onclick =====
     280== Future Extensions ==
     281
     282=== Subscriptions ===
     283
     284* On a "create"/"update"/"delete" event of a record from any of the table (for eg - {{{project_project}}}, {{{project_task}}}), an audit can be created (check CRMT template for reference - https://github.com/flavour/eden/blob/master/private/templates/CRMT/config.py#L113).
     285* When this audit is created, a newsfeed item could be generated having -
     286 * Title (Eg - Task Updated/Task Created/ Project Updated...)
     287 * Type - Can be the tablename (Eg - project_task/project_project)
     288 * Value - Can contain key:value pairs separated by a delimiter such as "name:new task;project_task_project.id:1;status:2". The keys can be database fields and link tablename's fieldname for embedded inline components.
     289 * Author - user_id of the person who made the change
     290* The newsfeed can be created using the {{{cms_post}}} table, or a new table (if necessary).
     291
     292* This newsfeed can be made filterable according to the key:value pairs. Eg - All tasks under the project "Sunflower" whose Author is "Bob".
     293* The newsfeed can be linked to subscriptions using {{{pr_subscription_resource}}} with a {{{pr_filter}}} on the newsfeed resource.
     294
     295==== Onclick ====
    283296
    284297* Using just a "click" to subscribe to an item. Eg- "Subscribe/Unsubscribe to Project", "Subscribe/Unsubscribe to task" action buttons on project/task.
     
    286299* The user can also subscribe to the individual item by clicking on "Subscribe/Unsubscribe" button on the newsfeed item.
    287300
    288 ===== Hand crafted filters =====
     301==== Hand crafted filters ====
    289302
    290303* Hand crafted subscription filter and subscription settings for the newsfeed - The user can set the subscription filter manually. Eg - Selecting All tasks for project X, Updates on Org Y, etc.
     
    293306 * Mode - Email/No Email
    294307
    295 == Future Extensions ==
    296 
    297 * Metrics - Making the metrics being automatically updated
     308==== Possible Extensions ====
     309
     310* Having the above design allows as to provide subscription for any feed which can be converted in (title, type, value, author) format.
     311* Eg - Having incoming feeds converted to such format.
     312
     313=== Metrics ===
     314* Making the metrics being automatically updated
    298315 * Emails links on the list.
    299316 * Trunk commits URLs
     
    302319 * Links of wiki pages edited.
    303320
    304 * Diff viewer -
    305  * Include a diff viewer on the task page to display the patch(if any) added as an attachment.
    306  * The viewer should be able to support inline comments, preferably like Github viewer does.
     321=== Diff Viewer ===
     322* Include a diff viewer on the task page to display the patch(if any) added as an attachment.
     323* The viewer should be able to support inline comments, preferably like Github viewer does.
     324
    307325== References ==
    308326* [wiki:S3/Notifications Subscriptions and Notifications]