Skip to content

Conversation

@Oaphi
Copy link
Member

@Oaphi Oaphi commented Jul 13, 2023

This PR addresses issues raised in #1082, in particular — the problem with the client-side JavaScript attempting to fetch default filter for users that are not signed in. CircleCI (rubocop) is expected to fail until #1019 is merged in develop.

Regarding the addition of _pendingUser - it exists to prevent additional calls to /users/me as I noticed there can be up to 5 made because the QPixel#user method doesn't account for other requests in flight. I could use abort signals, but this solution allows us not to send redundant requests in the first place.

@Oaphi Oaphi self-assigned this Jul 13, 2023
@Oaphi Oaphi added area: frontend Changes to front-end code status: in progress This is being worked on priority: low complexity: easy Issues that should take limited effort to resolve/fix/build. labels Jul 13, 2023
@Oaphi Oaphi requested a review from a team July 13, 2023 17:49
@Oaphi Oaphi marked this pull request as ready for review July 16, 2023 14:59
@cellio cellio requested a review from a team July 16, 2023 16:38
@Oaphi Oaphi changed the title WIP: Default filter user checks (issue #1082) Default filter user checks (issue #1082) Jul 16, 2023
Copy link
Contributor

@Taeir Taeir left a comment

Choose a reason for hiding this comment

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

Thanks for fixing this issue :) I left a few questions and minor remarks. Please note that JavaScript is not the language I know the best so my apologies if those questions or remarks are not possible or required.

Copy link
Contributor

@Taeir Taeir left a comment

Choose a reason for hiding this comment

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

Looks good with the latest changes!

@cellio cellio merged commit f2270c1 into develop Jul 23, 2023
@cellio cellio deleted the oaphi/1082/default-filter-user-checks branch July 23, 2023 17:49
@cellio cellio mentioned this pull request Jul 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: frontend Changes to front-end code complexity: easy Issues that should take limited effort to resolve/fix/build. priority: low status: in progress This is being worked on

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants