1. The diode is to be removed, not to prevent overcharging, it is to be removed to prevent the battery getting 5V directly when flashing thru the usb on the wemos. So you'll have to remove the diode before flashing, otherwise you'll probably blow up the wemos and have a serious danger of fire...