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

refactor: Remove unused Alert component and update video title in Tim… #794

Open
wants to merge 8 commits into
base: main
Choose a base branch
from

Conversation

zushar
Copy link
Collaborator

@zushar zushar commented Jun 11, 2024

…eBasedMapPage
I did this as a draft because I want to make all the headlines of all pages before making a change to leave the uniformity of the site

Description

Move the page's explanation into the model to clean the page a bit

Even the pages that have no video can still be done and maximum down the road will make them a video but I think you can definitely make a infrastructure on the page for a video

@zushar zushar marked this pull request as ready for review June 11, 2024 08:06
@zushar zushar requested a review from NoamGaash as a code owner June 11, 2024 08:06
@zushar zushar mentioned this pull request Jun 11, 2024
Copy link
Member

@NoamGaash NoamGaash left a comment

Choose a reason for hiding this comment

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

Thanks for contributing to open-bus!
is this PR ready for review?

<InfoYoutubeModal
label={t('open_video_about_this_page')}
title={t('gaps_page_description')}
videoUrl=""
Copy link
Member

Choose a reason for hiding this comment

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

the video url is empty

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

It is empty because as far as I have seen there is no suitable video to put in place. I thought that maybe down the road someone could produce a suitable video.
If you have another idea I would be happy, or even better if there is a suitable video that I missed.

I also thought of adding it so that it was clear, write me if you want to add it
Screenshot 2024-06-11 123406

the PR is ready for review.

Copy link
Member

Choose a reason for hiding this comment

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

thanks for the clarification!
so I guess we should / could remove the iframe if there's no video to be shown (?)

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I don't want to destroy the element
And thank you very much for the feedback

Copy link
Member

Choose a reason for hiding this comment

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

what do you mean by destring the element?
I meant to say that if the modal component gets no url, it should not render an iframe inside of it

@NoamGaash NoamGaash linked an issue Jun 11, 2024 that may be closed by this pull request
@NoamGaash
Copy link
Member

side note - https://eyes.applitools.com/app/test-results/00000251684207444242/?accountId=ClQJqzT0PkebrsewHfaQEQ__
I'm not sure why the visual tests are not linked properly. I'll check that later

@zushar
Copy link
Collaborator Author

zushar commented Jun 12, 2024 via email

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.

Redesign Proposal
2 participants