Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

History based navigation with new right panel store #7398

Merged
merged 116 commits into from
Jan 5, 2022

Commits on Dec 6, 2021

  1. Configuration menu
    Copy the full SHA
    2575cb1 View commit details
    Browse the repository at this point in the history

Commits on Dec 8, 2021

  1. initial working refactor

    toger5 committed Dec 8, 2021
    Configuration menu
    Copy the full SHA
    790e162 View commit details
    Browse the repository at this point in the history
  2. remove check right panel

    toger5 committed Dec 8, 2021
    Configuration menu
    Copy the full SHA
    cdb56d1 View commit details
    Browse the repository at this point in the history
  3. change to fucntions instaed of actions

    Rename refire params
    toger5 committed Dec 8, 2021
    Configuration menu
    Copy the full SHA
    b0c4558 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    78f4e5e View commit details
    Browse the repository at this point in the history
  5. using the new functions, fixing import cycle,

    and DEVICE setting
    toger5 committed Dec 8, 2021
    Configuration menu
    Copy the full SHA
    b4f1a95 View commit details
    Browse the repository at this point in the history
  6. refactor toggle to RightPanelStore.togglePanel()

    comment out deprecated actions
    toger5 committed Dec 8, 2021
    Configuration menu
    Copy the full SHA
    4f010e8 View commit details
    Browse the repository at this point in the history
  7. fix viewedRoomId undefined

    toger5 committed Dec 8, 2021
    Configuration menu
    Copy the full SHA
    560585f View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    88bf032 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    094bf11 View commit details
    Browse the repository at this point in the history
  10. remove imports

    toger5 committed Dec 8, 2021
    Configuration menu
    Copy the full SHA
    4620154 View commit details
    Browse the repository at this point in the history

Commits on Dec 9, 2021

  1. Update typing and move RightPanelStore to folder

     - Also fixes some missing state updates for the right panel
    toger5 committed Dec 9, 2021
    Configuration menu
    Copy the full SHA
    3349076 View commit details
    Browse the repository at this point in the history
  2. remove all the comments

    toger5 committed Dec 9, 2021
    Configuration menu
    Copy the full SHA
    3bad57f View commit details
    Browse the repository at this point in the history
  3. remove more commnets

    toger5 committed Dec 9, 2021
    Configuration menu
    Copy the full SHA
    1116c97 View commit details
    Browse the repository at this point in the history
  4. fix loading and saving to device settings

     - A list of conversion function is intruduced for the panel history
      that just stores the eventId's (instead of the full event)
     - loading is only done when the client is ready to have
     acces to the getRoom function
    toger5 committed Dec 9, 2021
    Configuration menu
    Copy the full SHA
    766377f View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    0df5e63 View commit details
    Browse the repository at this point in the history
  6. remove more comments

    toger5 committed Dec 9, 2021
    Configuration menu
    Copy the full SHA
    9ddf830 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    1522f85 View commit details
    Browse the repository at this point in the history

Commits on Dec 10, 2021

  1. remove more comments

    toger5 committed Dec 10, 2021
    Configuration menu
    Copy the full SHA
    8e23f2e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    213fc04 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    8ea987b View commit details
    Browse the repository at this point in the history
  4. fix wrong this. (needed to use _this)

     - this caused multiple issues
    toger5 committed Dec 10, 2021
    Configuration menu
    Copy the full SHA
    44e6e57 View commit details
    Browse the repository at this point in the history
  5. fix git ci

    toger5 committed Dec 10, 2021
    Configuration menu
    Copy the full SHA
    9071ee2 View commit details
    Browse the repository at this point in the history
  6. comment clean up

    toger5 committed Dec 10, 2021
    Configuration menu
    Copy the full SHA
    a9e9fbf View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    eab46c4 View commit details
    Browse the repository at this point in the history

Commits on Dec 13, 2021

  1. Configuration menu
    Copy the full SHA
    4cb7ed3 View commit details
    Browse the repository at this point in the history
  2. fix import order

    toger5 committed Dec 13, 2021
    Configuration menu
    Copy the full SHA
    0a209bc View commit details
    Browse the repository at this point in the history
  3. add console log

    toger5 committed Dec 13, 2021
    Configuration menu
    Copy the full SHA
    5839777 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    5a883cc View commit details
    Browse the repository at this point in the history
  5. rename room -> panel

    toger5 committed Dec 13, 2021
    Configuration menu
    Copy the full SHA
    49e89d0 View commit details
    Browse the repository at this point in the history

Commits on Dec 14, 2021

  1. Update src/components/structures/RightPanel.tsx

    Co-authored-by: J. Ryan Stinnett <jryans@gmail.com>
    toger5 and jryans authored Dec 14, 2021
    Configuration menu
    Copy the full SHA
    0eff48e View commit details
    Browse the repository at this point in the history
  2. Update src/components/views/right_panel/HeaderButtons.tsx

    Co-authored-by: J. Ryan Stinnett <jryans@gmail.com>
    toger5 and jryans authored Dec 14, 2021
    Configuration menu
    Copy the full SHA
    5f690a3 View commit details
    Browse the repository at this point in the history
  3. Update src/stores/right-panel/RightPanelStore.ts

    Co-authored-by: J. Ryan Stinnett <jryans@gmail.com>
    toger5 and jryans authored Dec 14, 2021
    Configuration menu
    Copy the full SHA
    7c82f8d View commit details
    Browse the repository at this point in the history
  4. Update src/stores/right-panel/RightPanelStore.ts

    Co-authored-by: J. Ryan Stinnett <jryans@gmail.com>
    toger5 and jryans authored Dec 14, 2021
    Configuration menu
    Copy the full SHA
    726243a View commit details
    Browse the repository at this point in the history
  5. Update src/stores/right-panel/RightPanelStore.ts

    Co-authored-by: J. Ryan Stinnett <jryans@gmail.com>
    toger5 and jryans authored Dec 14, 2021
    Configuration menu
    Copy the full SHA
    52d87c4 View commit details
    Browse the repository at this point in the history
  6. Update src/stores/right-panel/RightPanelStore.ts

    Co-authored-by: J. Ryan Stinnett <jryans@gmail.com>
    toger5 and jryans authored Dec 14, 2021
    Configuration menu
    Copy the full SHA
    cec0330 View commit details
    Browse the repository at this point in the history
  7. Update src/stores/right-panel/RightPanelStore.ts

    Co-authored-by: J. Ryan Stinnett <jryans@gmail.com>
    toger5 and jryans authored Dec 14, 2021
    Configuration menu
    Copy the full SHA
    125ff03 View commit details
    Browse the repository at this point in the history
  8. Update src/stores/right-panel/RightPanelStore.ts

    Co-authored-by: J. Ryan Stinnett <jryans@gmail.com>
    toger5 and jryans authored Dec 14, 2021
    Configuration menu
    Copy the full SHA
    97b2210 View commit details
    Browse the repository at this point in the history
  9. Update src/stores/right-panel/RightPanelStore.ts

    Co-authored-by: J. Ryan Stinnett <jryans@gmail.com>
    toger5 and jryans authored Dec 14, 2021
    Configuration menu
    Copy the full SHA
    ab32836 View commit details
    Browse the repository at this point in the history
  10. Update src/stores/right-panel/RightPanelStore.ts

    Co-authored-by: J. Ryan Stinnett <jryans@gmail.com>
    toger5 and jryans authored Dec 14, 2021
    Configuration menu
    Copy the full SHA
    ab6771a View commit details
    Browse the repository at this point in the history
  11. resolve review

    toger5 committed Dec 14, 2021
    Configuration menu
    Copy the full SHA
    2ffb5b9 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    a3f8ab6 View commit details
    Browse the repository at this point in the history
  13. remove comment (review)

    toger5 committed Dec 14, 2021
    Configuration menu
    Copy the full SHA
    7301c64 View commit details
    Browse the repository at this point in the history
  14. use default dispatcher

    toger5 committed Dec 14, 2021
    Configuration menu
    Copy the full SHA
    2356c52 View commit details
    Browse the repository at this point in the history
  15. check for dispatcherRef

    toger5 committed Dec 14, 2021
    Configuration menu
    Copy the full SHA
    9be935f View commit details
    Browse the repository at this point in the history

Commits on Dec 15, 2021

  1. Configuration menu
    Copy the full SHA
    c739f77 View commit details
    Browse the repository at this point in the history
  2. unregister in destory

    toger5 committed Dec 15, 2021
    Configuration menu
    Copy the full SHA
    02ca999 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    86bbb58 View commit details
    Browse the repository at this point in the history
  4. header button highlighting fix

     -  they were always highlighted
    toger5 committed Dec 15, 2021
    Configuration menu
    Copy the full SHA
    b8d0b7c View commit details
    Browse the repository at this point in the history
  5. comments

    toger5 committed Dec 15, 2021
    Configuration menu
    Copy the full SHA
    3cfc79f View commit details
    Browse the repository at this point in the history
  6. rename interfaces and function signatures:

     - IPhaseAndState -> IRightPanelCard (a card in thr irght panel history)
     - IPanelState -> IRightPanelCardState (the state of a card)
     - IRightPanelForRoom (the history of the RightPanel and isOpen for a room)
     - setRightPanel(phase: RightPanelPhases, state:IPanelState) -> setCard(card: IRightPanelCard)
    toger5 committed Dec 15, 2021
    Configuration menu
    Copy the full SHA
    715cf05 View commit details
    Browse the repository at this point in the history
  7. another unmounted fix

    toger5 committed Dec 15, 2021
    Configuration menu
    Copy the full SHA
    5211c5f View commit details
    Browse the repository at this point in the history
  8. add memberInfoEvent

    toger5 committed Dec 15, 2021
    Configuration menu
    Copy the full SHA
    64ddcea View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    8a2a3de View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    baf1471 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    fc82e1e View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    a31196e View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    bbf2415 View commit details
    Browse the repository at this point in the history
  14. review fixes

    toger5 committed Dec 15, 2021
    Configuration menu
    Copy the full SHA
    eea2af1 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    0c63bdd View commit details
    Browse the repository at this point in the history
  16. some more cleanup

    toger5 committed Dec 15, 2021
    Configuration menu
    Copy the full SHA
    4dfdee9 View commit details
    Browse the repository at this point in the history

Commits on Dec 16, 2021

  1. Update src/stores/right-panel/RightPanelStoreIPanelState.ts

    Co-authored-by: J. Ryan Stinnett <jryans@gmail.com>
    toger5 and jryans authored Dec 16, 2021
    Configuration menu
    Copy the full SHA
    7ec26c4 View commit details
    Browse the repository at this point in the history
  2. Update src/stores/right-panel/RightPanelStoreIPanelState.ts

    Co-authored-by: J. Ryan Stinnett <jryans@gmail.com>
    toger5 and jryans authored Dec 16, 2021
    Configuration menu
    Copy the full SHA
    f6ae28b View commit details
    Browse the repository at this point in the history
  3. Update src/components/structures/UserView.tsx

    Co-authored-by: J. Ryan Stinnett <jryans@gmail.com>
    toger5 and jryans authored Dec 16, 2021
    Configuration menu
    Copy the full SHA
    9f0383d View commit details
    Browse the repository at this point in the history
  4. Update src/components/structures/ThreadView.tsx

    Co-authored-by: J. Ryan Stinnett <jryans@gmail.com>
    toger5 and jryans authored Dec 16, 2021
    Configuration menu
    Copy the full SHA
    8288bfb View commit details
    Browse the repository at this point in the history
  5. Update src/components/views/context_menus/RoomContextMenu.tsx

    Co-authored-by: J. Ryan Stinnett <jryans@gmail.com>
    toger5 and jryans authored Dec 16, 2021
    Configuration menu
    Copy the full SHA
    d2c0682 View commit details
    Browse the repository at this point in the history
  6. Update src/components/views/elements/MemberEventListSummary.tsx

    Co-authored-by: J. Ryan Stinnett <jryans@gmail.com>
    toger5 and jryans authored Dec 16, 2021
    Configuration menu
    Copy the full SHA
    9192ec0 View commit details
    Browse the repository at this point in the history
  7. Update src/components/views/right_panel/BaseCard.tsx

    Co-authored-by: J. Ryan Stinnett <jryans@gmail.com>
    toger5 and jryans authored Dec 16, 2021
    Configuration menu
    Copy the full SHA
    7cdd1bc View commit details
    Browse the repository at this point in the history
  8. rewrap try 2

    toger5 committed Dec 16, 2021
    Configuration menu
    Copy the full SHA
    36b9bdd View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    bf97a40 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    dad8ffd View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    a124133 View commit details
    Browse the repository at this point in the history
  12. fix spaceId

    toger5 committed Dec 16, 2021
    Configuration menu
    Copy the full SHA
    d709735 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    6f20bf4 View commit details
    Browse the repository at this point in the history
  14. fix history

    toger5 committed Dec 16, 2021
    Configuration menu
    Copy the full SHA
    60f8cac View commit details
    Browse the repository at this point in the history

Commits on Dec 20, 2021

  1. fix history of right panel when clicking on threads:

     - in room timeline
     - threads timeline
     - right panel timeline
    toger5 committed Dec 20, 2021
    Configuration menu
    Copy the full SHA
    cd42fa4 View commit details
    Browse the repository at this point in the history
  2. linter

    toger5 committed Dec 20, 2021
    Configuration menu
    Copy the full SHA
    47ecf31 View commit details
    Browse the repository at this point in the history
  3. review fixes (ryan and jano)

    toger5 committed Dec 20, 2021
    Configuration menu
    Copy the full SHA
    e1068aa View commit details
    Browse the repository at this point in the history
  4. linter and code cleanup

    toger5 committed Dec 20, 2021
    Configuration menu
    Copy the full SHA
    0e60e32 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    5c82690 View commit details
    Browse the repository at this point in the history

Commits on Dec 27, 2021

  1. fix back label

    toger5 committed Dec 27, 2021
    Configuration menu
    Copy the full SHA
    697b8b3 View commit details
    Browse the repository at this point in the history
  2. i18n

    toger5 committed Dec 27, 2021
    Configuration menu
    Copy the full SHA
    0d7bbbe View commit details
    Browse the repository at this point in the history

Commits on Jan 4, 2022

  1. Configuration menu
    Copy the full SHA
    57ee4d4 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c46615f View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    071983d View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    77d71e3 View commit details
    Browse the repository at this point in the history
  5. remove toggle from setCard

     - this simplifies the setCard and makes it behave like the name implies
     - the toggle is now handled in the header button class manually
    toger5 committed Jan 4, 2022
    Configuration menu
    Copy the full SHA
    15f11cd View commit details
    Browse the repository at this point in the history
  6. update and fix the verification flows.

    Allow to reload the page during verification.
    This changes the history, so that the back button behaves
    the same as it does right now.
    toger5 committed Jan 4, 2022
    Configuration menu
    Copy the full SHA
    ea0fca3 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    3c7068c View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    ba0e359 View commit details
    Browse the repository at this point in the history
  9. der linter der linter

    man denkt oft jetzt spinnt er
    das ist nie der fall
    und ich committe nochmal
    toger5 committed Jan 4, 2022
    Configuration menu
    Copy the full SHA
    9880667 View commit details
    Browse the repository at this point in the history
  10. linter

    toger5 committed Jan 4, 2022
    Configuration menu
    Copy the full SHA
    dcfe2f6 View commit details
    Browse the repository at this point in the history

Commits on Jan 5, 2022

  1. Update src/components/structures/RoomView.tsx

    Co-authored-by: J. Ryan Stinnett <jryans@gmail.com>
    toger5 and jryans authored Jan 5, 2022
    Configuration menu
    Copy the full SHA
    8bdca7a View commit details
    Browse the repository at this point in the history
  2. Update src/components/structures/RoomView.tsx

    Co-authored-by: J. Ryan Stinnett <jryans@gmail.com>
    toger5 and jryans authored Jan 5, 2022
    Configuration menu
    Copy the full SHA
    1824701 View commit details
    Browse the repository at this point in the history
  3. Update src/components/views/right_panel/EncryptionPanel.tsx

    Co-authored-by: J. Ryan Stinnett <jryans@gmail.com>
    toger5 and jryans authored Jan 5, 2022
    Configuration menu
    Copy the full SHA
    6572947 View commit details
    Browse the repository at this point in the history
  4. Update src/components/views/toasts/VerificationRequestToast.tsx

    Co-authored-by: J. Ryan Stinnett <jryans@gmail.com>
    toger5 and jryans authored Jan 5, 2022
    Configuration menu
    Copy the full SHA
    6f267c3 View commit details
    Browse the repository at this point in the history
  5. Update src/verification.ts

    Co-authored-by: J. Ryan Stinnett <jryans@gmail.com>
    toger5 and jryans authored Jan 5, 2022
    Configuration menu
    Copy the full SHA
    1b2b0a7 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    a90b783 View commit details
    Browse the repository at this point in the history
  7. forward roomId in all cases

    toger5 committed Jan 5, 2022
    Configuration menu
    Copy the full SHA
    cfdbfbb View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    54197eb View commit details
    Browse the repository at this point in the history
  9. some more cleanup

    toger5 committed Jan 5, 2022
    Configuration menu
    Copy the full SHA
    32795b9 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    056c0d0 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    89e0dc1 View commit details
    Browse the repository at this point in the history
  12. linter

    toger5 committed Jan 5, 2022
    Configuration menu
    Copy the full SHA
    7b8c88f View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    53fa4cc View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    6aebe0e View commit details
    Browse the repository at this point in the history
  15. fix bind memory leak

    toger5 committed Jan 5, 2022
    Configuration menu
    Copy the full SHA
    6f092c4 View commit details
    Browse the repository at this point in the history
  16. Update src/stores/right-panel/RightPanelStore.ts

    Co-authored-by: J. Ryan Stinnett <jryans@gmail.com>
    toger5 and jryans authored Jan 5, 2022
    Configuration menu
    Copy the full SHA
    606fb07 View commit details
    Browse the repository at this point in the history
  17. semicolons

    toger5 committed Jan 5, 2022
    Configuration menu
    Copy the full SHA
    146a8ef View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    8aabdbd View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    eb6b168 View commit details
    Browse the repository at this point in the history
  20. lines too long

    toger5 committed Jan 5, 2022
    Configuration menu
    Copy the full SHA
    7154e00 View commit details
    Browse the repository at this point in the history
  21. l

    toger5 committed Jan 5, 2022
    Configuration menu
    Copy the full SHA
    56b9827 View commit details
    Browse the repository at this point in the history
  22. Configuration menu
    Copy the full SHA
    0f1d6a4 View commit details
    Browse the repository at this point in the history
  23. hotfix hiding right panel

    toger5 committed Jan 5, 2022
    Configuration menu
    Copy the full SHA
    33cfbef View commit details
    Browse the repository at this point in the history
  24. linter

    toger5 committed Jan 5, 2022
    Configuration menu
    Copy the full SHA
    0e7c10f View commit details
    Browse the repository at this point in the history