Commit graph

143 commits

Author SHA1 Message Date
the-djmaze
1032d0eb45 SCREENS = {} to SCREENS = new Map 2022-11-22 11:00:09 +01:00
the-djmaze
e5ef0eaa6a Resolve #673 2022-11-16 15:55:16 +01:00
the-djmaze
81a453955e v2.21.2 2022-11-15 13:37:25 +01:00
the-djmaze
b2e1fa993d Added JavaScript rl-view-model.create event for advanced code injections
This commit contains one for Nextcloud, so you understand how it works
2022-10-12 14:06:11 +02:00
the-djmaze
b12852bd08 Reduce JavaScript footprint 2022-10-10 13:52:56 +02:00
the-djmaze
18096cb6ee v2.18.0 2022-09-08 10:07:27 +02:00
the-djmaze
af86cabcff Improved info for new HTMLDialogElement features 2022-09-06 20:02:27 +02:00
the-djmaze
8cdce0c302 Bugfix: prevent issue with modal dialog supported Esc key to close 2022-09-06 19:22:53 +02:00
the-djmaze
732b6eb641 Use JavaScript Optional chaining 2022-09-02 11:52:07 +02:00
the-djmaze
80eed213d9 Allow cancelable on some custom javascript events. 2022-04-29 13:07:49 +02:00
the-djmaze
48974d1b5a Get rid of i18nInit and improve i18nUpdate 2022-04-05 10:31:55 +02:00
djmaze
d6dc4d291c Split Sieve/Filters code from app.js so that i can work on the new Sieve GUI 2022-03-11 10:26:25 +01:00
the-djmaze
3e494f6519 Cleanup views system 2022-03-08 12:28:16 +01:00
the-djmaze
4dd58f7c36 Cleanup and better rename settings screens to match template names 2022-03-08 00:51:32 +01:00
the-djmaze
fe0f6af9f4 Renamed closeCommand() to close() because it has no command feature anymore 2022-03-04 09:21:24 +01:00
the-djmaze
f0b0d21386 Some small cleanups/corrections 2022-03-03 19:22:17 +01:00
the-djmaze
f50f2c5ea0 decorateKoCommands() each command must have function
And due to that, a bug is found and solved in MessageView
2022-03-03 17:34:45 +01:00
the-djmaze
fafe56ecb4 Fix and improved hasher routing 2022-03-03 16:28:05 +01:00
the-djmaze
36feca6ce7 modalVisibility() to modalVisible() 2022-02-26 01:06:18 +01:00
the-djmaze
169dbfecca Added some documentation 2022-02-25 12:11:32 +01:00
the-djmaze
2edd55f01f Drop cancelCommand in favor of closeCommand and improve AbstractViewPopup handling 2022-02-24 22:40:17 +01:00
the-djmaze
24b638cd82 Cleanup some JavaScript 2022-02-21 15:36:34 +01:00
the-djmaze
44ee236709 dispatchEvent(new CustomEvent(...)) to fireEvent(...) 2022-02-11 12:21:16 +01:00
the-djmaze
f6400b6da2 Remove rl.showScreenPopup in favour of AbstractViewPopup.showModal 2022-02-07 15:20:39 +01:00
the-djmaze
686138ae15 Revamp isPopupVisible to AbstractViewPopup.hidden 2022-02-04 09:49:55 +01:00
djmaze
a15454fd15 Cleanup createCommand() 2021-12-31 13:50:33 +01:00
djmaze
954de06f86 Switch from ko.computed to ko.pureComputed
This should provide performance and memory benefits over regular computed observables
2021-12-31 13:30:05 +01:00
djmaze
2a01d8c991 Cleanup user-select 2021-12-28 14:48:20 +01:00
djmaze
6d7911a9ed Object.entries().forEach() to forEachObjectEntry() 2021-12-01 14:23:37 +01:00
djmaze
d5ea7dc188 Revert change that shouldn't be commited 2021-11-12 09:57:32 +01:00
djmaze
ce413b7b7a Some account switch reload improvements 2021-11-12 09:36:08 +01:00
djmaze
3950ff049c Display <dialog> as flex so that <header> is always top on scroll 2021-11-08 20:41:38 +01:00
djmaze
6170de5aee Drop bootstrap modal.less by using <dialog> <header> and <footer>
https://snappymail.eu/demo/ updated for testing
2021-11-07 17:06:08 +01:00
djmaze
880d4a05e9 Drop the ko.bindingHandlers.modal as click.koModal is never used
And replace hideScreenPopup() with this.closeCommand();
2021-11-06 22:08:45 +01:00
djmaze
263e595ba2 Added: resize messages list vertical 2021-11-05 10:20:06 +01:00
djmaze
e52addf346 When login don't reload the whole browser. Just rebuilt screens 2021-11-01 11:24:11 +01:00
djmaze
21a9e24233 Revert templateId to viewModelTemplateID for issue #150 2021-10-11 14:31:54 +02:00
djmaze
8be4c384bb Improved AbstractScreen properties
Improved settings screens
Views:
* sDefaultScope & sCurrentScope to sub-class keyScope
* drop viewModelVisible
* rename viewModelTemplateID to templateID
* rename viewModelPosition to viewType
2021-09-22 20:17:44 +02:00
djmaze
11f69ef9e4 Drop popupVisibilityNames/viewModelName in favor of the new visiblePopups Set 2021-09-22 13:37:12 +02:00
djmaze
631b487163 Bugfix: close popups on browser back/forward hash change 2021-09-10 10:25:58 +02:00
djmaze
fa25be0631 Make unsubsribeLinks observable 2021-09-01 16:10:44 +02:00
djmaze
f2d172de7d Prevent unloading of browser window when popups (like composer window) are open. 2021-08-31 16:17:20 +02:00
djmaze
cc03546484 Reduce JavaScript footprint 2021-08-20 15:40:07 +02:00
djmaze
5f21fcc100 hasher.changed.* to hasher.* 2021-08-13 10:01:01 +02:00
djmaze
d536b5eeee Change ()=>{} into ()=>0 2021-08-13 09:58:43 +02:00
djmaze
8b116fa8ba Cleanup some code 2021-08-12 20:17:37 +02:00
djmaze
5590fd4860 isNonEmptyArray => arrayLength 2021-07-21 21:34:17 +02:00
djmaze
d67cfaa3a4 Resolve Issue #93 2021-05-31 16:19:01 +02:00
djmaze
109c6b6ab5 Cleanup HTML and CSS 2021-04-30 16:39:27 +02:00
djmaze
60a4a248d1 Simplify onWarmUp into onBuild 2021-04-23 00:12:42 +02:00