Keeping your message text!

This is where we inform about development updates.

Keeping your message text!

Postby super_dipsy » 25 Mar 2018, 09:53

OK, well I guess I better start off with a :oops:

This should have been done 1,000,000 years ago. Remember how you spend 18 hours creating the perfect message, click Send Message, and it says 'ooops, you forgot to fill in the title / country'? :evil: :evil: :evil:

This came up yet again in Bugs yesterday and everyone patiently explained that some browsers have a back key, but the safe thing to do was to copy the text before sending in case you have messed something up. And then it finally sunk in to my miniscule brain - why? Why? WHY?

The raiser of the bug asked why the system couldn't handle it. And after giving the normal responses as above, I suddenly thought what a good question that was.

So, only 10 years late, hopefully the new code I have just loaded will mean that if you create a message and forget to add a country or a title or even content and you hit enter, YOU WONT LOSE IT! :D :D :D

(I hope....)
User avatar
super_dipsy
Premium Member
 
Posts: 12406
Joined: 04 Nov 2009, 17:43
Class: Ambassador
Standard rating: 1000
All-game rating: 931
Timezone: GMT

Re: Keeping your message text!

Postby Groo » 25 Mar 2018, 10:05

Good job on adding that alert! This should save us from some embarrassing situations (I've found myself in one or two before...) Thank you very much.

Is it possible also to auto-draft unfinished messages or save them somehow?
So many times I was writing a long message and just had to check the board a bit... pressed that evil x and closed my text window...only to find my oversized message which included detailed tactics for 5 different possible variations is deleted. That tends to get annoying.
"If you have a garden and a library, you have everything you need."

Cornubia in Heptarchy 14 - 3WD
Front Range in Emergence - 3WD
Holland in Colonial 7 - 3WD
House Baratheon in Diplomacy of Ice and Fire - Mad King SOLO
Mexico in WiTA 7 - stabbed to death
Thebes in Greek City States IV
User avatar
Groo
 
Posts: 257
Joined: 14 Nov 2016, 18:13
Class: Star Ambassador
Standard rating: (1612)
All-game rating: (1880)
Timezone: GMT

Re: Keeping your message text!

Postby duckling » 25 Mar 2018, 10:27

Applause!

That small annoyance *1.000.000 adds up to a lot over time, so this is a great change.
duckling
 
Posts: 142
Joined: 06 Jan 2010, 17:48
Class: Star Ambassador
Standard rating: (1130)
All-game rating: (1176)
Timezone: GMT+1

Re: Keeping your message text!

Postby super_dipsy » 25 Mar 2018, 11:08

Groo wrote:Good job on adding that alert! This should save us from some embarrassing situations (I've found myself in one or two before...) Thank you very much.

Is it possible also to auto-draft unfinished messages or save them somehow?
So many times I was writing a long message and just had to check the board a bit... pressed that evil x and closed my text window...only to find my oversized message which included detailed tactics for 5 different possible variations is deleted. That tends to get annoying.

That one might have to be down to the browser's 'go back' powers if any. I can have a think though.
User avatar
super_dipsy
Premium Member
 
Posts: 12406
Joined: 04 Nov 2009, 17:43
Class: Ambassador
Standard rating: 1000
All-game rating: 931
Timezone: GMT

Re: Keeping your message text!

Postby Don Juan of Austria » 25 Mar 2018, 14:18

Thank you!!! :D :D
"In everything, moderation". ~Aristotle
A proud member of the Whippersnappers,
Bronze Classicists,
Lancer in the PBF cavalry.

Mild Hiatus.
User avatar
Don Juan of Austria
 
Posts: 1257
Joined: 19 Feb 2014, 11:50
Location: South Africa, though given to travel
Class: Star Ambassador
Standard rating: (1029)
All-game rating: (1127)
Timezone: GMT-5

Re: Keeping your message text!

Postby Groo » 25 Mar 2018, 14:38

super_dipsy wrote:That one might have to be down to the browser's 'go back' powers if any. I can have a think though.


Please do, I think many people will be eternally grateful :)
The other problem is you can't have two chat windows open at the same time either.
"If you have a garden and a library, you have everything you need."

Cornubia in Heptarchy 14 - 3WD
Front Range in Emergence - 3WD
Holland in Colonial 7 - 3WD
House Baratheon in Diplomacy of Ice and Fire - Mad King SOLO
Mexico in WiTA 7 - stabbed to death
Thebes in Greek City States IV
User avatar
Groo
 
Posts: 257
Joined: 14 Nov 2016, 18:13
Class: Star Ambassador
Standard rating: (1612)
All-game rating: (1880)
Timezone: GMT

Re: Keeping your message text!

Postby valent » 25 Mar 2018, 15:22

Thanks! :)
Trust breeds trust. Mistrust breeds mistrust.
User avatar
valent
 
Posts: 536
Joined: 27 Jan 2009, 22:12
Location: Chicago
Class: Ambassador
Standard rating: (1522)
All-game rating: (1618)
Timezone: GMT-6

Re: Keeping your message text!

Postby TheCraw » 25 Mar 2018, 20:17

Brilliant! :D
Very clever, Mr. Smart...
User avatar
TheCraw
Premium Member
 
Posts: 17289
Joined: 05 Dec 2008, 23:39
Location: lurking, baby.... lurking.
Class: Shropshire slasher
All-game rating: 1,000,000
Timezone: GMT-5

Re: Keeping your message text!

Postby super_dipsy » 24 Apr 2018, 07:45

There were some issues with the code to save your message text. These are now fixed. Basically, it was picking up a missing title or missing text fine and keeping everything else the same, just as it was supposed to. But if you forgot to put a recipient, it wasn't working at least on non-classic maps. You were still losing the message content.

This has now been corrected, although you may need to clear your browser cache to refresh the Javascript to see the changes.
User avatar
super_dipsy
Premium Member
 
Posts: 12406
Joined: 04 Nov 2009, 17:43
Class: Ambassador
Standard rating: 1000
All-game rating: 931
Timezone: GMT


Return to Developments

Who is online

Users browsing this forum: No registered users and 1 guest