-
-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Reuse existing boxes when editing #190
Comments
I am interested in implementing this, and after taking a look around I came up with a couple of high-level approaches to solve the problem of "how can we know if the thing we're about to output carries the same identity as any thing in view?" Approach no.1 could involve modifying A less invasive option might be to assign a unique id derived from the name of the thing (
Which of these sound more appealing to you? Is there another path to consider? |
@ChrisRenfrow Sounds good, go for it! I had something like the first approach in mind. There's no need to hack it on as a frontend-only change. However, be mindful that the I would only update the most recent box, rather than anything still visible on the screen. And I suggest a CSS animation to show that a field has been changed, maybe highlighting it for a second or something. That diff can be done client (JS)-side; trying to get that information across the WASM FFI would be a pain. |
Oh, I think I understand, you're asking that I use some arbitrary property like |
Exactly. Because the same entity can appear multiple times on a page, we just don't want it to appear consecutively anymore. |
The text was updated successfully, but these errors were encountered: