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

Makes the header reactive #7

Merged
merged 4 commits into from
Feb 27, 2024
Merged

Makes the header reactive #7

merged 4 commits into from
Feb 27, 2024

Conversation

0xbrayo
Copy link
Member

@0xbrayo 0xbrayo commented Feb 23, 2024

The header previously would not update after you login. Did some digging and turns it because it's already mounted after the updates. It is not actively watching for changes to the user login state. So I refactored it to be embedded in some of the pages that need an updated state.

@0xbrayo
Copy link
Member Author

0xbrayo commented Feb 23, 2024

@ErikBjare there is a failing test but I have tested it. It works, not sure what triggered it.

@ErikBjare
Copy link
Member

Don't worry about the failing test. I don't think I set it up properly to begin with.

@0xbrayo
Copy link
Member Author

0xbrayo commented Feb 25, 2024

Let me know when you get time to review the changes

@0xbrayo
Copy link
Member Author

0xbrayo commented Feb 26, 2024

@ErikBjare I have more commits... I don't know if I should just keep stacking them on this single pull request or I should wait first. Just let me know 👍

@ErikBjare
Copy link
Member

I'll merge this so you can keep working in new PRs :)

@ErikBjare ErikBjare merged commit 726cb35 into ActivityWatch:master Feb 27, 2024
2 checks passed
@0xbrayo 0xbrayo deleted the pr-4 branch February 27, 2024 07:58
0xbrayo added a commit that referenced this pull request Jan 19, 2025
* Makes the header reactive, previously it would not update after you login into the website

* Persist auth status between sessions

* fix the failing test
0xbrayo added a commit that referenced this pull request Feb 7, 2025
* Makes the header reactive, previously it would not update after you login into the website

* Persist auth status between sessions

* fix the failing test
0xbrayo added a commit that referenced this pull request Feb 7, 2025
* Makes the header reactive, previously it would not update after you login into the website

* Persist auth status between sessions

* fix the failing test
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.

2 participants