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

Fix-transcript-obs-button #388

Merged
merged 7 commits into from
Jun 11, 2024
Merged

Fix-transcript-obs-button #388

merged 7 commits into from
Jun 11, 2024

Conversation

marcbon
Copy link
Collaborator

@marcbon marcbon commented Jun 11, 2024

🔧 refactor(highlight): pass start and end data attributes to ActiveWord component

…ponent

🔨 refactor(highlight): remove handleSelection prop usage in index.stories and index file
🔧 fix(index.stories.tsx): remove unused imports and console logs
🔧 fix(index.tsx): remove unused imports and console logs, refactor Highlight function
🎨 style(highlight): add Italian text for storytelling in index.stories.tsx

🔥 refactor(highlight): remove unnecessary code from index.stories.tsx

🔨 refactor(index.stories.tsx): refactor words array into separate variable
🔨 refactor(index.stories.tsx): remove unused WithSelectionButton component

🔨 refactor(index.stories.tsx): remove onSelectionButtonClick and i18n props from WithTooltip.args
🚀 chore(index.stories.tsx): add WithSelectionButton story with default args

🔨 refactor(highlight/index.tsx): remove unused import statement
🎨 style(highlight/index.tsx): improve color styling and z-index for better UI visualisation
…mponent

🔧 refactor(highlight): pass start and end data attributes to ActiveWord component
@marcbon marcbon marked this pull request as ready for review June 11, 2024 09:08
<ActiveWord>
<ActiveWord
data-start={props.start}
data-end={props.end}
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Questo risolve un bug:
Se si selezionava a partire da una active word prendeva come start sempre 0 non avendo il data-start.
Valeva lo stesso anche per l'end.

@marcbon marcbon merged commit b73c484 into develop Jun 11, 2024
3 checks passed
@marcbon marcbon deleted the fix-transcript-obs-button branch June 11, 2024 13:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants