3
0
mirror of https://github.com/britzl/monarch.git synced 2025-06-27 18:37:46 +02:00

26 Commits

Author SHA1 Message Date
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
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
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
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