I have the same issue running PureOS on a Macbookpro.
Randomly the internet just disconnects. The wifi symbol is still showing. I have plugged in a USB wifi in addition to the built in wifi. This helps some but the internet still disconnects randomly.
To get back on, I have to turn off the network and turn it back on at the top right in the status bar.
Any solutions?