My Pixel 2 doesn't give me a notification when I attach it to a PC I've had a new Pixel 2 XL for a few days now. Today when I plug it in to a PC the PC detects that it is present but doesn't show the list of files present on the device.

When I did this a few days ago, I had a similar experience, but a notification popped up on the phone asking me what mode I wanted to use. It was set to "recharge" by default, but when I changed it to "file sharing" (exact wording might not be right) the files appeared in the browser on my PC.

Today there is no notification. I have tried unplugging the device and plugging it back in several times. Did I do something to disable the notification? How can I re-enable the notification or better yet set it so that it always turns on file share mode when I plug it in?
Do you have a lock-screen enabled on it? Most Android phones will require you to unlock it before it will connect to the file system. If you don't have a lock-screen, you may want to check out this article and make sure it's set to file mode, and mot just MTP or charging.