LeoColman
12/27/2021, 1:30 AMmain
method to include only the said component?Adam S
12/29/2021, 9:42 AMJörg Rade
12/29/2021, 10:41 AMJoão Paulo Figueira
12/29/2021, 12:51 PMtabPanel
as it inserts a div
to contain each of the tab’s contents. My purpose is to have a tabbed UI that matches the browser window size, by using
height = 100.pc
Said div
seems to break this discipline by allowing the contained element to grow in an unbounded fashion. I believe this would be solvable if, somehow, we would be able to style it. Any help? TIA!João Paulo Figueira
12/30/2021, 11:05 AMJoão Paulo Figueira
12/30/2021, 12:45 PMPolylineOptions
class, but there is no apparent method to create a polyline object. Do I need to extend the existing code?Adam S
01/03/2022, 5:46 PMSamkeene
01/09/2022, 10:45 PMfun Application.main() {
install(Compression)
routing {
applyRoutes(PingServiceManager)
get("/userlist") {
call.respondHtml(HttpStatusCode.OK) {
// send back my KVision UserPage class
}
}
}
kvisionInit()
}
I have the same file structure as the example (backendMain, commonMain, frontendMain). I'm simply unsure how to approach this.
Should I create an IUserListService
in commonMain
with a getUserListPage()
function, implement it in backendMain
and then call it from somewhere in frontendMain
? And add applyRoutes(UserListServiceManager)
to the ktor configuration? Assume I have a UserPage : SimplePanel()
class in the front end, also I see from the documentation that KVision Services' cannot return SimplePanel as a type... I'm not sure how I should be doing this...Samkeene
01/09/2022, 11:43 PMLars Erik Rojeras
01/14/2022, 10:29 AMMikhail Buzuverov
01/15/2022, 5:05 AMkvision-examples
and tried template-electron
. If I run task runApp
it is absolutely OK and the app works. But if I run task browserRun
the application starts on local port 3000, but app is not working, in browser's console I see error: require is not defined
. See screenshot. I don't modify code of example, it is my first checkpoint: run web variant and desktop variant of the app. Could you help me?rocketraman
01/24/2022, 4:31 PMrocketraman
01/27/2022, 2:19 PMJörg Rade
01/31/2022, 4:38 PMfun filterByState(state: EventState) {
console.log("[ELT.filterByState]")
console.log(tabulator)
tabulator.jsTabulator?.setFilter("State", "=", state.name)
}
tabulator looks as expected and it's element jsTabulator seems to be set, but when I try to access or log it, it is null.
I'm puzzled (and still at KVision 5.5.1).rocketraman
02/05/2022, 4:49 AM<https://host/foo/bar>
Kvision RPCs go to <https://host/foo/bar/kv/>...
instead of <https://host/kv/>...
. Is there a way to configure kvision to use /kv
(absolute) path rather than kv
(relative)? Setting <base href="/">
works but feels like overkill.Jörg Rade
02/06/2022, 10:56 AMDavid West
02/08/2022, 8:46 AMbutton("A button") {
enablePopover(PopoverOptions(
title = "This is a <b>rich</b> popover title",
content = "This is a <b>rich</b> popover content",
rich = true,
delay = 1000, <-------
placement = Placement.BOTTOM,
triggers = listOf(Trigger.CLICK)
))
}
Or can this be achieved with something like:
onEvent {
mouseover = {
self.showPopover()
<some sort of delay here>
self.hidePopover()
}
}
rocketraman
02/10/2022, 2:10 PMServiceException
open so that the client can act based on sub-classes of it?Tomas Kormanak
02/15/2022, 10:43 AM<http://localhost:3000/#/myroute>
to
<http://localhost:3000/?#/myroute>
Have you seen it?rocketraman
03/02/2022, 4:15 PMPhil Richardson
03/03/2022, 10:18 AMPhil Richardson
03/05/2022, 8:33 PMERROR CLASS
items in unexpected places.
Primary examples is under the JS KVRemoteAgent
class parameters
For KVServiceMgr<T>
parameter, and for RequestInit
under the (RequestInit.() -> Unit)?
parameter
Both area pretty unexpected, given one comes from the common source of the same module, then the other from stdlib
I initially suspected https://github.com/Kotlin/dokka/issues/503
But I am not entirely sure it fitsJoão Paulo Figueira
03/14/2022, 12:14 PMLars Erik Rojeras
03/14/2022, 5:43 PMmain.bundle.js:2 Uncaught TypeError: Cannot read properties of undefined (reading 'length')
at sa (main.bundle.js:2:1720204)
at new ii (main.bundle.js:2:2579880)
at hx (main.bundle.js:2:2370990)
at Rx.toKotlinObj_t5tk2r$ (main.bundle.js:2:2399627)
at tn.toKotlinObjTabulator_e9s2f4$ (main.bundle.js:2:2554636)
at tn.fixData_giv383$ (main.bundle.js:2:2554164)
at Fe.<anonymous> (main.bundle.js:2:2543681)
at main.bundle.js:2:1366879
at Array.forEach (<anonymous>)
at Te._dispatch (main.bundle.js:2:1366854)
sa @ main.bundle.js:2
ii @ main.bundle.js:2
hx @ main.bundle.js:2
Rx.toKotlinObj_t5tk2r$ @ main.bundle.js:2
tn.toKotlinObjTabulator_e9s2f4$ @ main.bundle.js:2
tn.fixData_giv383$ @ main.bundle.js:2
(anonymous) @ main.bundle.js:2
(anonymous) @ main.bundle.js:2
_dispatch @ main.bundle.js:2
dispatchExternal @ main.bundle.js:2
load @ main.bundle.js:2
_loadInitialData @ main.bundle.js:2
_create @ main.bundle.js:2
(anonymous) @ main.bundle.js:2
setTimeout (async)
Re @ main.bundle.js:2
Fe @ main.bundle.js:2
hx @ main.bundle.js:2
tn.createJsTabulator @ main.bundle.js:2
tn.afterInsert_77isfd$ @ main.bundle.js:2
(anonymous) @ main.bundle.js:2
(anonymous) @ main.bundle.js:2
Le.patch_6ju63b$ @ main.bundle.js:2
Tw.reRender_8be2vx$ @ main.bundle.js:2
Tw.singleRender_klfg04$ @ main.bundle.js:2
(anonymous) @ main.bundle.js:2
setTimeout (async)
Tw.singleRenderAsync_o14v8n$ @ main.bundle.js:2
kp.singleRenderAsync_o14v8n$ @ main.bundle.js:2
(anonymous) @ main.bundle.js:2
(anonymous) @ main.bundle.js:2
(anonymous) @ main.bundle.js:2
(anonymous) @ main.bundle.js:2
(anonymous) @ main.bundle.js:2
g.dispatch_dtrwrh$ @ main.bundle.js:2
an.domdbLoadingComplete @ main.bundle.js:2
Gn @ main.bundle.js:2
o.onload @ main.bundle.js:2
load (async)
en @ main.bundle.js:2
Kn @ main.bundle.js:2
an.initialize @ main.bundle.js:2
Kt.start @ main.bundle.js:2
Te.start_x7u0o8$ @ main.bundle.js:2
a @ main.bundle.js:2
(anonymous) @ main.bundle.js:2
main.bundle.js:2 redraw failed - table not yet initialized. Please wait for the `tableBuilt` event before calling this function.
redraw @ main.bundle.js:2
(anonymous) @ main.bundle.js:2
redraw failed - table not yet initialized. Please wait for the `tableBuilt` event before calling this function.
redraw @ main.bundle.js:2
(anonymous) @ main.bundle.js:2
I guess it can be related to https://github.com/olifolkerd/tabulator/issues/3407, but I do not use setData() in my code.
Still using the legacy compiler.
Any ideas?João Paulo Figueira
03/15/2022, 5:42 PMJörg Rade
03/16/2022, 11:12 AMJörg Rade
03/22/2022, 8:15 AMRobert Jaros
03/24/2022, 12:10 PMJoão Paulo Figueira
03/25/2022, 4:22 PMJörg Rade
03/28/2022, 4:11 PMJörg Rade
03/28/2022, 4:11 PMRobert Jaros
03/28/2022, 4:13 PMDropDown
with the forDropDown = true
parameter.Jörg Rade
03/28/2022, 4:18 PM