Jacob Overgaard
|
afc5916efd
|
use test helper elementUpdated()
|
2023-07-27 13:12:43 +02:00 |
|
Jacob Overgaard
|
1d12ea996f
|
use aTimeout to wait
|
2023-07-27 13:02:49 +02:00 |
|
Jacob Overgaard
|
3019f5a513
|
Revert "add sleep test utility"
This reverts commit fde921155c.
|
2023-07-27 13:01:59 +02:00 |
|
Jacob Overgaard
|
a5f6a344c2
|
format check
|
2023-07-27 12:45:00 +02:00 |
|
Jacob Overgaard
|
7bf9000814
|
linting
|
2023-07-27 12:44:50 +02:00 |
|
Jacob Overgaard
|
b7ec665da8
|
organize imports
|
2023-07-27 12:42:32 +02:00 |
|
Jacob Overgaard
|
c81e155154
|
add test for <umb-localize>
|
2023-07-27 11:40:51 +02:00 |
|
Jacob Overgaard
|
f940412026
|
add test to change language entirely
|
2023-07-27 11:40:42 +02:00 |
|
Jacob Overgaard
|
ee31030099
|
add support to reload the value if key changes
|
2023-07-27 11:40:26 +02:00 |
|
Jacob Overgaard
|
d594c8e7ea
|
cancel any old subscription if the language changes
|
2023-07-27 11:39:43 +02:00 |
|
Jacob Overgaard
|
fde921155c
|
add sleep test utility
|
2023-07-27 11:39:31 +02:00 |
|
Jacob Overgaard
|
273efeb476
|
add tests to localization context
|
2023-07-27 10:07:49 +02:00 |
|
Jacob Overgaard
|
c12bf6707c
|
localization context should not listen for auth itself (makes it harder to test)
|
2023-07-27 10:07:39 +02:00 |
|
Jacob Overgaard
|
2b65a78f67
|
rename src/tsconfig to tsconfig.build
|
2023-07-27 10:07:10 +02:00 |
|
Jacob Overgaard
|
a7c6957e3c
|
backoffice-element should react to user loggedin and set up localization context
|
2023-07-27 10:06:51 +02:00 |
|
Niels Lyngsø
|
b7d58ce75d
|
implement for dashboards
|
2023-07-26 15:30:47 +02:00 |
|
Niels Lyngsø
|
638dad5b43
|
condition types
|
2023-07-26 14:35:54 +02:00 |
|
Niels Lyngsø
|
a1328b996e
|
prettier
|
2023-07-26 14:35:43 +02:00 |
|
Niels Lyngsø
|
38f62f6316
|
type correction
|
2023-07-26 14:35:02 +02:00 |
|
Niels Lyngsø
|
9af9154346
|
clean up some unprovide typing
|
2023-07-26 14:34:29 +02:00 |
|
Jacob Overgaard
|
b60a88a8fd
|
update imports
|
2023-07-26 11:12:39 +02:00 |
|
Jacob Overgaard
|
95a1824871
|
translation to your profile
|
2023-07-26 10:29:01 +02:00 |
|
Jacob Overgaard
|
353b6acb9f
|
Merge remote-tracking branch 'origin/main' into feature/localization
|
2023-07-26 10:15:02 +02:00 |
|
Niels Lyngsø
|
de00b7a9f2
|
no need for the controller alias either
|
2023-07-26 09:11:55 +02:00 |
|
Niels Lyngsø
|
7e910d20b2
|
no need for this check
|
2023-07-26 09:11:36 +02:00 |
|
Niels Lyngsø
|
5fa60c472a
|
Merge remote-tracking branch 'origin/main' into feature/extension-manager
|
2023-07-26 08:51:12 +02:00 |
|
Niels Lyngsø
|
2f74019fa1
|
lint fixing
|
2023-07-25 21:09:28 +02:00 |
|
Niels Lyngsø
|
68ae4e3176
|
move element controller back to its position.
|
2023-07-25 21:02:14 +02:00 |
|
Niels Lyngsø
|
097d19c921
|
out-commented unProvide code
|
2023-07-25 21:01:57 +02:00 |
|
Niels Lyngsø
|
580e072825
|
together with this impl.
|
2023-07-25 21:00:33 +02:00 |
|
Niels Lyngsø
|
bd59414d48
|
the important fix
|
2023-07-25 21:00:23 +02:00 |
|
Niels Lyngsø
|
a9bb731b29
|
fix type
|
2023-07-25 20:15:19 +02:00 |
|
Jacob Overgaard
|
abdbc2d918
|
rename translation section to Dictionary
|
2023-07-25 16:38:52 +02:00 |
|
Jacob Overgaard
|
99412a55f7
|
use localizeMany for buttons
|
2023-07-25 16:32:31 +02:00 |
|
Jacob Overgaard
|
b3328014e9
|
support listening on changed translations with localizeMany
|
2023-07-25 16:31:28 +02:00 |
|
Niels Lyngsø
|
18c98cdfe7
|
create new promise each time, to ensure the promise gets resolved with latest instance.
|
2023-07-25 16:18:44 +02:00 |
|
Niels Lyngsø
|
41ed29f35f
|
clean up base controller on destroy
|
2023-07-25 16:12:05 +02:00 |
|
Jacob Overgaard
|
32a2de69c1
|
add label localization
|
2023-07-25 16:09:50 +02:00 |
|
Jacob Overgaard
|
ed8c585d74
|
add 'key' to localizeMany
|
2023-07-25 16:09:42 +02:00 |
|
Niels Lyngsø
|
e60ba46468
|
destroy after removal from controller host
|
2023-07-25 16:04:22 +02:00 |
|
Jacob Overgaard
|
823a6fb4e7
|
add 'this' to warnings so elements are easier to locate
|
2023-07-25 15:54:07 +02:00 |
|
Jacob Overgaard
|
93dafad0c4
|
add close variable
|
2023-07-25 15:50:36 +02:00 |
|
Jacob Overgaard
|
f5424809dc
|
avoid need of internal value with requestUpdate
|
2023-07-25 15:50:28 +02:00 |
|
Jacob Overgaard
|
304be0cd5a
|
use shadowdom anyway to support slots
|
2023-07-25 15:50:09 +02:00 |
|
Jacob Overgaard
|
010c3e9daa
|
super optimize localization context to avoid rxjs error handling
|
2023-07-25 15:49:44 +02:00 |
|
Jacob Overgaard
|
d3c372f68b
|
Revert "remove and merge debug"
This reverts commit c1a82a7457.
|
2023-07-25 15:26:31 +02:00 |
|
Jacob Overgaard
|
c1a82a7457
|
remove and merge debug
|
2023-07-25 15:21:28 +02:00 |
|
Jacob Overgaard
|
f7901f61f0
|
add docs
|
2023-07-25 15:14:41 +02:00 |
|
Jacob Overgaard
|
22a99a8b9f
|
fix http link
|
2023-07-25 15:03:56 +02:00 |
|
Jacob Overgaard
|
891a1f58a4
|
add error callback & debug mode
|
2023-07-25 15:03:13 +02:00 |
|