icssc / AntAlmanac

A course exploration and scheduling tool for UCI Anteaters
https://antalmanac.com
MIT License
54 stars 64 forks source link

Auto-Save Feature Complete #865

Closed stevenguyukai closed 6 months ago

stevenguyukai commented 7 months ago

Summary

1. Key feature 1 - Adding Auto Save Setting

image

The default setting is OFF. This is considering the workload that the server may experience. When a user sets it to ON, every action from the user will be saved. (For example, AddCourse ChangeCustomEventColor etc )

asd

2. Key feature 2 - Alert User of unsaved action

image

When the user didn't set the autosave to ON and didn't manually save. Next time users enter the website, they will receive an alert of unsaved action. If the user clicks OK (Despite the picture, the button is in Chinese; it changes as system settings), the actions users made previously will be loaded to the calendar.

Test Plan

Check for every action, like DeleteCourse, UpdateCustomEvent, etc., to work as intended.

github-actions[bot] commented 6 months ago

Deployed staging instance to https://staging-865.antalmanac.com

stevenguyukai commented 6 months ago

Todo

1. Make Auto Saving animation circle

2. Change the style for the experimental feature AutoSave in the setting

stevenguyukai commented 6 months ago

This pull request is been overtaken by #891