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: disable rename a topic test #1873

Merged
merged 1 commit into from
Jul 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
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
2 changes: 1 addition & 1 deletion cypress/e2e/curationTable/curation.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ describe('Test Curation Table', () => {
cy.get('[data-testid="topic-search-container"]').find('button[type="button"]').click()
})

it('Rename a Topic', () => {
it.skip('Rename a Topic', () => {
cy.intercept({
method: 'GET',
url: 'http://localhost:8444/api/nodes/info*',
Expand Down
2 changes: 0 additions & 2 deletions src/components/App/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -128,8 +128,6 @@ export const App = () => {

const handleAiSummaryAnswer = useCallback(
(data: AiSummaryAnswerResponse) => {
console.log(data)

if (data.question && getKeyExist(data.question)) {
setAiSummaryAnswer(data.question, { answer: data.answer, answerLoading: false })
}
Expand Down
2 changes: 1 addition & 1 deletion src/components/Booster/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export const Booster = ({ count = 0, updateCount, content, readOnly, refId }: Pr
updateCount(count + defaultBoostAmount)
}
} catch (e) {
console.log(e)
console.error(e)
}

setSubmitting(false)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
setTopicEdge(edge)
}
} catch (error) {
console.log(error)
console.error(error)
} finally {
setTopicIsLoading(false)
}
Expand Down Expand Up @@ -79,7 +79,7 @@
const { ref_id: id } = nodeFrom
const { ref_id: selectedId } = selectedToNode

console.log(id, selectedId)

Check warning on line 82 in src/components/ModalsContainer/AddNodeEdgeModal/Body/index.tsx

View workflow job for this annotation

GitHub Actions / eslint-run

Unexpected console statement

closeHandler()
} catch (error) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ const handleSubmitForm = async (

// eslint-disable-next-line @typescript-eslint/no-explicit-any
} catch (err: any) {
console.log(err)
console.error(err)

let errorMessage = NODE_ADD_ERROR

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { Segments } from '@react-three/drei'
import { useFrame } from '@react-three/fiber'
import { memo, useEffect, useRef, useState } from 'react'
import { Group } from 'three'
import { useShallow } from 'zustand/react/shallow'
Expand Down Expand Up @@ -82,10 +81,6 @@ export const SelectionDataNodes = memo(() => {
[setSelectionData],
)

useFrame(() => {
// console.log(simulation2d.alpha())
})

useEffect(() => {
if (!simulation2d) {
return
Expand Down
2 changes: 1 addition & 1 deletion src/components/Universe/Graph/Segment/LinkBadge/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ export const PathwayBadges = ({ links, simulation }: Props) => {
}}
>
<span>{i.edge_type}</span>
<Flex className="icon" onClick={() => console.log(123)}>
<Flex className="icon">
<DeleteIcon />
</Flex>
</Tag>
Expand Down
Loading