Giveth / giveth-next

Giveth 2.0 implementation in NextJS
https://next.giveth.io
GNU General Public License v3.0
20 stars 13 forks source link

Maintenance Mode #632

Open geleeroyale opened 2 years ago

geleeroyale commented 2 years ago

We need to do maintenance periodically to keep backend services and their dependencies up to date. Because we did not have too many users before we used to just to these maintenance procedures taking the risk to disrupt the session of one or two users. Now that the service has matured, we can't do that anymore. Users need to be informed about maintenance before and during the operations

My suggestion is to have three things:

MoeNick commented 2 years ago

Two first checkmarks should be approved by Comms Team. Just mention @WhyldWanderer and @laurenluz to prioritize it. the last checkmark: "Switch to maintenance mode on the frontend" can be done by @MohammadPCh , pls let me know if you need any design, etc.

laurenluz commented 2 years ago

How long does the maintenance take @geleeroyale ?

We can add it to our documentation. @divine-comedian - maybe you can find the appropriate place while you're working on the docs.

@WhyldWanderer do you think we should send a one-time email from autopilot to let them know about this before the first time?

geleeroyale commented 2 years ago

Depends. Usually its very quick. The timeframes would vary over maintenance periods in the future. The most important point is to communicate it to users on the frontend so they don't interact with it while some backend service is down.

laurenluz commented 2 years ago

Discussing it with the comms team, we don't think an email would be good because people are getting annoyed with them.

Can we instead add a banner on fridays that explains "maintenance coming soon"? @divine-comedian will write copy for this and the splash page.

laurenluz commented 2 years ago

@markoprljic can you help with the design of the splashpage & warning banner?

markoprljic commented 2 years ago

@markoprljic can you help with the design of the splashpage & warning banner?

Yes. cc/ @rodricastillo9013

divine-comedian commented 2 years ago

Here's some copy for ya :

Splash Page:

"Giveth.io is currently offline for scheduled maintenance! Check again in a few hours to dive back into the Future of Giving."

Banner:

"Giveth.io will be offline for scheduled maintenance starting on Saturday 12am GMT-6. The DApp will be inaccessible for several hours."

MoeNick commented 2 years ago

@MohammadPCh is off on Fri and Sat, is there any chance we have the design sooner to get it implemented today @rodricastillo9013 ? I think we need it on Sat

rodricastillo9013 commented 2 years ago

Hi perfect I'll get on with this now!

rodricastillo9013 commented 2 years ago
Header - Maintenance Home Maintenance
rodricastillo9013 commented 2 years ago

what do you think of these designs?

markoprljic commented 2 years ago

I'd use the same darker purpler on the second mockup (Splash page) and include logo and offer user to go to Medium or Youtube or somewhere else.

rodricastillo9013 commented 2 years ago

ok i will make the changes

rodricastillo9013 commented 2 years ago
Home Maintenance2
rodricastillo9013 commented 2 years ago

What do you think? @markoprljic

markoprljic commented 2 years ago

Nice.

@divine-comedian owns this issue, please review and approve.

rodricastillo9013 commented 2 years ago

https://www.figma.com/file/nVoinu0tgJ565enN5R4WDE/Giveth.io-%26-GIVeconomy?node-id=2%3A66

markoprljic commented 2 years ago

While we're at this, I think we need other error pages 404, 501 etc https://www.presslabs.com/how-to/error-pages/

Let's create a section in Figma and put them all there.

rodricastillo9013 commented 2 years ago

ok! nice! perfect

divine-comedian commented 2 years ago

@rodricastillo9013 @markoprljic looks great! I think @MohammadPCh can start

MoeNick commented 2 years ago

@MohammadPCh pls check the last checkbox in the description when it's completed. (It needs both on giveth.io & givEconomy)

rodricastillo9013 commented 2 years ago

Hi! here I leave the link where I have created all the error pages, any comment is welcome, if we need any more specific let me know

https://www.figma.com/file/nVoinu0tgJ565enN5R4WDE/Giveth.io-%26-GIVeconomy?node-id=3934%3A106532

MoeNick commented 2 years ago

Thanks @rodricastillo9013