Difference between revisions of "InfluenceUs dev task"
| Line 33: | Line 33: | ||
* <s> Write a simple javascript test.</s> Check On: http://influenceus/test/Ali/javascript.html | * <s> Write a simple javascript test.</s> Check On: http://influenceus/test/Ali/javascript.html | ||
* Get rid of old influenceus code. | * Get rid of old influenceus code. | ||
| − | |||
| − | |||
| − | |||
* Pull over bits from influenceus-stale into influence us and test them as we do | * Pull over bits from influenceus-stale into influence us and test them as we do | ||
* Refactor the extension to use the format as the extensions in here: wiki/extensions/AboutUs. | * Refactor the extension to use the format as the extensions in here: wiki/extensions/AboutUs. | ||
* Remove the functionality: newly created [[DomainPage]]s include the [[InfluenceUs]] wizard. | * Remove the functionality: newly created [[DomainPage]]s include the [[InfluenceUs]] wizard. | ||
* when the person is frustrated, a different message is shown, asking the reason for frustration. | * when the person is frustrated, a different message is shown, asking the reason for frustration. | ||
| − | * | + | |
| − | * | + | |
| + | == Things Not related Right Now to this task == | ||
| + | * Make the test engine work for javascript and php i.e. Unified Testing and Unified Repo | ||
| + | * Write a test script for influence us using pagemetatask as inspiration. | ||
| + | * Write a test that verifies that domain pages have the influenceus button, and non-domain pages do not. | ||
| + | * Pull over and test one javascript function from influenceus-stale | ||
== Not related to InfluenceUs ... but need to be done == | == Not related to InfluenceUs ... but need to be done == | ||
Revision as of 12:02, 16 January 2008
What (summary)
The InfluenceUs wizard provides highly motivated visitors to our site with a fun, easy, and effective way of engaging and influencing the organization they are delighted or frustrated with.
Why this is important
- Engagement: Makes a clear call to action for motivated visitors.
- BeABuilder: Encourages the kind of constructive collaboration we want where all involved parties benefit.
- ValuableContent: Creates public conversations that deeply inform future visitors about how organizations relate with those they touch.
- ViralSpiral: The influenced become influencers the next time they are frustrated with an organization.
DoneDone
- All DomainPages include the InfluenceUs link in the skin
- No non-DomainPage includes the InfluenceUs link
- The wizard is invoked by clicking a button "InfluenceUs" in the skin
- Final submission creates an edit to the DomainPage that when consummated looks just like any other edit (but is really transcluded from a subpage of the person's User_talk page for example User_talk:AwfulAbigail/PageSheHates).
- Includes a nice edit summary of what it just did
- The InfluenceUs wizard feels great to use. (Perhaps uses Ajaxy techniques so that no page reloads have to occur)
- Final submission adds creates an edit that adds an entry to the InfluenceUsLog
- Vinh has made the InfluenceUs design look great.
- These pages should all be informative, visually pleasing, and closely coupled with the InfluenceUs tool
Steps to get to DoneDone
-
Describe a DomainPagehas an entry in au_page_meta table with is_domain_page = 1 and matches a regular expression for domains -
Create a file TestHelper.php that loads the configuration files our tests need - Test the checkPageIsDomain($title_str) function in wiki/extensions/AboutUs/wiki/extensions/PageMetaTasks/PageMetaTasks_test.php file and then use php_run_tests to recursively run the test in this directory and below.
-
bring over and test one php function from influenceus-stale -
Explore what checkMetaTable function does.It should actually be called updateMetaTable; the new name explains its functionality -
Ensure that http://influenceus/test/javascript/javascript.html runs in the browser. -
Write a simple javascript test.Check On: http://influenceus/test/Ali/javascript.html - Get rid of old influenceus code.
- Pull over bits from influenceus-stale into influence us and test them as we do
- Refactor the extension to use the format as the extensions in here: wiki/extensions/AboutUs.
- Remove the functionality: newly created DomainPages include the InfluenceUs wizard.
- when the person is frustrated, a different message is shown, asking the reason for frustration.
- Make the test engine work for javascript and php i.e. Unified Testing and Unified Repo
- Write a test script for influence us using pagemetatask as inspiration.
- Write a test that verifies that domain pages have the influenceus button, and non-domain pages do not.
- Pull over and test one javascript function from influenceus-stale
- Rename the function checkMetaTabe to updateMetaTable. This is more synchronous with the functionality that this function is providing.
- Refactor our extensions so that they can be included in tests
- commit the ./ require_once fix to LocalSettings.php on live (breaks maintenance scripts)
InfluenceUs Page flow
- A user who visits NeedsInput.com sees the big "Influence Us Wizard ... blah blah" bit
- When they click on it they are presented with a popup describing what influenceus is all about, similar to the way the ThreeCoreOffers work.
- On the description, they can either continue on by clicking delighted or frustrated ... or they can close the popup.
- If the user clicks Delighted, he is presented with "What made you delighted with this company/domain?" with an emoticon
- If the user clicks Frustrated, he is presented with "What made you frustrated with this company/domain?" with an appropriate emoticon
- After entering the message, the user clicks submit and a series of edits are made.

