Feature #59
Better (and less) notifications for Tosca
| Status: | New | Start: | 12/18/2008 | ||
| Priority: | High | Due date: | 12/18/2008 | ||
| Assigned to: | Rémy-Christophe Schermesser | % Done: | 90% |
||
| Category: | Visible | Spent time: | - | ||
| Target version: | 0.9 | ||||
Description
With the mailing list approach, you get a lot of e-mails from Tosca. The idear is to lessen the number of emails sent, to only send the useful ones.
Related issues
| related to Feature #4 | An full email should be sent to the new assignee. | New | 11/11/2008 | 11/11/2008 | |
| follows Bug #63 | Mail fields are not correct | Closed | 12/17/2008 |
History
12/16/2008 01:37 AM - Rémy-Christophe Schermesser
One idear is :
- You can subscribe to a specific issue
- You can subscribe to all the issues of a contract/client
- You can subscribe to issues which linked to a specific software
- You can subscribe someone else to an issue
- You can unsubscribe to an issue only if there is at least an other person following the issue
- You are automatically subscribe to an issue when you post a comment on it
12/16/2008 09:28 AM - Michel Loiseleur
Here is a draft, for a v0 :
1 create_table "subscriptions" do |t|
2 t.integer "user_id"
3 t.integer "contract_id", :null => false
4 t.integer "issue_id", :null => false
5 t.datetime "created_on", :null => false
6 end
7 add_column :knowledges, :subscription, :boolean
With this data model, and some helpers on ActiveRecord we can write things like this :
1 issue.contract.subscribers
2 issue.software.subscribers
3 user.contracts_subscribed
4 user.issues_subscribed
5 user.softwares_subscribed
We could keep the CC field for special case; e.g.: when a specific person cannot have an account but he has to be informed of what's going on. What do you think of this ?
12/22/2008 03:40 PM - Rémy-Christophe Schermesser
Here the v0.5
We have polymorphism relations with :
- contract
- knowledge
- issue
We have access to the software by the knowledge of the user.
1 create_table "subscriptions" do |t|
2 t.integer "user_id"
3 t.integer "model_id", :null => false
4 t.string "model_type", :null => false
5 t.datetime "updated_on", :null => false
6 end
With this data model, and some helpers on ActiveRecord we can write things like this :
1 contract.subscribers
2 software.subscribers
3 user.contracts_subscribed
4 user.issues_subscribed
5 user.softwares_subscribed
12/23/2008 10:00 AM - Rémy-Christophe Schermesser
Here is a new list of the subscriptions :
- You can subscribe to a specific issue
- You can subscribe to all the issues of a contract
- You can subscribe to all the issues which software is linked to one of your knowldges
- You can subscribe someone else to an issue
- You are automatically subscribe to an issue when you post a comment on it
- You are automatically subscribe to a contract if you are the TAM
- You can unsubscribe to an issue only if there is at least an other person following the issue
- You can unsubscribe to a contract only of there is at least an other person following the contract
Any other idear ?
12/31/2008 11:08 AM - Rémy-Christophe Schermesser
Advancement :
- You can subscribe to a specific issue : DONE
- You can subscribe to all the issues of a contract : DONE
- You can subscribe to all the issues which software is linked to one of your knowldges DONE
- You can subscribe someone else to an issue : DONE
- You are automatically subscribe to an issue when you post a comment on it : DONE
- You are automatically subscribe to a contract if you are the TAM : DONE
- You can unsubscribe to an issue only if there is at least an other person following the issue : DONE
- You can unsubscribe to a contract only of there is at least an other person following the contract : DONE
12/31/2008 11:08 AM - Rémy-Christophe Schermesser
- % Done changed from 0 to 70
12/31/2008 11:24 AM - Rémy-Christophe Schermesser
List of the tests made
- You can subscribe to a specific issue
- You can subscribe to all the issues of a contract
- You can subscribe to all the issues which software is linked to one of your knowldges
- You can subscribe someone else to an issue
- You are automatically subscribe to an issue when you post a comment on it : DONE
- You are automatically subscribe to a contract if you are the TAM : DONE
- You can unsubscribe to an issue only if there is at least an other person following the issue
- You can unsubscribe to a contract only of there is at least an other person following the contract
01/07/2009 11:03 AM - Rémy-Christophe Schermesser
- % Done changed from 70 to 90
Now we have to make some tests
01/29/2009 09:35 AM - Rémy-Christophe Schermesser
Erwann Legall had a good idear.
For the TAM of a contract, he will only receive important emails from his contarct and not all.
Ex : Only start of request, and affectation of it, and close.
What do you think of it ?
03/27/2009 06:44 PM - Michel Loiseleur
- Target version changed from 0.8 to 0.9
This feature will be finished in 0.8.x or 0.9