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

Integrate sidebar #80

Merged
merged 18 commits into from
May 31, 2024
Merged

Integrate sidebar #80

merged 18 commits into from
May 31, 2024

Commits on May 27, 2024

  1. app: add accounts to Damus & mock

    Signed-off-by: kernelkind <[email protected]>
    Signed-off-by: William Casarin <[email protected]>
    kernelkind authored and jb55 committed May 27, 2024
    Configuration menu
    Copy the full SHA
    1dc832b View commit details
    Browse the repository at this point in the history
  2. Create side panel & global popup

    Create a side panel UI element for desktop with three buttons for:
    adding a column, settings, and account management. The account
    management button is temporary pending a better design. It is the only
    one that is interactable at the moment. When the user clicks it, the
    global popup window will be shown and the AccountManagementView will be
    presented on the window. The user can click on the X on the top right of
    the window to close it.
    
    Signed-off-by: kernelkind <[email protected]>
    Signed-off-by: William Casarin <[email protected]>
    kernelkind authored and jb55 committed May 27, 2024
    Configuration menu
    Copy the full SHA
    17d0c97 View commit details
    Browse the repository at this point in the history
  3. move test account creation & apply to global popup

    Signed-off-by: kernelkind <[email protected]>
    Signed-off-by: William Casarin <[email protected]>
    kernelkind authored and jb55 committed May 27, 2024
    Configuration menu
    Copy the full SHA
    88a3a2d View commit details
    Browse the repository at this point in the history
  4. account_management: refactor

    Signed-off-by: kernelkind <[email protected]>
    Signed-off-by: William Casarin <[email protected]>
    kernelkind authored and jb55 committed May 27, 2024
    Configuration menu
    Copy the full SHA
    fd943e5 View commit details
    Browse the repository at this point in the history
  5. remove context from DesktopSidePanel

    we can just get this from the egui::Ui when rendering
    
    Signed-off-by: William Casarin <[email protected]>
    jb55 committed May 27, 2024
    Configuration menu
    Copy the full SHA
    66ce42a View commit details
    Browse the repository at this point in the history
  6. integrate sidebar into main view

    buttons don't do anything yet
    
    Signed-off-by: William Casarin <[email protected]>
    jb55 committed May 27, 2024
    Configuration menu
    Copy the full SHA
    194f41d View commit details
    Browse the repository at this point in the history
  7. Rename PersistState -> StateInMemory

    also use IdTypeMap::insert_temp instead of insert_persisted.
    The whole conception of using egui memory to share state is probably
    going to be changed to a more robust solution in the future.
    
    Signed-off-by: kernelkind <[email protected]>
    kernelkind authored and jb55 committed May 27, 2024
    Configuration menu
    Copy the full SHA
    f071d59 View commit details
    Browse the repository at this point in the history
  8. Integrate global popup into app

    Signed-off-by: kernelkind <[email protected]>
    kernelkind authored and jb55 committed May 27, 2024
    Configuration menu
    Copy the full SHA
    748d9d2 View commit details
    Browse the repository at this point in the history
  9. Add AccountManager to app

    Signed-off-by: kernelkind <[email protected]>
    kernelkind authored and jb55 committed May 27, 2024
    Configuration menu
    Copy the full SHA
    11b3eff View commit details
    Browse the repository at this point in the history
  10. Move preview controller out of account_manager.rs

    Signed-off-by: kernelkind <[email protected]>
    kernelkind authored and jb55 committed May 27, 2024
    Configuration menu
    Copy the full SHA
    bdf6156 View commit details
    Browse the repository at this point in the history
  11. AccountManager: add ability to make a selection

    Signed-off-by: kernelkind <[email protected]>
    kernelkind authored and jb55 committed May 27, 2024
    Configuration menu
    Copy the full SHA
    2ca47ed View commit details
    Browse the repository at this point in the history
  12. Migrate to new AccountManagementView conception

    Signed-off-by: kernelkind <[email protected]>
    kernelkind authored and jb55 committed May 27, 2024
    Configuration menu
    Copy the full SHA
    f489ed3 View commit details
    Browse the repository at this point in the history
  13. Account switcher

    Signed-off-by: kernelkind <[email protected]>
    kernelkind authored and jb55 committed May 27, 2024
    Configuration menu
    Copy the full SHA
    c0b1a01 View commit details
    Browse the repository at this point in the history
  14. Integrate account switcher to side panel

    Signed-off-by: kernelkind <[email protected]>
    kernelkind authored and jb55 committed May 27, 2024
    Configuration menu
    Copy the full SHA
    22264e7 View commit details
    Browse the repository at this point in the history
  15. refactor account switcher & management previews

    Signed-off-by: kernelkind <[email protected]>
    kernelkind authored and jb55 committed May 27, 2024
    Configuration menu
    Copy the full SHA
    7ebd694 View commit details
    Browse the repository at this point in the history
  16. Pfp integration to side panel

    Signed-off-by: kernelkind <[email protected]>
    kernelkind authored and jb55 committed May 27, 2024
    Configuration menu
    Copy the full SHA
    df0377c View commit details
    Browse the repository at this point in the history

Commits on May 28, 2024

  1. initial refactor in preparation for routing

    Signed-off-by: William Casarin <[email protected]>
    jb55 committed May 28, 2024
    Configuration menu
    Copy the full SHA
    31b2b5c View commit details
    Browse the repository at this point in the history
  2. side_panel: return more detailed side panel responses

    We should be treating all ui widgets as pure functions that do not
    mutate anything. This will make testing easier, as well as avoiding
    shared mutable references.
    
    Signed-off-by: William Casarin <[email protected]>
    jb55 committed May 28, 2024
    Configuration menu
    Copy the full SHA
    92ce718 View commit details
    Browse the repository at this point in the history