Robert Jaros
06/12/2021, 2:01 AMRobert Jaros
06/12/2021, 2:01 AMRobert Jaros
06/12/2021, 2:01 AMRobert Jaros
06/12/2021, 2:01 AMRestClient and fullstack interfaces move to fetch API
With jQuery gone, all ajax() calls will need to be replaced with fetch. This forces also some changes to the public RestClient API.Robert Jaros
06/12/2021, 2:03 AMawesome-bootstrap-checkbox with pretty-checkbox library (as a module)
The old library doesn't support Bootstrap 5. But I'm also considering just dropping this feature at all and just keep Bootstrap 5 styles (including "switch" component).Robert Jaros
06/12/2021, 2:03 AMstate parameter (there are really lots of them - and it's a lot of mostly unused code).
The bind() extension functions will be used instead.
The same goes to FormPanel - remove add() and migrate to bind().
I'd like also make some cleanups with state modules. Move all state functions and state components (observables) to a module (kvision-state) and rename kvision-event-flow module to kvision-state-flow or kvision-state-coroutines.Robert Jaros
06/12/2021, 2:04 AMstart method).Robert Jaros
06/12/2021, 2:04 AMnoWrappers parameter. I plan to invert the default. It will probably break some existing layouts and will require manual migration.Robert Jaros
06/12/2021, 2:04 AMkotlinx-datetime dependency instead of KVision custom datetime types for fullstack interfaces.
I'm not sure how stable the library is at the moment.Robert Jaros
06/12/2021, 2:06 AMBig Chungus
06/12/2021, 7:27 AMBig Chungus
06/12/2021, 7:28 AMRobert Jaros
06/12/2021, 9:17 AMRobert Jaros
06/12/2021, 9:21 AMBig Chungus
06/12/2021, 10:33 AMRobert Jaros
06/12/2021, 11:08 AMTomas Kormanak
06/15/2021, 8:26 AMTomas Kormanak
06/25/2021, 4:47 PMktor-client ?Robert Jaros
06/25/2021, 5:10 PMRobert Jaros
06/25/2021, 5:11 PMRobert Jaros
06/25/2021, 5:12 PMRobert Jaros
06/25/2021, 5:13 PMTomas Kormanak
06/25/2021, 5:17 PMTomas Kormanak
06/25/2021, 5:29 PMinterface Filter {}
interface RequestFilter: Filter {
fun filter(request: Request):Request
}
interface ResponseFilter: Filter {
fun filter(response:Response): Response
}
something like ^^
It might also handle serialization/deserializationTomas Kormanak
06/25/2021, 5:46 PMclient = RestClient(..., baseUrl="<https://api.example.com>")
client.remoteRequest("/users")
instead of concatening url in every request:
client.remoteRequest(BASE_URL + "/users")