-
Notifications
You must be signed in to change notification settings - Fork 74
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
Refactor observe id #693
Refactor observe id #693
Conversation
A problem is now changing the settings... |
I would do the former, since computations are cached, we lose nothing: advancing forward will be instantaneous up to the point you would use in the latter option |
Definitely simpler, however since decorations in manual mode depend upon the observe_id, the user will be under the impression that the execution state has been reset. Not great UX I guess. |
If you are in continuons mode you should not see any green area, and hence going to manual is the same (there is no green disappearing). Or you refer to other decorations? |
bb9022d
to
e73076b
Compare
You're right. I've changed the code so to reset the decorations when we move from manual to continuous mode as well ! |
observe_id is only used in manual mode. In continuous mode it is now null. In manual mode we now introduce the Top type to indicate that observe id is currently at the top of the document.
af0ada3
to
d17a89c
Compare
This pull request adresses some inconsistencies with the observe id.
By default now the observe id is None in continuous mode and Top (for top of the document) or (Id id) when on a specific sentence.