Björn Ritzl
b7053d2ce4
Fixed another back issue (and tests)
2023-08-10 00:21:15 +02:00
Björn Ritzl
1d4e48c0de
Update test_monarch.lua
2023-08-08 22:55:29 +02:00
Björn Ritzl
a605f4f6f8
Fixed tests
2023-08-03 10:42:06 +02:00
Björn Ritzl
e0b0a286e3
Added sliding window example
2023-03-28 15:42:39 +02:00
Björn Ritzl
c0d45c3d5c
Added keep_loaded option to preload()
...
Fixes #88
2022-07-04 22:43:25 +02:00
Björn Ritzl
17df189089
Replace existing transition
...
Fixes #82
2022-01-13 19:40:24 +01:00
Björn Ritzl
4927d6e766
Update stack earlier when showing new screen
...
Fixes #76
2021-06-27 00:34:32 +02:00
Björn Ritzl
20cf731fdb
Wait with screen unload until next screen is loaded and ready to be shown ( #74 )
...
* Removed screen flicker when transitioning between screens
* Moved advanced example to subfolder. Added basic example.
* Remove flicker on back navigation too
* Fix issue with no_stack screens added at any time
2021-06-24 07:45:09 +02:00
Björn Ritzl
a19bdd78e8
Added monarch.is_popup() ( #70 )
2021-02-14 11:53:52 +01:00
Marius Petcu
00808c0d56
Implement better behaviour for replace() on popups ( #64 )
2020-05-28 17:18:51 +02:00
Marius Petcu
4ad86d41fc
Implement monarch.replace() ( #61 )
2020-05-20 15:36:29 +02:00
Björn Ritzl
909ada9f18
Fix issue when a layout changes and there's an ongoing transition
2020-05-10 22:51:08 +02:00
Björn Ritzl
504ac9223a
Fix message mock to properly deal with indexing of URLs
2020-05-10 22:50:31 +02:00
Björn Ritzl
81237762be
Transition out and in again if showing the same screen twice
...
Fixes #54
2019-09-14 01:23:14 +02:00
Björn Ritzl
49dd390812
Added queue support to Monarch ( #49 )
...
* Created queue and added show() as a queuable action
* Improved logic in confirm popup - It should not crash if there is no next screen in data
* Fixed indentation
* Made the new queue a lot more stable. Fixed tests.
* Removed debug output
* Fixed issue with html5 builds
2019-08-05 14:37:25 +02:00
Björn Ritzl
6b3cc11073
Added support for monarch.post()
2019-08-01 07:21:20 +02:00
Björn Ritzl
63c965572d
Improved test wait functionality
2019-08-01 07:13:25 +02:00
Björn Ritzl
d74efaf186
Added callback tracker tests
2019-07-31 18:20:06 +02:00
Björn Ritzl
05f91dd763
Make sure focus_lost messages is received
...
Fixes #42
2019-03-17 21:50:01 +01:00
Björn Ritzl
b57609f061
Added additional tests and increased test framework version
2019-03-08 11:37:49 +01:00
Björn Ritzl
7e2ff2990c
Make sure to also reload pre-loaded screens if required
...
Fixes #39
2019-03-05 00:21:23 +01:00
Björn Ritzl
79df80df33
Added show() function for adding outside the stack. Fixes #26
2019-01-11 11:11:19 +01:00
Björn Ritzl
7740499821
Added support for automatically preloading screens
2019-01-11 08:47:06 +01:00
Björn Ritzl
753d003861
Preload fix ( #34 )
...
* Don't try to preload if monarch is busy
* Added test for #32
2018-12-10 12:27:11 +01:00
Björn Ritzl
588398e23e
Updated code coverage collection
2018-08-01 07:49:27 +02:00
Björn Ritzl
5ec208d10d
Collect code coverage
2018-07-31 19:01:22 +02:00
Björn Ritzl
3443484cce
Added support for collection factories
2018-07-27 13:28:36 +02:00
Björn Ritzl
22f0e6cddf
Changed from single notification to begin and end notification for every navigation
2018-06-20 13:46:45 +02:00
Björn Ritzl
3947e86169
Added navigation listeners
2018-06-20 07:30:38 +02:00
Björn Ritzl
d1cf8281c9
Added helpers for common sets of transitions
2018-06-16 22:43:25 +02:00
Björn Ritzl
4231b0b89c
Prevent show/back operations while busy
...
Fixes #22
2018-06-10 16:17:41 +02:00
Björn Ritzl
66b1f7ca2e
Added monarch.top() and bottom()
2018-06-04 13:56:45 +02:00
Björn Ritzl
a701f6cd92
Fixed broken tests
2018-03-26 06:33:11 +02:00
Björn Ritzl
f811c1f306
Accept both hash and string as screen id
2018-03-24 12:08:16 +01:00
Björn Ritzl
cd75f4a948
Added popup tests
2017-12-28 19:44:52 +01:00
Björn Ritzl
1b3b16c355
Added more documentation. Changed monarch.get_stack()
2017-12-01 09:31:50 +01:00
Björn Ritzl
e6615e2888
Started adding unit tests
2017-11-30 20:25:17 +01:00