-
Notifications
You must be signed in to change notification settings - Fork 223
Use Frontend's options for Popup and DisplayFloat #452
Comments
In order to make #412 possible, there has to be a centralized place that determines which profile is used. I think this should be In the case of #389, Search page is an exception since it has no |
@toasted-nutbread Which one do you think is the best:
Performance wise this could go either way. If a tab has lots of frames there will be lots of noise when using There's an issue that API functions like
|
It also seems possible to use window messaging to propagate options from |
Maybe the optimal choice might be a combination of 1 and 2. You're right that there are about 5 places where
This would definitely be the option we want to use, since it's already how the Another thing that I've noticed about the some of the codebase is that I kind of did this in #442, by changing |
Ok.
I've noticed this development and I'll try to avoid passing it completely where possible. The problem is that it contains things that affect both frontend and backend logic. To avoid having the options object in places other than the backend, maybe there could be separate API functions or other mechanic to get frontend settings specific to some feature. |
The issue was first noted in #439 (comment), but it turns out that the issue is not limited to the
Popup
class andDisplayFloat
should also be updated when theFrontend
using it changes.#417
The text was updated successfully, but these errors were encountered: