Hey chat! How do you get a hold of the `UndoManage...
# compose-desktop
a
Hey chat! How do you get a hold of the
UndoManager
that's used inside
CoreTextField
? Or any way to customize it? Let's say we have a notes app with a list of notes and a single text field for detail view. Typing in the text field updates the selected note's content. Imagine we 1. Add note 1, type "hello" in the text field. 2. Add note 2, text field becomes empty, because it's a new empty note. 3. Press Ctrl+Z. 4. Now the text field content is "un-done" back to "hello". Note 2 content is set to "hello". I'd prefer a way to keep undo histories of different logical items separate.
1
z
Please file feature requests: we’re rebuilding undo for BasicTextField2, and this is good feedback.
thank you color 1
a
@Zach Klippenstein (he/him) [MOD] hows BTF2 looking for 1.6.0?
z
Still experimental, development continues in 1.7
a
got ya, any chance it'll be included in 1.6.0 stable but marked as experimental or something?
z
It’ll be experimental in 1.6, yes.
a
fantastic news! Thanks to you and the rest of the time for all your work on this!
👍🏻 1
a
@Zach Klippenstein (he/him) [MOD] this sounds great! I'll gladly file feature requests or help if I can. Could you please point me to a good place to do so? (Issue tracker?) Sorry I sometimes can't figure out where the source and issues live easily 😔
z
Oh it might not work on desktop on 1.6, that work is being done on jetbrains side and I’m not sure what the status is
🙏 1
But general bugs can be filed on issuetracker.google.com
a
Ok, I gave up and submitted an issue to JetBrains / compose-multiplatform, because • GitHub repos don't accept issues • the linked android issue tracker tells me I don't have permission Thanks for the pointers!
z
you should have permission if you select a Jetpack Compose component
🙏 1