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

rename persisted project query #15559

Merged
merged 5 commits into from
May 23, 2024
Merged

Conversation

toy
Copy link
Contributor

@toy toy commented May 14, 2024

OP#51673

Includes rework of projects menu, with two goals - properly marking list selected from both project and project queries controller for all actions and fixing the bug with marking menu item if there was query_id param even on unrelated pages (work_packages persisted lists) or marking the «Active projects» when there were no params.

Also split huge persisting queries spec into multiple smaller ones.

@toy toy force-pushed the feature/51673-renaming-persisted-project-lists branch 8 times, most recently from 61c591c to c60f76c Compare May 21, 2024 14:14
@toy toy force-pushed the feature/51673-renaming-persisted-project-lists branch from c60f76c to e469061 Compare May 21, 2024 14:56
@toy toy force-pushed the feature/51673-renaming-persisted-project-lists branch from 434ee24 to 1a0ba25 Compare May 23, 2024 10:41

def initialize(query:)
super()
@query = query
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I didn't find a way to get model (query) from the ApplicationForm, so simpler and probably cleaner to just pass it

@toy toy marked this pull request as ready for review May 23, 2024 12:57
Copy link
Contributor

@klaustopher klaustopher left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good to me. A lot of refactorings but looks reasonable

@toy toy merged commit 068a88d into dev May 23, 2024
9 checks passed
@toy toy deleted the feature/51673-renaming-persisted-project-lists branch May 23, 2024 14:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants