Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] Share #38

Open
jsun969 opened this issue Dec 9, 2024 · 0 comments
Open

[Feature Request] Share #38

jsun969 opened this issue Dec 9, 2024 · 0 comments
Labels
enhancement New feature or request priority:normal

Comments

@jsun969
Copy link
Member

jsun969 commented Dec 9, 2024

Overview

We can have a share button the bottom of the calendar. It can generate a link to share the timetable with others

Details

Share

  1. Encode the course data in zustand to base64
  2. Pass the base64 data in search param

Read sharing data (TBD)

  1. Read data from search param
  2. Decode and verify if the data is valid
    • (Option 1) Replace the sharing data with current data (need a modal saying your current courses will be dropped if there is any data)
    • (Option 2) Just display the data but can't be changed (it won't be saved after changing - won't be modified in localstorage)

Why would this feature be useful?

No response

Additional Notes

No response

@jsun969 jsun969 added enhancement New feature or request priority:normal labels Dec 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request priority:normal
Projects
None yet
Development

No branches or pull requests

1 participant