Skip to content

slim 18#29099

Merged
chrisnojima merged 58 commits intonojima/HOTPOT-next-670-cleanfrom
nojima/ZCLIENT-slim-18
Apr 6, 2026
Merged

slim 18#29099
chrisnojima merged 58 commits intonojima/HOTPOT-next-670-cleanfrom
nojima/ZCLIENT-slim-18

Conversation

@chrisnojima-zoom
Copy link
Copy Markdown
Contributor

No description provided.

This comment was marked as outdated.

This comment was marked as outdated.

This comment was marked as outdated.

This comment was marked as outdated.

@chrisnojima chrisnojima force-pushed the nojima/ZCLIENT-slim-18 branch from 3b3daf7 to 9308a57 Compare April 3, 2026 19:41

This comment was marked as outdated.

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 193 out of 195 changed files in this pull request and generated 2 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +14 to +19
function safeNavigateAppend(
path: NoParamRouteKeys | AllOptionalParamRouteKeys | {name: ParamRouteKeys; params: object | undefined},
replace?: boolean
) {
return isFocused && navigateAppend(path as never, replace)
}
Copy link

Copilot AI Apr 6, 2026

Choose a reason for hiding this comment

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

safeNavigateAppend overload signatures declare a void return, but the implementation currently returns isFocused && navigateAppend(...), which evaluates to false | undefined (and makes the implementation signature incompatible with the overloads). This will either fail type-checking or encourage callers to rely on a boolean return that isn’t part of the public contract. Prefer an explicit if (!isFocused) return; navigateAppend(...) (or explicitly return void).

Copilot uses AI. Check for mistakes.
Comment on lines 54 to 83
@@ -56,33 +70,34 @@ const Connected = () => {
newTeamRequests,
newTeams,
teamIDToResetUsers,
teamListFilter,
teamListSort,
teamMeta,
}
})
)
const {activityLevels, deletedTeams, newTeamRequests, newTeams} = data
const {teamIDToResetUsers, teamListFilter: filter, teamListSort: sortOrder, teamMeta: _teams} = data
const {teamIDToResetUsers, teamMeta: _teams} = data
const {getTeams, launchNewTeamWizardOrModal} = data

const teams = orderTeams(_teams, newTeamRequests, teamIDToResetUsers, newTeams, sortOrder, activityLevels, filter)
const teams = orderTeams(_teams, newTeamRequests, teamIDToResetUsers, newTeams, sort, activityLevels, filter)

// subscribe to teams changes
Copy link

Copilot AI Apr 6, 2026

Choose a reason for hiding this comment

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

Connected now takes {filter, sort} props with defaults, but as a React Navigation screen it will receive {route, navigation} props instead. As a result, route params updates from navigation.setParams({filter, sort}) won’t be read here and sorting/filtering will never change from the defaults. Read filter/sort from route.params (and type the component as a screen with route), rather than from regular props.

Copilot uses AI. Check for mistakes.
@chrisnojima chrisnojima merged commit 162c3d4 into nojima/HOTPOT-next-670-clean Apr 6, 2026
1 check was pending
@chrisnojima chrisnojima deleted the nojima/ZCLIENT-slim-18 branch April 6, 2026 16:58
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.

3 participants