Conversation
This should take care of #236 - ready for review. |
Clicking on a revision now actually takes you to the correct revision. Also fixed some presentation issues for clarity.
Hm.. it does show the revisions, but all the revisions are the same worksheet. At least that's what I am getting. |
??? Did you apply the branch? The behavior you describe is the previous (wrong) behavior. Try making a new worksheet and saving a few different times. Or an old worksheet you have saved many different times. |
I thought I had applied the patch. I must have made some mistake then. |
You may need to remove a cache or something... thanks for creating that new label, by the way. You should tell that it applied if you see "List of Snapshots" instead of "Previous sessions" in the list of revisions. If for some reason it still doesn't work, dump it and then try just the change of |
Ok. Your branch works. I am ok with merging this. But |
About the problem.. problem was that I thought sagenb-0.10.8.3 was being used, when 0.10.8.2 was being used in my sage. Further comment about the Actually it is even worse: the evaluate button/text is also gone! So there is no way to evaluate a cell right now, other than |
Actually, I had VERY similar behavior. What it ended up being was a caching issue. Because when we switch branches (especially a lot) the browser ends up using the wrong jQuery (or something like that). I was able to fix it that way. See e.g. http://trac.sagemath.org/ticket/16004#comment:98 and the comments it refers to. That said, I think we would DEFINITELY want to check whether a true upgrade of sagenb (as opposed to all this branch switching) would have this problem, and whether removing the cache worked for that. |
Where is the cache stored? |
I don't know, it depends on the browser. In Safari it is in the main Safari menu, in FF I had to look quite a bit and it also deleted cookies, in Chrome I didn't have the problem so I never looked. |
For me it was chrome that was broken. Now it works in private window. I have a different problem now. Figures dont work: I get this on
And 3D plots give |
Javascript is always delivered with long caching times so you don't have to push it to the browser with every page reload. Try closing your browser (all windows) if you change branches. Ideally there would be a different "development" mode that serves javascript as non-cacheable (slower but much nicer to test). |
Basu, the other thing is http://trac.sagemath.org/ticket/17170 which you can also test and/or review. |
Awesome! Thanks. This afternoon I'll try to figure out how to do this properly. I guess I'll have to |
This fixed #236 |
Clicking on a revision now actually takes
you to the correct revision. Also fixed
some presentation issues for clarity.