Skip to content
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

[16.0][IMP] mis_builder: preserve the filters when navigating back from drill-down #593

Open
wants to merge 2 commits into
base: 16.0
Choose a base branch
from

Conversation

IT-Ideas
Copy link
Contributor

@IT-Ideas IT-Ideas commented Dec 27, 2023

Prior to this commit the state of the searchModel was lost when navigating
back from a drill-down.

This commit uses the globalState in order to store and restore the state
of the searchModlel. The use of a SubEnv allows not having to pass props
up to the widget, which would have required overriding the renderer, the
compiler and field.

Blocked by #585

This commit ensure that the context used by the `mis_report_widget`
widget RPC calls is correctly computed.

Previously using the `mis_analytic_domain` context key was useless
as not taken into account in the widget.
@IT-Ideas IT-Ideas force-pushed the 16.0-mis-builder_preserve_search-lst branch from 914cf12 to ae2428d Compare December 27, 2023 14:09
@IT-Ideas IT-Ideas changed the title [IMP] mis-builder: preserve the filters when navigating back from drill-down [IMP] mis_builder: preserve the filters when navigating back from drill-down Dec 27, 2023
@IT-Ideas IT-Ideas force-pushed the 16.0-mis-builder_preserve_search-lst branch 2 times, most recently from 2e681e1 to 7c2fc76 Compare December 28, 2023 10:54
@IT-Ideas IT-Ideas force-pushed the 16.0-mis-builder_preserve_search-lst branch from 7c2fc76 to 7c07791 Compare January 16, 2024 13:59
…ll-down

Prior to this commit the state of the searchModel was lost when navigating
back from a drill-down.

This commit uses the globalState in order to store and restore the state
of the searchModlel. The use of a SubEnv allows not having to pass props
up to the widget, which would have required overriding the renderer, the
compiler and field.
@IT-Ideas IT-Ideas force-pushed the 16.0-mis-builder_preserve_search-lst branch from 7c07791 to b0692f8 Compare January 16, 2024 14:03
@IT-Ideas
Copy link
Contributor Author

@sbidoul

@sbidoul sbidoul changed the title [IMP] mis_builder: preserve the filters when navigating back from drill-down [16.0][IMP] mis_builder: preserve the filters when navigating back from drill-down May 10, 2024
@sbidoul sbidoul added the 16.0 label May 10, 2024
Copy link

github-actions bot commented Sep 8, 2024

There hasn't been any activity on this pull request in the past 4 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 30 days.
If you want this PR to never become stale, please ask a PSC member to apply the "no stale" label.

@github-actions github-actions bot added the stale PR/Issue without recent activity, it'll be soon closed automatically. label Sep 8, 2024
@sbidoul sbidoul mentioned this pull request Sep 11, 2024
@github-actions github-actions bot closed this Oct 13, 2024
@sbidoul sbidoul reopened this Oct 13, 2024
@OCA-git-bot
Copy link
Contributor

Hi @sbidoul,
some modules you are maintaining are being modified, check this out!

@sbidoul sbidoul removed the stale PR/Issue without recent activity, it'll be soon closed automatically. label Oct 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants