Kumaran Masilamani
03/24/2021, 11:24 AMKumaran Masilamani
03/25/2021, 11:14 AMKumaran Masilamani
03/27/2021, 1:00 PMashmelev
03/29/2021, 9:05 PMKumaran Masilamani
04/02/2021, 5:25 AMKumaran Masilamani
04/02/2021, 1:13 PMRafał Trójczak
04/03/2021, 7:55 PMcalc
CSS function (e.g. calc(100vh - 150px)
) from within a Style
object?Tomas Kormanak
04/08/2021, 3:46 PMbuild.gradle.kts
implementation(npm("jose", "3.11.3"))
and require
in code:
val sign = require("jose/jwt/sign")
but I get exception:
Cannot find module 'jose/jwt/sign'
Kumaran Masilamani
04/10/2021, 6:07 AMKumaran Masilamani
04/11/2021, 9:45 AMKotlin code:
react {
ReactSidebar {
ReactSidebarMenu {
attrs.iconShape = "square"
ReactSidebarMenuItem {
//attrs.icon= ???
+"Menu one "
}
ReactSidebarMenuItem {
+"Menu two "
}
}
}
}
Kumaran Masilamani
04/14/2021, 5:26 AMJörg Rade
04/20/2021, 1:56 PMKumaran Masilamani
04/21/2021, 5:37 PM//frontend code
val jsonString = JSON.stringify(dynamicData)
val myObj = JSON.parse<MyObject>(jsonString)
myService.someMethod(myObj)
//backend
This myObj is coming as "[object Object]"
and getting this error:
[reactor-http-nio-8] ERROR io.kvision.remote.KVServiceManager - Unexpected JSON token at offset 0: Expected '{, kind: CLASS'
JSON input: "[object Object]"
I have a workaround to pass the stringified json to backend and then parse as my type.
But just wanted to get some idea whether this can be done in frontend.Prag
04/22/2021, 4:08 PMMassimiliano Bertinetti
04/24/2021, 3:35 PMTask :frontendBrowserTest FAILED
- /Users/max/IdeaProjects/chess/build/js/node_modules/karma/bin/karma
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:982:15)
at Function.Module._load (internal/modules/cjs/loader.js:864:27)
at Module.require (internal/modules/cjs/loader.js:1044:19)
at require (internal/modules/cjs/helpers.js:77:18)
at Object.<anonymous> (/Users/max/IdeaProjects/chess/build/js/node_modules/braces/index.js:15:17)
at Module._compile (internal/modules/cjs/loader.js:1158:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1178:10)
at Module.load (internal/modules/cjs/loader.js:1002:32)
at Function.Module._load (internal/modules/cjs/loader.js:901:14)
at Module.require (internal/modules/cjs/loader.js:1044:19) {
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':frontendBrowserTest'.
jschneider
04/27/2021, 7:50 AMTomas Kormanak
04/29/2021, 8:50 AM<tabpanel><tab><mycomponent><mycomponent></tab></tabpanel>
jschneider
04/29/2021, 9:56 AMjschneider
04/29/2021, 9:59 AMKumaran Masilamani
04/29/2021, 3:33 PMdiv {
renderRawHtml()
}
fun renderRawHtml() :String {
return """
<div class="col-xl-4">
<div class="card">
<div class="card-body">
<h4 class="mt-0 header-title mb-5">xxxxxxx</h4>
<div>
<div>
<div>
"""
}
Kumaran Masilamani
04/29/2021, 3:34 PMKumaran Masilamani
05/07/2021, 2:57 PMval searchText =Text {
placeholder = tr("Search...")
input.addCssClass("search-text")
}
In the init block of the panel I have:
searchText.subscribe {
MyManager.filter(state.searchQuery.copy(keyword = it))
}
In the Manager:
I filtered the original items, using the query object and derived a newObservableList()
and trying to update via the dispatch Action
MyAction.UpdateItems(newList)
But somehow it goes into recursion :)Kumaran Masilamani
05/08/2021, 8:30 AMRobert Jaros
05/10/2021, 10:05 PMTomas Kormanak
05/11/2021, 1:53 PMKumaran Masilamani
05/12/2021, 5:46 PMTomas Kormanak
05/13/2021, 11:56 AMTomas Kormanak
05/21/2021, 9:04 AMKumaran Masilamani
05/21/2021, 4:52 PMKumaran Masilamani
05/24/2021, 4:59 PMIn any editable Tabulator cell, edit the field
Change the content (don't press Enter)
Press tab (as some user behaviour to switch to the next cell)
*
Sometimes, the content shows as updated, but sometimes the whole tabulator goes empty.
If the content stays, any further action on the tabulator clears the whole table.
In the console, it throws Uncaught TypeError: every time.
I can reproduce the issue here too:
https://rjaros.github.io/kvision-examples/showcase/#!/tabulator
Can I raise a bug in github?Kumaran Masilamani
05/24/2021, 4:59 PMIn any editable Tabulator cell, edit the field
Change the content (don't press Enter)
Press tab (as some user behaviour to switch to the next cell)
*
Sometimes, the content shows as updated, but sometimes the whole tabulator goes empty.
If the content stays, any further action on the tabulator clears the whole table.
In the console, it throws Uncaught TypeError: every time.
I can reproduce the issue here too:
https://rjaros.github.io/kvision-examples/showcase/#!/tabulator
Can I raise a bug in github?Robert Jaros
05/24/2021, 5:02 PMKumaran Masilamani
05/24/2021, 5:02 PMRobert Jaros
05/24/2021, 5:04 PMKumaran Masilamani
05/24/2021, 5:11 PMRobert Jaros
05/24/2021, 7:18 PMdataTree = true
option in your project?Kumaran Masilamani
05/24/2021, 7:34 PMdataTree = false
Robert Jaros
05/24/2021, 9:17 PM