-
-
Notifications
You must be signed in to change notification settings - Fork 5
Release 0.66.0 #443
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
Release 0.66.0 #443
Conversation
Bumps [react-router](https://github.com/remix-run/react-router/tree/HEAD/packages/react-router) to 6.30.3 and updates ancestor dependency [react-router-dom](https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom). These dependencies need to be updated together. Updates `react-router` from 6.30.1 to 6.30.3 - [Release notes](https://github.com/remix-run/react-router/releases) - [Changelog](https://github.com/remix-run/react-router/blob/main/CHANGELOG.md) - [Commits](https://github.com/remix-run/react-router/commits/react-router@6.30.3/packages/react-router) Updates `react-router-dom` from 6.30.1 to 6.30.3 - [Release notes](https://github.com/remix-run/react-router/releases) - [Changelog](https://github.com/remix-run/react-router/blob/main/CHANGELOG.md) - [Commits](https://github.com/remix-run/react-router/commits/react-router-dom@6.30.3/packages/react-router-dom) --- updated-dependencies: - dependency-name: react-router dependency-version: 6.30.3 dependency-type: indirect - dependency-name: react-router-dom dependency-version: 6.30.3 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com>
…b5c27ca1 Bump react-router and react-router-dom
Bumps [qs](https://github.com/ljharb/qs) and [@cypress/request](https://github.com/cypress-io/request). These dependencies needed to be updated together. Updates `qs` from 6.14.0 to 6.14.1 - [Changelog](https://github.com/ljharb/qs/blob/main/CHANGELOG.md) - [Commits](ljharb/qs@v6.14.0...v6.14.1) Updates `@cypress/request` from 3.0.9 to 3.0.10 - [Release notes](https://github.com/cypress-io/request/releases) - [Changelog](https://github.com/cypress-io/request/blob/master/CHANGELOG.md) - [Commits](cypress-io/request@v3.0.9...v3.0.10) --- updated-dependencies: - dependency-name: qs dependency-version: 6.14.1 dependency-type: indirect - dependency-name: "@cypress/request" dependency-version: 3.0.10 dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com>
…a43179a3 Bump qs and @cypress/request
Add save content linear mode, limit node width, add copy button
Code Review - PR #443🔴 Code Quality and Best PracticesInvalid Tailwind CSS class name In // Current (incorrect):
className={clsx('text-sm text-white font-mono wrap-break-word', {
// Should be one of:
className={clsx('text-sm text-white font-mono break-words', { // breaks on word boundaries
// or
className={clsx('text-sm text-white font-mono break-all', { // breaks anywhere🟡 Potential Bugs or IssuesMissing null check in clipboard operation In const copyValue = useCallback(() => {
if (valueRow) {
const value = valueRow.item.split(': ')[1] || ''
navigator.clipboard.writeText(value) // Could throw in non-HTTPS
toast.trigger('Value copied to clipboard')
}
}, [valueRow, toast])Consider adding error handling: const copyValue = useCallback(() => {
if (valueRow) {
const value = valueRow.item.split(': ')[1] || ''
navigator.clipboard.writeText(value)
.catch(() => toast.trigger('Failed to copy to clipboard', 'error'))
.then(() => toast.trigger('Value copied to clipboard'))
}
}, [valueRow, toast])Inconsistent Tailwind class syntax In // Line 57:
className='items-start\!'
// Should be (to match existing patterns):
className='\!items-start'🔵 Performance ConsiderationsUnnecessary re-computation on every render In const treeGraph = useNodeGraph(save, search, mode === 'tree')
const linearGraph = useLinearNodeGraph(save, search, mode === 'linear')
const { nodes, edges } = mode === 'tree' ? treeGraph : linearGraphThis is a minor performance consideration but could be optimized by conditionally calling only the needed hook. Security ConcernsNo issues found. |
No description provided.