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

Jz vest 7 course tile #4

Open
wants to merge 18 commits into
base: viceclass-prod
Choose a base branch
from

Conversation

shURenZHOUluxun
Copy link

edit UI for course tile component

Copy link

@chuan-edutrigger chuan-edutrigger left a comment

Choose a reason for hiding this comment

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

Do you have a demo or screenshot for what you did?

@@ -28,7 +28,7 @@ $learn-more-horizontal-position: calc(50% - 100px); // calculate the left positi
@include transition(all $tmg-f3 linear 0s);

position: relative;
border-bottom: 3px solid $action-primary-bg;
// border-bottom: 3px solid $action-primary-bg;

Choose a reason for hiding this comment

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

Remove this if you don't need it

Copy link
Author

Choose a reason for hiding this comment

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

course

@@ -81,55 +81,96 @@ $learn-more-horizontal-position: calc(50% - 100px); // calculate the left positi
}

.course-info {
height: $course-info-height;
height: ($baseline*5.5);

Choose a reason for hiding this comment

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

If we are going to use this later, create this as a variable as well

Choose a reason for hiding this comment

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

And I see you used lots of $baseline times something, try to make things consistent

@shURenZHOUluxun
Copy link
Author

Do you have a demo or screenshot for what you did?

course

Copy link

@chuan-edutrigger chuan-edutrigger left a comment

Choose a reason for hiding this comment

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

  • What is uwsgi.ini?
  • We need to actually fix all the issues in the pipeline, so you may want to have a look at all the pipeline issues there

edit course component
adjust icon in course.html
shURenZHOUluxun and others added 16 commits January 3, 2024 18:32
edit course css
* refactor: mfe_context response to serialize object keys to camelcase (openedx#31930)

* test: add tests for MFE Context API serializser (openedx#32179)

* fix: empty pipelineUserDetail object

pipelineUserDetail object should be empty when pipeline is not running

---------

Co-authored-by: Shahbaz Shabbir <[email protected]>
…dx#33150)

This is a backport from the master branch:
openedx#30954

The course is visible on the main page right after creation.

So anonymous users can see them and access the course about page
for the courses without valid data (e.g. they will see the default
course overview)

When courses list filtering is processed it checks the `see_exists`
permission for the anonymous user.
Actually, `see_exists` means `can_load` OR `can_enroll`.

`can_load` is False in our case because the course start in the future.

But `can_enroll` returns True because the course's enrollment_start
and enrollment_end dates are blank:
```
enrollment_start = courselike.enrollment_start or datetime.min.replace(tzinfo=UTC)
enrollment_end = courselike.enrollment_end or datetime.max.replace(tzinfo=UTC)
if enrollment_start < now < enrollment_end:
    debug("Allow: in enrollment period")
    return ACCESS_GRANTED
```

Set the enrollment_start the same as a course start by default
if the CREATE_COURSE_WITH_DEFAULT_ENROLLMENT_START_DATE
feature toggle is enabled (default is False).
Fixed the Course Card Image is absent on FB post
after sharing by user. Commit for Palm release.
…a256` (openedx#33345)

---------

Co-authored-by: Muhammad Soban Javed <[email protected]>
Co-authored-by: Robert Raposa <[email protected]>
Co-authored-by: Muhammad Soban Javed <[email protected]>
delete unused uwsgi.ini
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.

8 participants