openedx / openedx-app-ios

The mobile app for iOS for the Open EdX Platform.
Apache License 2.0
19 stars 13 forks source link

chore: Make inactive posting buttons/fields for "posting disabled" courses #377

Closed eyatsenkoperpetio closed 2 months ago

eyatsenkoperpetio commented 3 months ago

In some courses (with "Archived" status) posting in Discussions is disabled ("Posting in discussions is disabled by the course team"). On the Web and in edX app all make Post/Response/Comment options are hidden or inactive. We also need to disable (or hide) the "Create new post" button and the "Add a response" / "Add a comment" fields for these courses.

Make inactive posting buttons/fields for "posting disabled" courses #350 Increase tappable area size for sequence elements in Coursework #353

rnr commented 3 months ago

I think we need to specifically disable these options: Post/Response/Comment, but not hide. @saeedbashir what do you think?

saeedbashir commented 3 months ago

I think we need to specifically disable these options: Post/Response/Comment, but not hide. @saeedbashir what do you think?

@rnr I've discussed it with @moiz994 and he was okay with hiding the buttons. The only concern was about the banner(Posting in discussion is disabled by the course team) design, because we are not using this king of banner in the app. We might need approval from Sam about this, or maybe we need to highlight it so it will be on the design team radar and it will be redesigned post MVP.