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 participant #142
Conversation
In the following case, the expected result should be
Screen.Recording.2024-05-02.at.10.26.44.PM.mov |
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.
It seems that it does not handle participant alias correctly.
The syntax is ParticipantA as ParticipantA_Alias
.
Fixed |
First part is on the main branch where Screen.Recording.2024-05-04.at.9.01.14.AM.mov |
@@ -46,21 +64,29 @@ ToCollector.enterParticipant = onParticipant; | |||
let onTo = function (ctx) { | |||
if (isBlind) return; | |||
let participant = ctx.getFormattedText(); | |||
participants.Add(participant); | |||
const participantInstance = participants.Get(participant); |
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.
Same logic needs to be implemented in enterCreation
?
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.
Alrighty. Added same label check in enterCreation
.
ff87b1d
to
8a59877
Compare
Address the issue of calling a method after creating a new instance and assigning to a new variable Screen.Recording.2024-05-17.at.10.06.36.PM.mov |
This PR enables users to edit participant name:
Add a new member
participantPositions
toPariticipants
class.participantPositions
is a map where to keep track of participant names and their positions.Record participant's position when traversing the parseTree.
Create a new component
PariticipantLabel
for editing label names and updating the participant instances in codeDisable edit in static render mode
Screen.Recording.2024-05-02.at.9.53.36.pm.mov