django-session-security icon indicating copy to clipboard operation
django-session-security copied to clipboard

Post session message

Open dethorpe opened this issue 6 years ago • 3 comments
trafficstars

Completed function for adding post logoff message as a page banner controlled through adding and parsing HTML parameters on refresh.

dethorpe avatar Sep 24 '19 19:09 dethorpe

Hi, small feature add. I hope that I am following the right process for contributing. I am certain of one problem, missing mo/po translations for the new message.

All feedback is appreciated!

dethorpe avatar Sep 24 '19 20:09 dethorpe

I like the general idea because we have pages where we don't redirect to ensure that we don't lose on-page data. It'd be great if we could notify a user of the timeout.

My (strictly personal) preference would be to use a modal like the existing timeout warning -- except that it doesn't hide on activity. This would also reduce the number of things that would need to be custom styled.

claytondaley avatar Oct 03 '19 18:10 claytondaley

I like the general idea because we have pages where we don't redirect to ensure that we don't lose on-page data. It'd be great if we could notify a user of the timeout.

My (strictly personal) preference would be to use a modal like the existing timeout warning -- except that it doesn't hide on activity. This would also reduce the number of things that would need to be custom styled.

You aren't wrong that a modal would be more in kind with the style of the app and I did consider it but at the end of the day my strictly personal preference wanted it this way. You have my blessing if you want to rewrite the feature however you feels, I just hope that this function in some way will work it's way to the next update.

dethorpe avatar Oct 07 '19 19:10 dethorpe