-
-
Notifications
You must be signed in to change notification settings - Fork 318
Instance-level toggle for Display detail by account #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
Comments
When I discussed this with @jbeficent about this, we talk about having a tri-valued field in the template for expressing the auto expand account feature:
I think this system is the most flexible one. If you limit to a flag, maybe there are some things that you want to expand and others be selectable, and it can't be done with your proposal. |
@pedrobaeza @jbeficent interesting. Do you have example use cases where Always and Selectable would be combined? |
Not right now in our official templates, but as this is a generic template builder, I think it can greatly improve having this feature with more or less the same effort. |
Yes, it's not very complex indeed. Yet if there are no known uses cases I prefer to keep it as simple as possible. It can be added later when the use case arises. |
The UI for user is going to be the same, so please don't discard it. If you want, I can make the PR. |
No @pedrobaeza I disagree. It's more work (eg tests), and the UI is slightly more confusing for the user. So if there is no identified use case, let's not do it now. It's as easy to do it in several steps. The account expansion mechanism is the most complex part of mis builder (and it's ad-hoc: I kind of plan to rework it and make it more generic in the future), So I want ot keep it as simple as possible. Now if/when we have a clear use case I'm happy to do it as you propose. |
OK, go ahead. |
On mis.report.instance, add a flag
no_auto_expand_accounts
that disables expansion of account details for all kpis.This should allow the creation of templates that have account expansion on by default, while disabling it on specific reports that use the template.
cc/ @jbeficent
The text was updated successfully, but these errors were encountered: