-
Notifications
You must be signed in to change notification settings - Fork 16
Display error msg when a non-visible character is present in the csv #1200
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
Merged
joshunrau
merged 29 commits into
DouglasNeuroInformatics:main
from
david-roper:non-visisble-chars
Oct 9, 2025
Merged
Changes from 27 commits
Commits
Show all changes
29 commits
Select commit
Hold shift + click to select a range
0785071
feat: implement described error msg for sample data/subject row conta…
david-roper ee6bb98
feat: new error check for non-visible chars in non-initial rows
david-roper 7941210
feat: non-visible character check in zod3 processInstrumentCSV method…
david-roper b376302
fix: remove replacements methods as error should cover it
david-roper f7d7417
fix: adjust logic for non-visible char check, fix typo
david-roper 7319c38
fix: edits to french error messages
david-roper c2b2dd2
fix: remove false return value and logic using it
david-roper 8b0bbdb
fix: refactor if statements and error msg
david-roper 28166fa
chore: fix quotation
david-roper 75b7257
chore: fix captialization of error messages
david-roper 47e8147
Update apps/web/src/utils/upload.ts
david-roper e8088b5
fix: improve regex matching, update error msgs to contain matched chars
david-roper 5112d4e
fix: add s to nonvisiblechars variable
david-roper a337ee8
fix: typo
david-roper 4b434cd
feat: add coderabit regex recommendation
david-roper 26b9861
feat: display unicode value when caught
david-roper 870faac
chore: test new regex
david-roper 4eae3c7
chore: use regex from printable chars js
david-roper 92700e3
test: fix type casting issues in upload test
david-roper 29bdc37
fix: formatting
david-roper 3ddadaa
chore: move regex variable
david-roper 90c6ab3
Update apps/web/src/utils/upload.ts
david-roper ed5eb49
chore: fix code rabbit suggestion
david-roper c5b9005
chore: unicode non visible chars in initial row and date check
david-roper 0ce61a8
chore: add mongolian vowel separator unicode to regex catch
david-roper 10e8c78
chore: add tab to regex catcher
david-roper e8292c9
feat: deal with 3 spaces (tab in vscode csv editor)
david-roper 553cee9
Update apps/web/src/utils/upload.ts
david-roper e81547a
chore: changed my mind spaces now allowed
david-roper File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.