Rename files in src/view/results to match their components#2716
Rename files in src/view/results to match their components#2716robertbrignull merged 4 commits intomainfrom
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. |
charisk
left a comment
There was a problem hiding this comment.
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/resultswhere 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-reviewlabel there.