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

repl: make autocomplete case-insensitive #41632

Merged

Conversation

gribnoysup
Copy link
Contributor

@gribnoysup gribnoysup commented Jan 21, 2022

This changes autocomplete suggestion filter to ignore input case
when first character of the last member of the user input is lower-case
allowing for more autosuggest results shown on the screen

Fixes: #41631

@nodejs-github-bot nodejs-github-bot added needs-ci repl labels Jan 21, 2022
@gribnoysup gribnoysup force-pushed the case-insensitive-autocomplete branch 2 times, most recently from 7ad59a7 to 205e938 Compare Jan 21, 2022
@benjamingr
Copy link
Member

@benjamingr benjamingr commented Jan 21, 2022

@nodejs/repl @BridgeAR

@Trott
Copy link
Member

@Trott Trott commented Jan 22, 2022

Welcome, @gribnoysup, and thank you for the pull request! Can you please update the subsystem in the commit message to be repl instead of lib?

@Trott Trott changed the title lib: make autocomplete case-insensitive if user input is lowercase repl: make autocomplete case-insensitive if user input is lowercase Jan 22, 2022
@Trott Trott added the request-ci label Jan 22, 2022
@github-actions github-actions bot removed the request-ci label Jan 22, 2022
@nodejs-github-bot
Copy link
Contributor

@nodejs-github-bot nodejs-github-bot commented Jan 22, 2022

@nodejs-github-bot
Copy link
Contributor

@nodejs-github-bot nodejs-github-bot commented Jan 23, 2022

@gribnoysup gribnoysup force-pushed the case-insensitive-autocomplete branch from 205e938 to 5c98227 Compare Jan 23, 2022
@gribnoysup
Copy link
Contributor Author

@gribnoysup gribnoysup commented Jan 23, 2022

Hi @Trott 👋 Sure thing, updated

@benjamingr benjamingr requested a review from BridgeAR Jan 23, 2022
@nodejs-github-bot
Copy link
Contributor

@nodejs-github-bot nodejs-github-bot commented Jan 23, 2022

@nodejs-github-bot
Copy link
Contributor

@nodejs-github-bot nodejs-github-bot commented Jan 23, 2022

@nodejs-github-bot
Copy link
Contributor

@nodejs-github-bot nodejs-github-bot commented Jan 24, 2022

@addaleax addaleax removed the needs-ci label Jan 24, 2022
Trott
Trott approved these changes Jan 24, 2022
lib/repl.js Outdated Show resolved Hide resolved
@benjamingr
Copy link
Member

@benjamingr benjamingr commented Feb 23, 2022

Hey it looks like this has some conflicts, would you mind rebasing on top of master?

@gribnoysup gribnoysup force-pushed the case-insensitive-autocomplete branch 2 times, most recently from 5b0a5ef to f1eaa85 Compare Jun 5, 2022
@gribnoysup gribnoysup changed the title repl: make autocomplete case-insensitive if user input is lowercase repl: make autocomplete case-insensitive Jun 5, 2022
lib/repl.js Outdated Show resolved Hide resolved
lib/repl.js Outdated Show resolved Hide resolved
@gribnoysup gribnoysup force-pushed the case-insensitive-autocomplete branch 2 times, most recently from bb6f57b to 3e7e3df Compare Jun 5, 2022
aduh95
aduh95 approved these changes Jun 5, 2022
test/parallel/test-repl-tab-complete.js Outdated Show resolved Hide resolved
This changes autocomplete suggestion filter to ignore input case
allowing for more autosuggest results shown on the screen

Fixes: nodejs#41631
@gribnoysup gribnoysup force-pushed the case-insensitive-autocomplete branch from 3e7e3df to fea6adf Compare Jun 5, 2022
@gribnoysup
Copy link
Contributor Author

@gribnoysup gribnoysup commented Jun 5, 2022

@benjamingr #41632 (comment) is resolved now if you want to take another look and proceed with this one. I'm not sure I understand the process exactly, but I'm guessing this needs request-ci label added again?

@aduh95 aduh95 added author ready request-ci labels Jun 5, 2022
@github-actions github-actions bot removed the request-ci label Jun 5, 2022
@nodejs-github-bot
Copy link
Contributor

@nodejs-github-bot nodejs-github-bot commented Jun 5, 2022

@nodejs-github-bot
Copy link
Contributor

@nodejs-github-bot nodejs-github-bot commented Jun 6, 2022

@nodejs-github-bot
Copy link
Contributor

@nodejs-github-bot nodejs-github-bot commented Jun 6, 2022

@nodejs-github-bot
Copy link
Contributor

@nodejs-github-bot nodejs-github-bot commented Jun 6, 2022

@nodejs-github-bot
Copy link
Contributor

@nodejs-github-bot nodejs-github-bot commented Jun 6, 2022

@nodejs-github-bot
Copy link
Contributor

@nodejs-github-bot nodejs-github-bot commented Jun 12, 2022

@aduh95 aduh95 added the commit-queue label Jun 12, 2022
@nodejs-github-bot nodejs-github-bot removed the commit-queue label Jun 12, 2022
@nodejs-github-bot nodejs-github-bot merged commit 156365e into nodejs:master Jun 12, 2022
52 checks passed
@nodejs-github-bot
Copy link
Contributor

@nodejs-github-bot nodejs-github-bot commented Jun 12, 2022

Landed in 156365e

@gribnoysup gribnoysup deleted the case-insensitive-autocomplete branch Jun 12, 2022
italojs pushed a commit to italojs/node that referenced this issue Jun 12, 2022
This changes autocomplete suggestion filter to ignore input case
allowing for more autosuggest results shown on the screen

Fixes: nodejs#41631

PR-URL: nodejs#41632
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
danielleadams pushed a commit that referenced this issue Jun 13, 2022
This changes autocomplete suggestion filter to ignore input case
allowing for more autosuggest results shown on the screen

Fixes: #41631

PR-URL: #41632
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
@danielleadams danielleadams mentioned this pull request Jun 13, 2022
danielleadams pushed a commit that referenced this issue Jun 13, 2022
This changes autocomplete suggestion filter to ignore input case
allowing for more autosuggest results shown on the screen

Fixes: #41631

PR-URL: #41632
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
author ready repl
Projects
None yet
Development

Successfully merging this pull request may close these issues.

9 participants