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: Ensure Footer Visibility on Smaller Screens #489

Merged
merged 6 commits into from
Mar 13, 2024
Merged

Fix: Ensure Footer Visibility on Smaller Screens #489

merged 6 commits into from
Mar 13, 2024

Conversation

thrishank
Copy link
Contributor

Summary

#468 Issue
This pull request addresses an issue where the footer was not rendering on smaller screens due to the d-none class. The visibility of the footer is crucial for providing a seamless user experience across different devices.

Changes Made

  • Removed the d-none class from the div in the footer folder index file, enabling the footer to be visible on smaller screens.

Why

The d-none class was unintentionally hiding the footer on smaller screens, affecting the overall user experience. This change ensures consistent visibility across all screen sizes. The d-none class in Bootstrap is a utility class that sets an element to display: none! important;, effectively hiding it.

ScreenShots

before
Screenshot 2024-02-25 163600
After
Screenshot 2024-02-25 163441

  • Tested on various devices and screen sizes.
  • Ensured the removal of the d-none class did not introduce any unintended side effects.

This PR is ready for review. Your feedback is appreciated!

Copy link
Member

@sushain97 sushain97 left a comment

Choose a reason for hiding this comment

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

Unfortunately, this is exceptionally noisy UI for a mobile screen and displays redundant content ("Spotted a mistake..." appears twice).

@thrishank
Copy link
Contributor Author

Hey @sushain97 thanks for the feedback. I have removed the redundant content.
image
Should I work on a clean UI ?

@sushain97
Copy link
Member

That would be necessary to have this merged.

@thrishank
Copy link
Contributor Author

image
@sushain97 is this okay or should I make any additional changes?

@sushain97
Copy link
Member

This is still far too much vertical space. Try looking at how other websites handle collapsing a footer on mobile viewports?

@thrishank
Copy link
Contributor Author

href="https://github.com/apertium/apertium-html-tools"
rel="noreferrer"
target="_blank"
>
<small>{version}</small>
<FontAwesomeIcon icon={faCode} /> {t('github ') + version}
Copy link
Member

Choose a reason for hiding this comment

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

Why did you add "github" here & an icon? I think it was nice to have this be minimal.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Sorry, removed it. Just thought it would be good to have icon.

sushain97
sushain97 previously approved these changes Mar 5, 2024
@sushain97
Copy link
Member

Looks like a test needs to be updated!

@thrishank
Copy link
Contributor Author

In the Footer test suite, the "opens about dialog on desktop" test was failing due to accessing an undefined element at index 1 in the buttons array. Upon investigating I found that there is only one element in the buttons array. The issue was resolved by updating the index to 0, ensuring the test clicks on the correct button.
@sushain97

@coveralls
Copy link

Pull Request Test Coverage Report for Build 8161043384

Details

  • 4 of 4 (100.0%) changed or added relevant lines in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage decreased (-0.001%) to 97.644%

Totals Coverage Status
Change from base Build 8032731524: -0.001%
Covered Lines: 1381
Relevant Lines: 1396

💛 - Coveralls

@sushain97 sushain97 merged commit 2d1d15e into apertium:master Mar 13, 2024
4 checks passed
@thrishank
Copy link
Contributor Author

Hey @sushain97 I am thinking of participating for apertium GSoC. Who should I contact ?

Thank You

@ahmedsiam0
Copy link

Hi @thrishank,

You can introduce yourself and share your interest about a specific project through IRC or the mailing list.
You will find more info about them here: https://wiki.apertium.org/wiki/Contact

If you have any questions, you can use those communication methods to ask them.
You should prefer public communication methods (Like the IRC channel and the mailing list) over private ones like communicating with a specific mentor privately through emails.

Useful articles about communicating:
https://google.github.io/gsocguides/student/making-first-contact
https://google.github.io/gsocguides/student/communication-best-practices

Good Luck.

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.

4 participants