Skip to content

fix: preview mode navigation previous button (that uses legacy UI) - #499

Merged
Agrendalath merged 1 commit into
opencraft-release/nutmeg.2from
navin/cherry-pick-navigation-fix-nutmeg
Oct 25, 2022
Merged

fix: preview mode navigation previous button (that uses legacy UI)#499
Agrendalath merged 1 commit into
opencraft-release/nutmeg.2from
navin/cherry-pick-navigation-fix-nutmeg

Conversation

@navinkarkera

@navinkarkera navinkarkera commented Oct 21, 2022

Copy link
Copy Markdown
Member

Description

Legacy UI: Previous button should use prev_url if it in first position. In studio UI, it should always use prev_url. To make this possible we checking length of contents which is always zero for studio and more than 0 for legacy UI.

Cherry picks openedx#31193

Supporting information

Private ref: Jira: BB-6820

Testing instructions

  • Test next and previous buttons in lms preview UI

Legacy UI: Previous button should use prev_url if it in first
position. In studio UI, it should always use prev_url. To make this
possible we checking length of contents which is always zero for studio
and more than 0 for legacy UI.

(cherry picked from commit cd5544d)
@navinkarkera navinkarkera self-assigned this Oct 21, 2022

@Agrendalath Agrendalath left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

👍

  • I tested this: already approved in the upstream PR
  • I read through the code
  • I checked for accessibility issues: n/a
  • Includes documentation: n/a
  • I made sure any change in configuration variables is reflected in the corresponding client's configuration-secure repository: n/a

@Agrendalath
Agrendalath merged commit 85cb895 into opencraft-release/nutmeg.2 Oct 25, 2022
@Agrendalath
Agrendalath deleted the navin/cherry-pick-navigation-fix-nutmeg branch October 25, 2022 14:58
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