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: Open Responses Styling and Layout #33717

Merged
merged 2 commits into from
Mar 6, 2024

Conversation

tspring5000
Copy link
Contributor

Description

The Open Responses tab on instructor dashboard on LMS has a few issues with table styling; there isn't enough spacing between some columns which makes the text difficult to read, and the bottom of some numbers in the summary table are cutoff.
This change adds padding to the right of each column to ensure longer text is still legible and changes the line height from 1em to 1 (unitless), which maintains the same style but doesn't cut off the bottom.

Supporting information

Fix for this ticket: openedx/wg-build-test-release#223

Testing instructions

LMS > View Course > Instructor tab > Open Responses

Other information

Old:
old

New:
new

@openedx-webhooks openedx-webhooks added the open-source-contribution PR author is not from Axim or 2U label Nov 15, 2023
@openedx-webhooks
Copy link

openedx-webhooks commented Nov 15, 2023

Thanks for the pull request, @tspring5000! Please note that it may take us up to several weeks or months to complete a review and merge your PR.

Feel free to add as much of the following information to the ticket as you can:

  • supporting documentation
  • Open edX discussion forum threads
  • timeline information ("this must be merged by XX date", and why that is)
  • partner information ("this is a course on edx.org")
  • any other information that can help Product understand the context for the PR

All technical communication about the code itself will be done via the GitHub pull request interface. As a reminder, our process documentation is here.

Please let us know once your PR is ready for our review and all tests are green.

@mphilbrick211
Copy link

Hi @tspring5000! Thanks for this contribution! Please let me know if you have any questions regarding submitting a CLA form.

@mphilbrick211 mphilbrick211 added the needs test run Author's first PR to this repository, awaiting test authorization from Axim label Nov 15, 2023
@tspring5000
Copy link
Contributor Author

Hi @tspring5000! Thanks for this contribution! Please let me know if you have any questions regarding submitting a CLA form.

Thanks! Yeh just waiting for the docusign form now, will sign it as soon as I see it

@tspring5000
Copy link
Contributor Author

That should be signed now

@e0d
Copy link
Contributor

e0d commented Nov 20, 2023

@tspring5000
I notice there are some commit-lint failures. Please note that we use conventional commits across Open edX projects. You can read about the details here. Can you please amend your commit messages to follow our standard?

@tspring5000 tspring5000 force-pushed the open-responses-table-style branch from 1373238 to 4ec7913 Compare November 20, 2023 18:09
@e0d e0d removed the needs test run Author's first PR to this repository, awaiting test authorization from Axim label Nov 20, 2023
@tspring5000
Copy link
Contributor Author

@tspring5000 I notice there are some commit-lint failures. Please note that we use conventional commits across Open edX projects. You can read about the details here. Can you please amend your commit messages to follow our standard?

Apologies about that, fixed now

@tspring5000
Copy link
Contributor Author

Ah, sorry, looks like I still have issues with my type labelling

Ref: openedx/wg-build-test-release#223
The Open Responses tab on instructor dashboard on LMS has a few issues with table styling; there isn't enough spacing between some columns which makes the text difficult to read, and the bottom of some numbers in the summary table are cutoff
This change adds padding to the right of each column to ensure longer text is still legible and changes the line height from 1em to 1 (unitless), which looks the same but doesn't cut off the bottom
Remove extra whitespace line 1862 for better formatting
@tspring5000 tspring5000 force-pushed the open-responses-table-style branch from d5d1405 to 3f8c509 Compare November 20, 2023 18:16
@mphilbrick211 mphilbrick211 added needs test run Author's first PR to this repository, awaiting test authorization from Axim waiting for eng review PR is ready for review. Review and merge it, or suggest changes. and removed needs test run Author's first PR to this repository, awaiting test authorization from Axim labels Nov 20, 2023
@pomegranited pomegranited self-assigned this Mar 6, 2024
Copy link
Contributor

@pomegranited pomegranited left a comment

Choose a reason for hiding this comment

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

Hi @tspring5000 thank you for contributing! Your change works great, so I'll merge this tomorrow.

👍

  • I tested this on my devstack.
  • I read through the code
  • I checked for accessibility issues by using my keyboard to navigate.
  • Includes documentation N/A
  • User-facing strings are extracted for translation N/A

@pomegranited pomegranited merged commit 1dab744 into openedx:master Mar 6, 2024
62 checks passed
@openedx-webhooks
Copy link

@tspring5000 🎉 Your pull request was merged! Please take a moment to answer a two question survey so we can improve your experience in the future.

@pomegranited
Copy link
Contributor

Thank you for your contribution @tspring5000 !

rayzhou-bit pushed a commit that referenced this pull request Mar 6, 2024
* fix: table styling on Instructor Dashboard

Ref: openedx/wg-build-test-release#223
The Open Responses tab on instructor dashboard on LMS has a few issues with table styling; there isn't enough spacing between some columns which makes the text difficult to read, and the bottom of some numbers in the summary table are cutoff
This change adds padding to the right of each column to ensure longer text is still legible and changes the line height from 1em to 1 (unitless), which looks the same but doesn't cut off the bottom

* fix: remove whitespace
Remove extra whitespace line 1862 for better formatting
@edx-pipeline-bot
Copy link
Contributor

2U Release Notice: This PR has been deployed to the edX staging environment in preparation for a release to production.

@edx-pipeline-bot
Copy link
Contributor

2U Release Notice: This PR has been deployed to the edX production environment.

tecoholic pushed a commit to open-craft/edx-platform that referenced this pull request Sep 12, 2024
ChrisChV pushed a commit that referenced this pull request Oct 21, 2024
* Revert "fix: Open Responses Styling and Layout (#33717)"

This reverts commit 1dab744.

* chore: bumps ora2 requirement

---------

Co-authored-by: Arunmozhi <arunmozhi@opecraft.com>
Co-authored-by: Jillian Vogel <jill@opencraft.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
open-source-contribution PR author is not from Axim or 2U waiting for eng review PR is ready for review. Review and merge it, or suggest changes.
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

6 participants