My Pixel 2 doesn't give me a notification when I attach it to a PC
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.