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

chore: course dates feature #149

Merged
merged 3 commits into from
Nov 8, 2023

Conversation

mumer92
Copy link
Contributor

@mumer92 mumer92 commented Nov 6, 2023

This is continuity of #137
to address feedback, as original PR was merged.

This PR also fixes edge case for the Today block and siblings for Today block, small color fixes to Circle and bit of refactoring.

@mumer92 mumer92 changed the title chore: update view top margin, handle case for today dat with the blocks, refactoring chore: course dates feature Nov 6, 2023
@mumer92 mumer92 mentioned this pull request Nov 6, 2023
@@ -35,6 +35,7 @@ public struct CourseDatesView: View {
}
} else if let courseDates = viewModel.courseDates, !courseDates.courseDateBlocks.isEmpty {
CourseDateListView(viewModel: viewModel, courseDates: courseDates)
.padding(.top)
Copy link
Contributor

Choose a reason for hiding this comment

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

Please set a specific value for .padding(.top).
You might use .padding(.top, 20) as an example.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@volodymyr-chekyrta i have added padding value to this, but i think this should be handled by the parent or maybe we should handle this by adding NavigationTtile to the child view. This same padding/overlapping issue will occur on the handouts tab.

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.

Just a small comment otherwise working fine

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 👍

Copy link
Contributor

@volodymyr-chekyrta volodymyr-chekyrta 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 7256a71 into openedx:develop Nov 8, 2023
2 checks passed
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.

3 participants