Tomas Kormanak
05/26/2021, 1:23 PMroot = root("root") {}.bind(Store) { s ->
if (s.appInitialized) {
simplePanel { ... }
} else {
div { content = "Loading..." }
}
}
Hywel Bennett
05/26/2021, 1:56 PMKumaran Masilamani
05/27/2021, 3:29 PMKumaran Masilamani
05/28/2021, 8:57 AMoptions = TabulatorOptions(
layout = Layout.FITCOLUMNS,
responsiveLayout = ResponsiveLayout.COLLAPSE,.....
Wolfgang
05/30/2021, 10:48 AMRobert Jaros
05/31/2021, 10:01 PMWolfgang
06/01/2021, 10:02 AMRobert Jaros
06/04/2021, 3:34 PMy9san9
06/05/2021, 7:58 PMSlackbot
06/07/2021, 11:07 PMRobert Jaros
06/12/2021, 2:01 AMMiguel Vera Belmonte
06/15/2021, 1:47 PMfomantic
example (I suppose could be any other example too), I’ve done as instructed in the docs:
To enable source maps you need to remove line sourceMaps = false from your build.gradle.kts file and remove line config.devtool = 'eval-cheap-source-map' from webpack.config.d/webpack.js file.
and enabled legacy compiler by setting under gradle.properties:
kotlin.js.compiler=legacy
But I’m not able to get source maps working. I think they were working on 4.1.0, which is the latest version I tried before updating. To test, I make a simple console.log() on App.kt and then I get the following error when clicking the line number on the console:
Could not load content for <webpack://fomantic/../src/main/kotlin/com/example/App.kt?f474> (HTTP error: status code 404, net::ERR_UNKNOWN_URL_SCHEME)
Is anyone having this issue as well?y9san9
06/18/2021, 7:08 PMsmallshen
06/19/2021, 4:52 AMasavill
07/10/2021, 12:50 PMfun get(): Array<TestClassFailures> {
return Json.decodeFromDynamic(Results.serializer(), io.kvision.require("test_failures.json")).testClassFailures
}
This was great for testing, but I’d like to move away from this. Unfortunately my json data isn’t available via a REST api to just pull it down. The reality is much more “primitive”. I have an S3 bucket that just occasionally gets a new json file added to it. I’d like the resulting application built from the kvision project to pull this new file in (they would be sat at the same level, so the json file would be added to the “index” folder). I’ve tried replacing the json file that gets added to .zip that gets generated when the application is built, but this seems to be ignored. The json file appears to be injected into the .js files directly.
It this possible?Hywel Bennett
07/13/2021, 2:08 PMneworldlt
07/19/2021, 8:03 AMStateFlow
. Is it safe to use? I mean long term supportPitel
07/23/2021, 1:59 PMPhilipp Smorygo [JB]
08/01/2021, 1:47 PMmain
component with several children. All children have identical functionality and are effectively a parent-child view. Where am I supposed to store selected child in parent view
data, so it would survive main
component refresh on global state update?Robert Jaros
08/12/2021, 6:12 AMy9san9
08/13/2021, 6:14 PMLars Erik Rojeras
08/16/2021, 2:18 PM[webpack-cli] Invalid configuration object. Object has been initialized using a configuration object that does not match the API schema.
- configuration has an unknown property '_assetEmittingWrittenFiles'. These properties are valid:
object { bonjour?, client?, compress?, dev?, firewall?, headers?, historyApiFallback?, host?, hot?, http2?, https?, liveReload?, onAfterSetupMiddleware?, onBeforeSetupMiddleware?, onListening?, open?, port?, proxy?, public?, setupExitSignals?, static?, transportMode?, watchFiles? }
(From what I know) I have not changed any build configurations. When I check out an earlier commit, that used to work, I get the same error.
Have you got any ideas what can be wrong?kenkyee
08/21/2021, 12:02 PMsteve h
08/21/2021, 4:40 PMRobert Jaros
08/26/2021, 9:06 AMUNuX
08/29/2021, 7:23 AM@Serializable
data class EntryRecord(
val id: Int?,
@Contextual val creationDate: Date?,
val contractType: String,
val contractNumber: String,
val pricePrepaid: Int,
var pricePrepaidConfirmed: Boolean,
val priceTotal: Int,
var priceTotalConfirmed: Boolean,
val additionalInfo: String?
)
Is serialized to this string:
"{"_id":null,"_creationDate":null,"_contractType":"Test","_contractNumber":"Test","_pricePrepaid":20099,"_pricePrepaidConfirmed":false,"_priceTotal":400095,"_priceTotalConfirmed":false,"_additionalInfo":""}"
Why is kotlin adding _
in front of every field name? How do I get rid of this?UNuX
08/29/2021, 11:27 AMAppScope.launch {
DataAccess.getRecords().catch {
Toast.error("Błąd pobierania danych z serwera")
}.then { records ->
println("Records: $records")
val filtered = ArrayList<EntryRecord>()
for(record in records.unsafeCast<List<EntryRecord>>()) {
if(!record.pricePrepaidConfirmed || !record.priceTotalConfirmed) {
filtered.add(record)
}
}
records variable is of type kotlin.Unit apparently...adamratzman
08/30/2021, 4:45 AMTomas Kormanak
08/31/2021, 2:50 PMcloseIcon
od pressing ESC key?Lars Erik Rojeras
09/01/2021, 7:05 AMA problem occurred configuring root project 'tkview'.
Task with name 'browserProductionWebpack' not found in root project 'tkview'.during build. I think it is related to jcenter() - but how do I solve it?
Lars Erik Rojeras
09/01/2021, 7:05 AMA problem occurred configuring root project 'tkview'.
Task with name 'browserProductionWebpack' not found in root project 'tkview'.during build. I think it is related to jcenter() - but how do I solve it?
Robert Jaros
09/01/2021, 7:13 AMbinaries.executable()
in your build file?Lars Erik Rojeras
09/01/2021, 7:25 AM