mosaic icon indicating copy to clipboard operation
mosaic copied to clipboard

textinput support?

Open juliocbcotta opened this issue 2 years ago • 5 comments

Hey, I was checking the library and I couldn't find any TextInput support/demo on it... Am I missing anything?

juliocbcotta avatar Dec 08 '23 20:12 juliocbcotta

Nothing is supported today. This is tracked by #10, although that is for the low-level mechanism and not a high-level component such as TextInput which likely also requires focus management to be supported first.

JakeWharton avatar Dec 08 '23 20:12 JakeWharton

Ahh, OK. I thought that maybe mosaic could reuse some code from compose-multiplatform for keyboard handling, but maybe it is too much. Thank you for the reply.

juliocbcotta avatar Dec 08 '23 20:12 juliocbcotta

Nope. Nothing can be reused.

JakeWharton avatar Dec 08 '23 21:12 JakeWharton

I am also researching Mosaic to create a PoC application for our team which will be used to consume our own API services so that we can try them from a user perspective (and also for our team to use when debugging our own resposne data). Its based on the rrtop sample right now and will have screens where you can paginate the datasets and view in a typical master-detail view more information of each row in the table.

I need to add textinput so that its possible to add a search dialog or command for that will be used when requesting data from the backends and displayed in table form in the screen. Hopefully it would be possible to create dialogs with input fields, but as a first attempt just commands like VIM would be enough to get input for search.

dniel avatar Aug 23 '24 09:08 dniel

Key handling is now supported, so one could write a very basic input field. We still lack anything like a focus manager, though.

JakeWharton avatar Sep 19 '24 15:09 JakeWharton