remove the ui/app and ui/lib folders#10911
Conversation
ef2b786 to
e89996a
Compare
Builds ready [e89996a]
Page Load Metrics (563 ± 43 ms)
|
e89996a to
4b5a49d
Compare
Builds ready [4b5a49d]
Page Load Metrics (655 ± 60 ms)
|
|
Is there a way we can do this without losing all history 😬😬😬 ? Also, it might be good to separate the actual file moves into one commit and the config changes in another, so that rebases etc. aren't a horrible experience. |
362f7d9 to
b85c8e6
Compare
|
@darkwing I don't believe preserving history at the file level to be possible in all cases, but we will have the ability to see the file changes and connect the history manually. As an example the first entry for any "new" file in this PR will be the commit in this PR, which if clicked will inform the viewer of the old location. Browsing the repo at that point in history will give the rich file history while it was located in the previous place. Not ideal, but unfortunately obscuring file history in this way isn't avoidable in many cases. I did split out the configuration changes into a separate commit |
Builds ready [b85c8e6]
Page Load Metrics (694 ± 40 ms)
|
b85c8e6 to
da07ac6
Compare
Builds ready [da07ac6]
Page Load Metrics (615 ± 31 ms)
|
|
Waiting for the What's new feature to land before merging |
|
@brad-decker why do you think these are not being recognized as file renames? |
|
reading suggestions to prefer |
|
ohhh
is that true? seems like |
|
@kumavis Thanks for the lesson! I didn't know the entire interface is just being deciphered! I won't complain about github loading slowly on my huge PRs anymore lol. |
da07ac6 to
4c2002f
Compare
4c2002f to
fe530f8
Compare
Problem statement
Giving instructions to new engineers (or even those who have been around the block) to go to the
ui/app/components/appfolder is somewhat confusing. This would be fine to just overcome, but it also provides no real value. In fact it disjoints the file structure by implying significance ofui/libsover things likeui/app/helpersand to further complicate the matter theui/libsfolder had test helpers in it (some were unused)Solution
Relocate all files in
ui/libto the most sensible destination, for most this wasui/app/helpers/utils. Once done, flatten the contents ofui/appintoui/makingui/the top level folder of the entire frontend portion of the extension.Also, 1316 files later, I'm sorry.