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

BA-2084: Multiple Profiles - Search Bar #183

Merged
merged 6 commits into from
Jan 21, 2025
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Increased package version
Signed-off-by: luisguareschi <lg@tsl.io>
Signed-off-by: luisguareschi <luisguareschi@hotmail.com>
luisguareschi committed Jan 21, 2025

Unverified

This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
commit 42d83d1bd9f47478561289e1b2fad4af9db10e25
6 changes: 6 additions & 0 deletions packages/components/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @baseapp-frontend/components

## 0.0.51

### Patch Changes

- Added search bar to members list. User can search for members by first name, last name and email.

## 0.0.50

### Patch Changes
2 changes: 1 addition & 1 deletion packages/components/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@baseapp-frontend/components",
"description": "BaseApp components modules such as comments, notifications, messages, and more.",
"version": "0.0.50",
"version": "0.0.51",
"main": "./index.ts",
"types": "dist/index.d.ts",
"sideEffects": false,

Unchanged files with check annotations Beta

): PreloadedQuery<TQuery> {
useMemo(() => {
writePreloadedQueryToCache(preloadQuery, environment)
}, [preloadQuery])

Check warning on line 39 in packages/graphql/config/useSerializablePreloadedQuery.ts

GitHub Actions / Lint

React Hook useMemo has a missing dependency: 'environment'. Either include it or remove the dependency array
return {
environment,
return data
}
console.warn('The operation was not mocked.')

Check warning on line 54 in packages/graphql/utils/createTestEnvironment/index.ts

GitHub Actions / Lint

Unexpected console statement
return null
})

Check warning on line 51 in packages/utils/functions/cookie/index.ts

GitHub Actions / Lint

Unexpected console statement

Check warning on line 59 in packages/utils/functions/cookie/index.ts

GitHub Actions / Lint

Unexpected console statement
removeCookie(key)
}
} catch (error) {
console.error(`Failed to set token for ${key}:`, error)

Check warning on line 14 in packages/utils/functions/token/removeTokenAsync/index.ts

GitHub Actions / Lint

Unexpected console statement
}
}
setCookie(key, value, config)
}
} catch (error) {
console.error(`Failed to set token for ${key}:`, error)

Check warning on line 15 in packages/utils/functions/token/setTokenAsync/index.ts

GitHub Actions / Lint

Unexpected console statement
}
}
useEffect(() => {
eventEmitter.on(event, callback)
return unsubscribe
}, [])

Check warning on line 15 in packages/utils/hooks/useEventSubscription/index.ts

GitHub Actions / Lint

React Hook useEffect has missing dependencies: 'callback', 'event', and 'unsubscribe'. Either include them or remove the dependency array
return unsubscribe
}
try {
await mutation.mutateAsync(values)
} catch (error) {
console.error(error)

Check warning on line 46 in packages/authentication/modules/access/useSignUp/index.ts

GitHub Actions / Lint

Unexpected console statement
}
}
if ((query.error as any)?.response?.status === 401) {
queryClient.resetQueries({ queryKey: USER_API_KEY.getUser() })
}
}, [query.error])

Check warning on line 47 in packages/authentication/modules/user/useJWTUser/index.ts

GitHub Actions / Lint

React Hook useEffect has a missing dependency: 'queryClient'. Either include it or remove the dependency array
return { user, ...query }
}
// silently fail
// eslint-disable-next-line no-console
setCurrentProfile(null)
console.error(e)

Check warning on line 29 in packages/authentication/modules/user/useUpdateUser/index.ts

GitHub Actions / Lint

Unexpected console statement
}
options?.onSettled?.(data, error, variables, context)
},