Page 2 of 2

Re: Changelog

Posted: 07 Oct 2017 10:25
by cotillion
0.4.x
- Switch to webpack for the build

0.4.5
- Change scroll behaviour

Separates the scrolling of the communication box and output box.
Scrolling will only stick to the bottom when its not been manually scrolled away.

Re: Changelog

Posted: 07 Oct 2017 15:00
by Drazson
Nice :)

Re: Changelog

Posted: 09 Oct 2017 22:09
by mallor
cotillion wrote: Separates the scrolling of the communication box and output box.
Scrolling will only stick to the bottom when its not been manually scrolled away.
Most welcomed change! However, is it possible to change the behavior so that it WILL scroll down when I type any command?

Re: Changelog

Posted: 11 Oct 2017 13:59
by cotillion
0.4.6
Only print the message about firewalls if the websocket never connected

0.4.7
Fix disconnect / connect button

0.4.8
Sort triggers and aliases before display
Print the client version on the general settings page
Disable service worker caching for local development
Scroll down the output window when a user initiated command is sent
Ensure the socket is connected before attempting to write to it.
IE does not have el.remove(), replace with parent.removeChild

Re: Changelog

Posted: 17 Oct 2017 15:27
by mallor
Thanks for all the improvements :)

Any chance we can have delete trigger/alias button, instead of just disabling them? Daddy needs to clean up :D

Re: Changelog

Posted: 17 Oct 2017 17:33
by Melarec
mallor wrote:Thanks for all the improvements :)

Any chance we can have delete trigger/alias button, instead of just disabling them? Daddy needs to clean up :D

Re: Changelog

Posted: 17 Oct 2017 17:53
by mallor
What? I didn't write that, I was possessed, I'm telling ya!!!

Re: Changelog

Posted: 19 Nov 2017 17:35
by cotillion
0.4.9
Add gwc.trigger.enable and gwc.trigger.disable to the script api
Use application/octet-stream for storage uploads
Maintain scroll position when the window is resized.

Re: Changelog

Posted: 19 Nov 2017 21:31
by mallor
cotillion wrote:0.4.9
Use application/octet-stream for storage uploads
Does that theoretically means I can store binary data in aliases now? In form of string of course.

Re: Changelog

Posted: 20 May 2018 15:47
by cotillion
0.4.11
- New async script support
- Add wait(delay) helper
- Add waitUntil(pattern, [timeout]) helper


wait() - Waits for a specific time.
waitUntil() - Waits until the specified regexp is triggered.

Code: Select all

waitUntil(/^The (.*) ship arrives./, 60).then((result) => {     
    mud.connection.send('board ship');
});

If you are using a sufficently recent browser (Chrome / Firefox / Edge) you should now be able to use ES 7 async / await to simplify your triggers / aliases.
For example:

Code: Select all

  /* jshint ignore:start */
  mud.connection.send('say Executed immediately')
  await wait(5.0)
  mud.connection.send('say Executed after 5 seconds')
  
  await waitUntil(/test/, 5).then((result) => {     
    mud.connection.send('grin');
  });