Live data from Hacker News

Show HN: garlic.js - don't let your users lose their form data

guillaumepotier.github.com

81–90 of 109 posts

Re: Show HN: garlic.js - don't let your users lose their form data

#81
post #68
post #61

Earlier quoted context omitted.

I get the sentiment here but considering this is an enhancement to the user experience that IE6/7 users will never know they missed out on either way... You don't need to backport everything, only the critical stuff.

It also probably wouldn't be super crazy difficult to use a Flash local storage fallback for them.

Ew

Re: Show HN: garlic.js - don't let your users lose their form data

#83
post #36
post #20

Earlier quoted context omitted.

Thinking about it, I'm mildly amazed that the browsers themselves didn't solve this problem back in 1996 or so.

Opera saves forms when possible. It also has instant backward navigation from cache. I guess it saves forms on cached pages.

Firefox seems to do this sometimes too. (e.g. I went backwards then forwards while typing this, and my text was retained.)

Re: Show HN: garlic.js - don't let your users lose their form data

#84

I think the desire for this kind of project is very reasonably based, and it looks like you have done great work on most of the implementation. I have one gripe with it, though. It would be nice if the documentation mentioned that garlic.js requires an HTML5 browser with localStorage implemented. Remember, there are people who are still using Internet Explorer 6 and 7, and these browsers are incompatible [1]. This is…

Yes, I'll definitely re-work on both the code and the doc. I've read that there is a kind of localStorage portage for IE8- that I'll look into. Currently, if the browser does not support localStorage, the plugin auto-disable. Best

IE8 supports both local and sessionStorage.

Which leads me to an aside — Why did you choose localStorage over sessionStorage?

For those who don't know — local/session are the same, only session will be cleared when the browser is closed.

My browser already auto completes form data… so I'm not sure I'd need it between sessions.

Re: Show HN: garlic.js - don't let your users lose their form data

#86

Earlier quoted context omitted.

Yes, I'll definitely re-work on both the code and the doc. I've read that there is a kind of localStorage portage for IE8- that I'll look into. Currently, if the browser does not support localStorage, the plugin auto-disable. Best

IE8 supports both local and sessionStorage. Which leads me to an aside — Why did you choose localStorage over sessionStorage? For those who don't know — local/session are the same, only session will be cleared when the browser is closed. My browser already auto completes form data… so I'm not sure I'd need it between sessions.

what about when the browser crashes?

Re: Show HN: garlic.js - don't let your users lose their form data

#87
post #86

Earlier quoted context omitted.

IE8 supports both local and sessionStorage. Which leads me to an aside — Why did you choose localStorage over sessionStorage? For those who don't know — local/session are the same, only session will be cleared when the browser is closed. My browser already auto completes form data… so I'm not sure I'd need it between sessions.

what about when the browser crashes?

Sure, if you think thats a valid use case to build for. I don't.

Re: Show HN: garlic.js - don't let your users lose their form data

#88

While convenient and technically fine, this can get creepy for users. “Wait, I didn't submit the form on purpose but the data has been saved?”

I had this same thought, but I think it would just be best to use these sort of plugins wisely, and not on every form element possible. Or to maybe have some sort of form "note/tip" that mentions it's being auto saved. Sites like Quora do this via drafts of your comments/responses that you write. That way people know to erase the content if they truly don't want it saved.

Like many UX features similar to this, I would say it mainly comes down to who your audience is, and where it's being used on how "weirded out" users would feel by this feature.

Re: Show HN: garlic.js - don't let your users lose their form data

#89
post #46

Earlier quoted context omitted.

For all intents and purposes, IE6 and IE7 are dead. They account for less than 1.5% of worldwide browsers [1]. At this point, seems okay to leave out. [1] http://gs.statcounter.com/#browser_version_partially_combine...

Sure you can quote stats all day, but it depends on your target audience. If you are running a tech website (such as HN/TC/Reddit/etc) you will see a HUGE portion of visitors using browsers like Chrome/Firefox and hardly any IE. However if you are building websites that regular people use they still use XP and IE7... so much so that it can account for 10-30% of your website traffic.. It really pains me when HTML fram…

Oh of course IE8 isn't going anywhere, but there is no reason at all for people to be on 7. Can you explain why someone on XP would move off 6 but not go all the way?

Re: Show HN: garlic.js - don't let your users lose their form data

#90

Earlier quoted context omitted.

Form content recall is a native Chrome feature now.

Do you have a link? I've followed Chrome development pretty closely and have never seen that. I too use Lazarus.

Not a link, but without any plugins of that type installed, this is the behavior I've had for a long time now. (I use Chrome for everything until I need to test apps in FF).
Post reply on HN