-
Notifications
You must be signed in to change notification settings - Fork 32
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
Instant update after UI actions #180
Comments
Are you talking about when the URL updates or the UI itself? We tried to make the URL update infrequently to reduce the length of the back button history in the browser, but the UI should request and show updates rapidly when the query changes. We only rerun the query about every 250ms as you type so that fast typists don't cause excessive quey load. If you are making changes in the UI and it doesn't update, please let us know which browser you're using and send us some sample steps. Thanks! |
Hi Ahmed, I work with Scott on this project and focus on the front end. The
issues you're describing sound related to localStorage when change
notifications are not firing. As Scott suggested, it's likely this is
browser specific so it would help us to know which browser you are on.
Thanks!
…On Mon, Feb 12, 2018 at 7:26 PM, Scott Louvau ***@***.***> wrote:
Are you talking about when the URL updates or the UI itself? We tried to
make the URL update infrequently to reduce the length of the back button
history in the browser, but the UI should request and show updates rapidly
when the query changes. We only rerun the query about every 250ms as you
type so that fast typists don't cause excessive quey load. If you are
making changes in the UI and it doesn't update, please let us know which
browser you're using and send us some sample steps. Thanks!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#180 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ADSvn0zQPQ7vIw-YCHIwKJzWo7Fw7Emrks5tUQDegaJpZM4SA_CL>
.
|
Thanks Scott and Jeff. I'm referring to UI updates. This is happening in both FF & Chrome (latest stable release) on Windows 8.1. Sample One (in both FF & Chrome)
Sample Two (in FF)
Using DevTools to monitor/track the updates of "recents" localstorage key, it is not instantly updated following the applied UI action e.g. delete a recent item, mark search query as a favourite one etc... Please let me know should any further clarifications required. |
Hi Ahmed, thanks for providing those repros! Regarding sample one: that is a bug. Short term fix is to call mru.push() on when the query is cleared. Longer term fix is likely to simply commit the mru after a fixed timeout, rather than wait for a subsequent event. I will put it on our backlog. Regarding sample two: I was not able to repro because we don't test in Firefox. However, this issue is likely here: https://github.com/Microsoft/elfie-arriba/blob/6fa8cec2e2194147d1377bed0582a2534a15724f/Arriba/Arriba.Web/js/utilities.js#L104. My guess that is that it should work if you provide the right Event ctor for Firefox. Hope that helps! |
Hello folks,
Thanks a lot for this awesome project.
I'm noticing that most of UI actions are only applied after changing the current view to another one. Examples of that;
I find this behavior consistent and this left me wondering; is that on purpose? or am I missing something?
The text was updated successfully, but these errors were encountered: