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

feat: add "received at" timestamp to invites #529

Merged
merged 2 commits into from
Mar 27, 2024

Conversation

EvanHahn
Copy link
Contributor

This will make it possible for the frontend to sort incoming invites, and was requested by Erik.

This will make it possible for the frontend to sort incoming invites.
@@ -90,7 +98,7 @@
"eslint": "^8.57.0",
"filter-obj": "^6.0.0",
"husky": "^8.0.0",
"iterpal": "^0.3.0",
"iterpal": "^0.4.0",
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Necessary to pull in compact for tests.

"error",
{
"varsIgnorePattern": "^_",
"argsIgnorePattern": "^_"
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I use varsIgnorePattern in this PR, but not argsIgnorePattern. I added it for consistency.

Copy link
Member

@gmaclennan gmaclennan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lots of changes to the tests for a small change in the code! Looks ok though. Not sure about the eslint rule - I prefer to ignore on a case-by-case, but ok for this repo since you'll be taking the lead.

@@ -1047,3 +1099,73 @@ function setup() {
encryptionKeys,
}
}

/**
* Assert that invites are alike, allowing for some wiggle room around
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you add a note about what wiggle room means here, to help a future maintainer who might find this failing.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done in 8229dac.

@EvanHahn EvanHahn merged commit 52689b6 into main Mar 27, 2024
4 checks passed
@EvanHahn EvanHahn deleted the add-receivedat-to-invites branch March 27, 2024 20:56
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