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

[DRAFT] feat: use backend to render browser columns #41

Closed

Commits on Jun 16, 2024

  1. refactor: prep for multiple BrowserColumns

    * Moves save/load into CardBrowserColumn
    * Use the enum values, rather than the indices
    
    Prep for Issue 11889
    david-allison committed Jun 16, 2024
    Configuration menu
    Copy the full SHA
    9f8d440 View commit details
    Browse the repository at this point in the history
  2. feat(preferences): improve browser columns

    Breaking!
    Updates the default columns from:
    
    * QUESTION, ANSWER
    to
    * Cards: [Sort Field, Card Type, Due, Deck]
    * Notes: [Sort Field, Note Type, Card Type/Type Count, Tags]
    
    ----
    
    improvements:
    * Support different columns for CARDS and NOTES mode
    * Support more than 2 columns (not yet usable in the UI)
    
    deprecates + upgrades shared prefs:
    * "cardBrowserColumn1" - index into `COLUMN1_KEYS`
    * "cardBrowserColumn2" - index into `COLUMN2_KEYS`
    
    now (shared prefs):
    
    * "activeCols" -> `|` separated list of column keys
    * "activeNoteCols" -> `|` separated list of column keys
    
    Prep for Issue 11889
    david-allison committed Jun 16, 2024
    Configuration menu
    Copy the full SHA
    ae790c4 View commit details
    Browse the repository at this point in the history
  3. feat: setActiveBrowserColumns

    For use in browserRowForId
    
    Prep for Issue 11889
    david-allison committed Jun 16, 2024
    Configuration menu
    Copy the full SHA
    69ff069 View commit details
    Browse the repository at this point in the history
  4. feat(browser): use backend column headings

    removes strings:
    * browser_column1_headings
    * browser_column2_headings
    
    Prep for Issue 11889
    david-allison committed Jun 16, 2024
    Configuration menu
    Copy the full SHA
    a5788d6 View commit details
    Browse the repository at this point in the history
  5. fix(browser): remove redundant ViewModel call

    unnecessary logging from logs of 'setColumn[1/2]'
    david-allison committed Jun 16, 2024
    Configuration menu
    Copy the full SHA
    eb7d7d5 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    b0ef1b8 View commit details
    Browse the repository at this point in the history

Commits on Jun 17, 2024

  1. Configuration menu
    Copy the full SHA
    07e0b7b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1eb6386 View commit details
    Browse the repository at this point in the history