-
Notifications
You must be signed in to change notification settings - Fork 189
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 files in src/view/results to match their components #2716
Conversation
I don't know what's going on with this If I import If I rename the import to Is there something special about this file? It's not failing on any of the other imports. I was wondering if this file is imported from somewhere else like a special javascript file, because the graph viewer does do some unusual things, but I can't find anything like that. |
This is the error I get locally in VS Code: This was fixed by a restart. This maybe makes sense that VS Code was confused by the renamed file and had to have the typescript server be restarted. This thread helped me work it out. Unfortunately that doesn't explain why CI is having problems, because everything in that thread is about needing a restart or prompting typescript to see the new files. I am wondering if maybe we should change the tsconfig |
14155d6
to
3164c3f
Compare
I worked out the problem is that I didn't actually commit the I hope this works and doesn't cause problems for anyone else who views this repo on OSX. I had problems when changing branch because it didn't update the graph file and it kept the wrong case. 😟 We could fully rename the file but I can't think of a good thing to call it. Or just accept we might have some issues when this PR is merged and people pull the 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.
LGTM and works locally. I got the same error as you but it went away after restarting VS Code.
Perhaps git mv
would have helped with the renaming issues you came across?
Good point. |
We have a bunch of files in
src/view/results
where the filename does not match the name of the component they contain. We may as well rename them all at once.Checklist
ready-for-doc-review
label there.