Skip to content
This repository has been archived by the owner on May 6, 2024. It is now read-only.

chore: unit and component navigation #1748

Merged
merged 14 commits into from
Jun 9, 2023
Merged

chore: unit and component navigation #1748

merged 14 commits into from
Jun 9, 2023

Conversation

mumer92
Copy link
Contributor

@mumer92 mumer92 commented Apr 17, 2023

Description

LEARNER-9295

This PR adds new unit and component navigation.

Note:

In Config, make NEW_COMPONENT_NAVIGATION_ENABLED and NEW_DASHBOARD_ENABLED as true to test new navigation flow.

@mumer92 mumer92 changed the title chore: unit and component navigation [wip] unit and component navigation Apr 17, 2023
@mumer92 mumer92 changed the base branch from master to app_nav April 17, 2023 11:55
@mumer92 mumer92 force-pushed the umer/LEARNER-9295 branch 2 times, most recently from afeb6f3 to d45a32d Compare April 26, 2023 17:16
@mumer92 mumer92 changed the title [wip] unit and component navigation chore: unit and component navigation May 30, 2023
@mumer92 mumer92 requested a review from saeedbashir May 30, 2023 14:34
@saeedbashir
Copy link
Contributor

@mumer92 I'm getting the following error
Build input file cannot be found: '/Users/saeedbashir/Desktop/DataDrive/Work/DropDown/DropDown/resources/DropDownCell.xib'. Did you forget to declare this file as an output of a script phase or custom build rule which produces it?

Copy link
Contributor

@saeedbashir saeedbashir left a comment

Choose a reason for hiding this comment

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

  • Unit title text in header shouldn't be selectable
  • The header of detail screen should be the title of sub-section instead of component
  • If the unit text is large the, on click the drop down menu is not appearing
  • The drop down menu should be toggled if clicked multiple times
  • The lock icon is different than the figma design
  • The corner radius of dropdown menu is not as per figma design
  • The color of bottom bar and space bellow is different, try to make it same if possible
  • The space between dropdown menu and title is not as per figma
  • Sometime the switching on selection from dropdown menu freezes
  • If the same unit selected from the dropdown which is appearing underneeth, the clcik should should be ignored
Simulator.Screen.Recording.-.iPhone.14.Pro.-.2023-06-01.at.12.59.06.mp4

Source/OEXConfig+AppFeatures.swift Show resolved Hide resolved
Copy link
Contributor

@saeedbashir saeedbashir left a comment

Choose a reason for hiding this comment

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

Is it possible to merge NewCourseGatedContentHeaderTableViewCell and NewCourseGatedContentHeaderTableViewCell?

Source/CourseContentHeaderView.swift Outdated Show resolved Hide resolved
Source/CourseContentHeaderView.swift Outdated Show resolved Hide resolved
Source/CourseContentHeaderView.swift Outdated Show resolved Hide resolved
Source/CourseContentHeaderView.swift Outdated Show resolved Hide resolved
Source/CourseContentHeaderView.swift Outdated Show resolved Hide resolved
Source/CourseContentHeaderView.swift Outdated Show resolved Hide resolved
Source/CourseContentPageViewController.swift Outdated Show resolved Hide resolved
Source/CourseDashboardHeaderView.swift Outdated Show resolved Hide resolved
Source/DetailToolbarButton.swift Outdated Show resolved Hide resolved
Source/NewCourseContentController.swift Outdated Show resolved Hide resolved
Copy link
Contributor

@saeedbashir saeedbashir left a comment

Choose a reason for hiding this comment

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

  • The landscape is not supported
  • On selecting a subsection, the first uncompleted unit should be opened and if all the units are completed then the last unit should be opened.
  • Is it possible to merge NewCourseGatedContentHeaderTableViewCell and NewCourseGatedContentHeaderTableViewCell?
  • Sometimes selecting a unit block din't update the block content

Source/CourseContentHeaderView.swift Outdated Show resolved Hide resolved
Source/CourseContentHeaderView.swift Outdated Show resolved Hide resolved
Source/CourseOutlineTableSource.swift Outdated Show resolved Hide resolved
Source/CourseDashboardHeaderView.swift Outdated Show resolved Hide resolved
@mumer92 mumer92 requested a review from saeedbashir June 5, 2023 12:11
@mumer92 mumer92 requested a review from saeedbashir June 7, 2023 08:50
@saeedbashir
Copy link
Contributor

@mumer92 tests are failing can you please look into it?

@mumer92
Copy link
Contributor Author

mumer92 commented Jun 8, 2023

@saeedbashir github actions is using older version of Xcode and it is not able to compute some expression in the valid time, thus it is giving error.

@mumer92
Copy link
Contributor Author

mumer92 commented Jun 9, 2023

Followup tickets have been created to fix scrolling and landscape behaviour.

https://2u-internal.atlassian.net/browse/LEARNER-9409
https://2u-internal.atlassian.net/browse/LEARNER-9410

Copy link
Contributor

@saeedbashir saeedbashir left a comment

Choose a reason for hiding this comment

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

LGTM 👍

@mumer92 mumer92 merged commit e9f5823 into app_nav Jun 9, 2023
@mumer92 mumer92 deleted the umer/LEARNER-9295 branch June 9, 2023 10:10
saeedbashir pushed a commit that referenced this pull request Sep 19, 2023
*chore: revert app nav changes (#1685)

* chore: add indicator on tab bar (#1687)

* chore: update learn tab icon (#1698)

* chore: add empty state to my courses (#1697)

* chore: add dashboard header view (#1705)

* chore: Course Dashboard Error Screen for Non-Upgradable Courses (#1708)

* chore: course tab bar flow changes in course dashboard (#1707)

* chore: add error view on enrolled courses screen (#1718)

* chore: course dashboard error screen for no access but upgradable courses (#1716)

* chore: scrolling behaviour on course dashboard header (#1723)

* feat: add new error screen for outdated version (#1725)

* feat: certificate banner stylistic changes on new course dashboard (#1727)

* chore: add scrolling behaviour to redesigned Learn tab (#1729)

* chore: add collapsible section headers (#1726)

* chore: resume course button implementation for new design #1737 (#1738)

* chore: fix deeplinks with new dashboard (#1742)

* fix: fix broken tests

* chore: discussions deep link and push notifications support for new course dashboard (#1752)

* chore: update status bar color to match course dashboard header color (#1754)

* feat: show shift dates banner on new course dashboard (#1753)

* feat: show shift dates banner on new course dashboard
* refactor: improve value prop logic in case of embedded value prop on course dashboard
fix: fix fetching of course price

* fix: fix course share button on iPad (#1757)

* fix: fix blank screen on fresh enrollment with app nav work (#1759)

* fix: view showing behind collapsible headers (#1758)

* chore: unit and component navigation (#1748)

* chore: handle user interaction when user swipes quickly in page view controller (#1766)

* chore: incorporate changes of course price and currency code for execute api in app_nav (#1768)

* refactor: celebratory modal layout improvements (#1767)

* chore: handle landscape for new dashboard and component navigation (#1769)

* chore: address app nav feedback (#1772)

* chore: fix title label constraint (#1775)

* fix:  revert of fix title label constraint (#1775)" (#1778)

* fix: fix unable to dismiss an error message from course list screen (#1777)

* fix: fix for subsection unwanted collapse (#1776)

* fix: fix crash on new enrollment on course dashboard (#1781)

* chore: expand next section after a section is marked as completed (#1782)

* chore: update the edit screen title to Personal information (#1785)

* chore: update shift dates banner on component screen (#1786)

* chore: improve scrolling experience on discover title bar (#1788)

* chore: handle header view in video block (#1798)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants