-
Notifications
You must be signed in to change notification settings - Fork 7
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/editable-label #126
Feat/editable-label #126
Conversation
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.
Layout is not updated. See images in comments.
src/components/DiagramFrame/SeqDiagram/MessageLayer/MessageLabel.vue
Outdated
Show resolved
Hide resolved
...s/DiagramFrame/SeqDiagram/MessageLayer/Block/Statement/Interaction/Occurrence/Occurrence.vue
Show resolved
Hide resolved
c1aee45
to
836510c
Compare
只有在特定的DSL下才可以重现。下面的示例,修改methodLong2
Screen.Recording.2024-04-17.at.10.19.16.PM.mov |
c92c7f9
to
021a675
Compare
我决定添加一些e2e测试到smoke test |
Spaces in Screen.Recording.2024-04-20.at.5.52.27.PM.mov |
Fixed |
This reverts commit 6b6788a.
src/core.ts
Outdated
@@ -104,7 +104,6 @@ export default class ZenUml implements IZenUml { | |||
async doRender(config: Config | undefined) { | |||
console.debug("rendering start"); | |||
const start = getStartTime(); | |||
clearCache(); |
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.
@danshuitaihejie 这个地方删掉有没有别的影响?
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.
@danshuitaihejie 这个地方删掉有没有别的影响?
这个地方不能的clearCache不能删除
* Upgrade to node 20 for e2e. * Updated actions to use newer node version. * Upgrade python to 3.12
@@ -7,7 +7,7 @@ | |||
ref="messageRef" | |||
> | |||
<label | |||
class="name group px-px hover:text-skin-message-hover hover:bg-skin-message-hover relative min-h-[1em]" | |||
class="name group px-px hover:text-skin-message-hover hover:bg-skin-message-hover relative min-h-[1em] w-full" |
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.
This is causing an undesired effect see below video. This does not seem to be the cause if the issue. There is real issue that needs to be fixed. The corresponding interaction should not have width at the first place.
This MR enables user to edit message labels.
<MessageLabel />
and use it inMessage
andSelftInvocation
componentuseEditLabel
containing event handlers for editing labels.<ConditionLabel />
to useuseEditLabel
hookremoveSpacesBeforeAndInsideBrackets
forgetFormattedText
functionTODO: fix overflow issue of the first method label upon first time edit