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

arrow animation & fix for section title #209

Merged

Conversation

forgotvas
Copy link
Contributor

@forgotvas forgotvas commented Dec 14, 2023

That PR contains two tickets:

Previews:

[iOS] Fix section title displayed in two lines #208 & [iOS] Long section name is partially overlapped by navigation buttons #205

_Simulator Screenshot - iPhone 15 - 2023-12-14 at 16 19 10
_Simulator Screenshot - iPhone 15 - 2023-12-14 at 16 19 12
_Simulator Screenshot - iPhone 15 - 2023-12-14 at 16 20 54
_Simulator Screenshot - iPhone 15 - 2023-12-14 at 16 20 56

[iOS] Improve arrow animation for section drop-down and sequence nested lists #207

Simulator.Screen.Recording.-.iPhone.15.-.2023-12-14.at.16.26.28.mp4
Simulator.Screen.Recording.-.iPhone.15.-.2023-12-14.at.16.40.20.mp4

* on tap on current element in dropdown view hide the dropdown view without refreshing of content
* added rotation animation for expandable cell arrow and for dropdown title arrow
* set line limit for courseDropdownTitle to 1 line and added paddings
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 drop-down menu dismisses on click but not on scroll.

Screen.Recording.2023-12-15.at.10.21.33.AM.mov

}).padding(.top, isHorizontal ? 10 : 0)
Group {
NavigationBar(
title: isDropdownActive ? sequenceTitle : "",
Copy link
Contributor

Choose a reason for hiding this comment

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

The screen title is missing when the drop-down isn't active which isn't the desired behavior.
image

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Hi, @saeedbashir, the original upstream develop doesn't contain title, so i moved it to under flag. Should i move it to persistent state @volodymyr-chekyrta ?

Copy link
Contributor

Choose a reason for hiding this comment

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

Hi, @saeedbashir, the original upstream develop doesn't contain title, so i moved it to under flag

If thats the case, you can ignore this request. I thought it got missed because of our recent work.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@saeedbashir, now menu is hide when user scrolls content

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 👍

@volodymyr-chekyrta volodymyr-chekyrta merged commit f81aefa into openedx:develop Dec 18, 2023
3 checks passed
@forgotvas forgotvas deleted the fix/vertical-dropdown-fixes branch December 19, 2023 16:07
saeedbashir pushed a commit to saeedbashir/openedx-app-ios that referenced this pull request Jan 5, 2024
* fix: contains next fixes:

* on tap on current element in dropdown view hide the dropdown view without refreshing of content
* added rotation animation for expandable cell arrow and for dropdown title arrow
* set line limit for courseDropdownTitle to 1 line and added paddings

* fix: hide dropdown when user is scrolling
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants