{"id":208,"date":"2006-09-15T06:22:39","date_gmt":"2006-09-15T10:22:39","guid":{"rendered":"http:\/\/www.dr-chuck.com\/wordpress\/?p=208"},"modified":"2011-12-17T12:20:44","modified_gmt":"2011-12-17T16:20:44","slug":"protal-improvement","status":"publish","type":"post","link":"https:\/\/www.dr-chuck.com\/csev-blog\/2006\/09\/protal-improvement\/","title":{"rendered":"Protal Improvement"},"content":{"rendered":"<p>We have a bunch of requirements about &#8220;saving state across navigation&#8221;<br \/>\nLegacy tools should not save state<br \/>\nhttp:\/\/bugs.sakaiproject.org\/jira\/browse\/REQ-285<br \/>\nSakai remembers state &#8211; optional?<br \/>\nhttp:\/\/bugs.sakaiproject.org\/jira\/browse\/SAK-737<br \/>\nSakai Saving State &#8211; Moving between tools and within pages of a tool should behave conistently for users.<br \/>\nhttp:\/\/bugs.sakaiproject.org\/jira\/browse\/REQ-37<br \/>\nBasically the use case is simple &#8211; every time you move between tools or between sites, the tool that you &#8220;come back to&#8221; needs to be at its initial screen.<br \/>\nIn Sakai 2.2 &#8211; when you &#8220;come back&#8221; you are brought back to where you left and the tool is in the state you left it.<br \/>\nAs an example:<br \/>\nGo to resources &#8211; press the Add button &#8211; Go to Home &#8211; Go Back to Resources &#8211; what do you see?<br \/>\nIn the state saving approach &#8211; you are at the Add screen &#8211; in the state clearing approach you are at the top of the resources hierarchy as if you pressed Resources for the first time.<\/p>\n<p><!--more--><br \/>\nThis historically has been a hotly debated topic (lets not replay that now &#8211; although we might want to discuss it in Atlanta).  The two points of view basically are this (1) advanced users *really* like the ability to pop back and forth between things and take a quick look at another tool while in the middle of something in their main too and (2) this confuses the HECK out of beginning users &#8211; they never find the reset button.<br \/>\nSadly &#8211; both of these arguments are pretty good.  The notion of state saving across navigation kind of comes form the &#8220;portal&#8221; world where there are multiple tools on a page and interactions with one tool do not change the state of another tool.  Effectively you *had* to save state when multiple portlets were active (especially on the same page).  Hence state saving as default throughout the life of Sakai so far.<br \/>\nWe had always talked about an &#8220;option&#8221; because there was such strong (and valid) disagreement.  For 2.3 there will be just such an option:<br \/>\nportal.experimental.auto.reset=true<br \/>\nWe will ship with the default turned off &#8211; kind of like a provisional feature.  The feature works and is very clean &#8211; it only affects the portal code (Charon) &#8211; there are no changes to tools or filters or any part of the Sakai framework.  This is literally &#8220;reset tool state&#8221; when navigating back to a tool.  Frankly, if folks really felt strongly this is so clean it could be a personal preference &#8211; but that is another debate entirely.<br \/>\nI would like folks to use this and experiment with this.<br \/>\nThis could be easily back-ported to 2.2.  With some effort it could even go back to 2.0 and 2.1 (commits 14687 and 14596).  All of the modifications were done this week.  I am not going to do these back ports &#8211; I need to get back to marketing Sakai &#8211; Integration week has been fun but I don&#8217;t have the luxury of coding much any more.<br \/>\nLooking forward &#8211; I think that we need to get community reaction about how to go forward &#8211; I am sure the discussion will be lively.  I see a few diffeent directions this might take (debate over the default &#8211; always fun and debate whether or not we make this a personal preference).<br \/>\nI also think that as we move towards JSR-168 and an even more &#8220;portlet view&#8221; of the world, we might need to revisit this again so as to properly fit into portals.<br \/>\nNothing is simple &#8211; but at least for now we have options.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>We have a bunch of requirements about &#8220;saving state across navigation&#8221; Legacy tools should not save state http:\/\/bugs.sakaiproject.org\/jira\/browse\/REQ-285 Sakai remembers state &#8211; optional? http:\/\/bugs.sakaiproject.org\/jira\/browse\/SAK-737 Sakai Saving State &#8211; Moving between tools and within pages of a tool should behave conistently for users. http:\/\/bugs.sakaiproject.org\/jira\/browse\/REQ-37 Basically the use case is simple &#8211; every time you move between [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-208","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/www.dr-chuck.com\/csev-blog\/wp-json\/wp\/v2\/posts\/208","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.dr-chuck.com\/csev-blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.dr-chuck.com\/csev-blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.dr-chuck.com\/csev-blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.dr-chuck.com\/csev-blog\/wp-json\/wp\/v2\/comments?post=208"}],"version-history":[{"count":1,"href":"https:\/\/www.dr-chuck.com\/csev-blog\/wp-json\/wp\/v2\/posts\/208\/revisions"}],"predecessor-version":[{"id":2308,"href":"https:\/\/www.dr-chuck.com\/csev-blog\/wp-json\/wp\/v2\/posts\/208\/revisions\/2308"}],"wp:attachment":[{"href":"https:\/\/www.dr-chuck.com\/csev-blog\/wp-json\/wp\/v2\/media?parent=208"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.dr-chuck.com\/csev-blog\/wp-json\/wp\/v2\/categories?post=208"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.dr-chuck.com\/csev-blog\/wp-json\/wp\/v2\/tags?post=208"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}