Skip to content

Show learn more button catalog mobile#55161

Merged
juanmanzojr merged 92 commits into
stagingfrom
show-learn-more-button-catalog-mobile
Dec 15, 2023
Merged

Show learn more button catalog mobile#55161
juanmanzojr merged 92 commits into
stagingfrom
show-learn-more-button-catalog-mobile

Conversation

@juanmanzojr

@juanmanzojr juanmanzojr commented Nov 27, 2023

Copy link
Copy Markdown
Contributor

On Mobile, if the Expanded Card cannot fit the width of the screen, the Quick View button turns back into its original Learn More button.

Learn More button visible when Two curriculum Catalog Cards in a row

Screenshot 2023-11-27 at 9 51 10 AM

Learn More button visible with one Catalog Card per row

Screenshot 2023-11-27 at 9 51 33 AM

Quick View when the Expanded Card can fit the width of the screen

Screenshot 2023-11-27 at 9 50 35 AM

Links

Testing story

New UI tests within dashboard/test/ui/features/acquisition_products/curriculum_catalog.feature

Deployment strategy

Follow-up work

Hide the Related Curricula section when there are two Catalog Cards per row in order to fit the Expanded Card.

PR Checklist:

  • Tests provide adequate coverage
  • Privacy and Security impacts have been assessed
  • Code is well-commented
  • New features are translatable or updates will not break translations
  • Relevant documentation has been added or updated
  • User impact is well-understood and desirable
  • Pull Request is labeled appropriately
  • Follow-up work items (including potential tech debt) are tracked and linked

@juanmanzojr juanmanzojr changed the base branch from staging to staging-next November 28, 2023 21:20
juanmanzojr and others added 2 commits November 28, 2023 13:21
…precation Warning

As a short-term fix to stop spamming Honeybadger.

In the longer term, we plan to stop using this deprecated feature in favor of other methods for automatically restoring connections.
@juanmanzojr juanmanzojr marked this pull request as ready for review November 29, 2023 00:41
@juanmanzojr juanmanzojr requested a review from a team as a code owner November 29, 2023 00:41
juanmanzojr and others added 11 commits December 4, 2023 09:35
* add download video string

* replace download icon with text link with icon
* add grades string

* add wrapper element to sections

* update theme and remove unneeded stylesheets
…locks (#55275)

* add support for plus minus blocks

* refactor to add helpers

* use cdo locale

* move installJoinBlock logic to customBlocks

* settable minimum for input count

* convert block attr to mutation

* update licenses

* customize mutator

* include text_join blocks

* forgot not operator

* keep attribute

* only attempt to add quotes with zero inputs (missing field warning)

* code review
* DCDO control of announcements.json

* DCDO control of announcements.json

* DCDO control of announcements.json

* DCDO control of announcements.json

* Added tests for DCDO flag in announcements

* empty commit message

* Add tests for announcements false dcdo flag
@juanmanzojr juanmanzojr requested a review from a team December 5, 2023 00:38
}

.learnMoreButton {
display: block !important;

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

why are the !important tags necessary? What's overriding these styles?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

For the learn more button, there is Button styling that makes the display: inline block which displays the Learn More button at all times. The !important overrides this display.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Sorry for dragging this out but can you add a comment explaining that? !important tags are a huge anti-pattern so it's good to document why they're needed when they are.

bethanyaconnor and others added 6 commits December 5, 2023 11:19
* Add question to ImplementationPlan

* Fix tests for new field

* Use will_teach field in auto score

* Uncomment out email send

* Select will teach before selecting grades

* Populate will_teach when creating a fake application

* Only show warning after user has selected an option for willTeach

* Fix another UI test

* Addressing PR feedback
* Update cdoXml.js

* Update cdoBlockSerializer.js
* cleaning up controller and test to reflect address changes

* fixing order of operations

* moving comment

* removing other params for tests

* fixing test
* UI and unit tests of hamburger menu

* Specify which tests should be run on mobile

* Hamburger UI tests

* Updates to hamburger eyes tests

* Hamburger UI test changes

* Mobile tests for hamburger

* Eyes test for mobile hamburger

* Update Eyes test hamburger mobile

* Eyes test changes hamburger

* Hamburger UI Tests

* Eyes test for Hamburger nav

* UI tests hamburger nav
cat5inthecradle and others added 4 commits December 8, 2023 10:39
* check for def block drag

* refactor

* Delete sl_level_0419.level

* rename from updateEnabled

* prevent undefined error
…Currculum Catalog (#55245)

* Hide assign button for students on Currculum Catalog

* Update UI tests for catalog card and expanded card

* Unit tests for assign button student removed

* Required props for Catalog Card unit tests

* Update curriculum_catalog_card.module.scss

* Add props for story

* Add props for catalog unit tests

* UI tests for hiding assign button for students

* Remove unnecessary line in UI tests

* Hide professional Learning section for students

* Update teacher UI test catalog
* modified attempted_at to pull timestamp from S3

* removed UI test block

* rubrics_controllers fixes and tests
@juanmanzojr juanmanzojr requested review from a team as code owners December 8, 2023 19:02
@juanmanzojr juanmanzojr force-pushed the show-learn-more-button-catalog-mobile branch from 940361f to dec5b55 Compare December 8, 2023 19:04
@juanmanzojr juanmanzojr requested review from a team and removed request for a team December 11, 2023 19:07

@bethanyaconnor bethanyaconnor left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

One request for a comment but otherwise looks good to me!

@juanmanzojr juanmanzojr changed the base branch from staging-next to staging December 12, 2023 18:28
@juanmanzojr juanmanzojr merged commit 6ba51f3 into staging Dec 15, 2023
@juanmanzojr juanmanzojr deleted the show-learn-more-button-catalog-mobile branch December 15, 2023 17:52
juanmanzojr added a commit that referenced this pull request Dec 15, 2023
juanmanzojr added a commit that referenced this pull request Dec 15, 2023
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.