mit-cml / appinventor-sources

MIT App Inventor Public Open Source
http://appinventor.mit.edu/appinventor-sources/
Apache License 2.0
1.47k stars 2.05k forks source link

Visited tag on user admin page is not being applied to project modifications #1044

Open moliata opened 6 years ago

moliata commented 6 years ago

Hello, if you take a look into Admin -> User admin category. Visited tag (on the side) does not update if there are some modifications done to a project. This tag only updates if there is a new project made. So, I am not able to know whether a person visited, but more likely, when he created a new project. Best regards, Ben.

ewpatton commented 6 years ago

Based on my tracing, it looks like the visited property is only updated in the storeSettings operation, which is indirectly called from a number of places, including when the user quits App Inventor or switches projects. Can you confirm that you are not seeing the values being updated in GAE when you take one of these actions?

ewpatton commented 6 years ago

I should also note that you would need to rerun the search as the results are cached locally and therefore won't reflect changes if you first query to check the old value, perform the operation, and then reopen the dialog to check for a new value.

moliata commented 6 years ago

@ewpatton, in reply of your second post, I check User Admin panel usually every day. My friend that modified a project yesterday, but it says he last visited on December 5, which is really weird, isn't it?

ewpatton commented 6 years ago

I just checked my account on ai2 and see that it says I last visited yesterday even though I've closed and opened App Inventor multiple times today.

moliata commented 6 years ago

Yup, same behaviour I have.