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

[Sheets] Saved, History and Notes #2203

Draft
wants to merge 10 commits into
base: modularization-main
Choose a base branch
from

Conversation

saengel
Copy link
Contributor

@saengel saengel commented Dec 23, 2024

Description

Creating the "sheets" side of Saved, History and Notes.

Code Changes

  1. reader/views.py - Shift page to match the expanded menuOpen options (texts-saved, sheets-saved, texts-history, sheets-history, notes).
  2. sefaria/urls.py - Add new URLs for sheets
  3. static/js/ReaderApp.jsx - URL changes and handling on the FE
  4. static/js/ReaderPanel.jsx - Using sheets and library wrapper classes
  5. static/js/UserHistoryPanel.jsx - Bulk of changes: (a) defining wrapper components with dataSource prop, adjusting UserHistoryPanel and UserHistoryList to filter contents based on "mode" (i.e. only display saved sheets in sheets mode, and only saved refs in library mode).

Notes

There are two known bugs that still need to be resolved, why this is a draft PR. Bugs are detailed on card.

@saengel saengel requested a review from yitzhakc December 23, 2024 17:26
@saengel saengel self-assigned this Dec 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant