-
-
Notifications
You must be signed in to change notification settings - Fork 48
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
Made Inactive and archived entities to indexable #422
Made Inactive and archived entities to indexable #422
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The indexing part looks good.
Now in order to keep the search results consistent we need to rank inactive entities the lowest. Please add is_active
attribute and adjust the customRanking
rules to use it as the very first one.
@arkid15r Please review the PR |
@arkid15r . Please review this PR |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's simplify it a bit. I believe having just "inactive" is enough. We don't need a separate flag about their "archived" status.
Also, we need to indicate this status on the frontend (both entity list and entity details page)
…om/Naveen-Pal/Nest into include-inactive-archived-entities
Please review now, i have removed those changes |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some new requirements I want to be implemented after the review:
- do not show inactive projects in the list/search at all (but keep them in the index)
- show project details page for inactive projects with
Inactive
badge (direct link access)
@arkid15r regarding
If you will not pass |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure if you've missed these:
Some new requirements I want to be implemented after the review:
do not show inactive projects in the list/search at all (but keep them in the index)
show project details page for inactive projects with Inactive badge (direct link access)
sorry i missed this |
Then i should remove the status badge from the cards as all the visible project are active. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍
Let's improve the rest as separate tasks.
Resolves #369
Modify the is_indexable() function to allow inactive and archived entities.
Modified the corresponding tests.