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

Allow more powerful queries for Realms/Users tables #1147

Merged
merged 3 commits into from
Jun 4, 2019

Conversation

nirinchev
Copy link
Member

Fixes #1146

Some screens:

Screen Shot 2019-05-03 at 17 55 17

Screen Shot 2019-05-03 at 17 55 34

Screen Shot 2019-05-03 at 17 56 00

@nirinchev nirinchev requested a review from kraenhansen May 3, 2019 15:56
@nirinchev nirinchev self-assigned this May 3, 2019
@@ -81,8 +83,9 @@ export const RealmsTable = ({
onElementDoubleClick={onRealmOpened}
onElementsDeselection={onRealmsDeselection}
onSearchStringChange={onSearchStringChange}
searchPlaceholder="Search Realms"
searchPlaceholder="Search Realms (start with ! to write a verbatim realm-js query)"
Copy link
Member

Choose a reason for hiding this comment

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

I believe this placeholder is a bit (too) cryptic - perhaps we could move this explanation, with a couple of examples to a tooltip which is shown when pressing "?" button at the end of the input field or perhaps a placeholder in the table when the query doesn't return any results?

Copy link
Member

Choose a reason for hiding this comment

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

@nirinchev I see now that my comment doesn't make that much sense, as you did in-fact add a tooltip with examples 😄I think this placeholder can be greatly simplified as we have that.

@nirinchev nirinchev dismissed kraenhansen’s stale review June 4, 2019 09:50

Addressed feedback

@nirinchev nirinchev merged commit 7e91389 into master Jun 4, 2019
@nirinchev nirinchev deleted the ni/more-powerful-queries branch June 4, 2019 10:39
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
Copy link
Member

Choose a reason for hiding this comment

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

Not a big fan of this change @nirinchev.
Having a pre-commit hook makes it easier to help contributors remember to run linting.

If you think this was really necessary, I think it should have been a separate PR to make it easier to revert in the future.

Copy link
Member Author

Choose a reason for hiding this comment

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

I couldn't commit due to an error that I showed you some time ago. While I agree it could have been done in a separate PR, it didn't seem worth the effort. I'll create an issue to track enabling it.

Copy link
Member

Choose a reason for hiding this comment

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

☝️ did you create an issue to track enabling it @nirinchev? I can't seem to find it ..

Copy link
Member Author

Choose a reason for hiding this comment

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

Of course - #1166 - it's the latest issue in the repo 😝

@nirinchev nirinchev mentioned this pull request Sep 23, 2019
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 19, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Realm filter is useless when a lot of realms start with the same prefix
2 participants