-
Notifications
You must be signed in to change notification settings - Fork 11
refactor: migrate to React #258
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
Conversation
TODO:
|
src/components/DiagramFrame/SeqDiagram/LifeLineLayer/LifeLine.tsx
Dismissed
Show dismissed
Hide dismissed
7c9351a
to
ac68ee0
Compare
6bdaacc
to
721f0cb
Compare
@@ -62,14 +66,7 @@ | |||
} | |||
</style> | |||
</head> | |||
|
|||
<body> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we can still keep this section
pnpm-lcok.yaml |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is it a typo? Should it be pnpm-lock.yaml
?
fireEvent.click( | ||
participantWrapper.container.querySelector(".participant")!, | ||
); | ||
// TODO: we need to be able to verify that the computed property `selected` is true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this comment still relevant?
const BuildTime = import.meta.env.BUILD_TIME || ""; | ||
const VueSequence = { | ||
Vue, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Need to change the name VueSequence
as well
import Block from "./components/DiagramFrame/SeqDiagram/MessageLayer/Block/Block.vue"; | ||
// @ts-ignore | ||
import Comment from "./components/DiagramFrame/SeqDiagram/MessageLayer/Block/Statement/Comment/Comment.vue"; | ||
// import Block from "./components/DiagramFrame/SeqDiagram/MessageLayer/Block/Block.vue"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove comments?
@@ -1,17 +0,0 @@ | |||
<template> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we turn DiagramTitle/index.tsx
to DiagramTitle.tsx
?
@@ -0,0 +1,20 @@ | |||
import Icon from "@/components/Icon/Icons"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we turn Privacy/index.tsx
to Privacy.tsx
?
SeqDiagram, | ||
DiagramFrame, | ||
store, | ||
// SeqDiagram, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why are they commented out?
setIsOpen(true); | ||
}, 0); | ||
}); | ||
}); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does it need an empty dependency list?
|
||
it("should have a width", async () => { | ||
expect(messageLayer.container.querySelector(".message-layer")).toBeTruthy(); | ||
// We do not need to wait until next tick in **test**. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: remove unrelated comment
This PR migrate the render library from vuejs to reactjs