Giter Site home page Giter Site logo

digidago / moodle-format_softcourse Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 4.0 4.47 MB

A course format for Moodle. This course format displays sections with only an image and an optional text on the course homepage. Users don’t see the detail of the section, for instance, resources or activities.

Home Page: https://pimenko.com

JavaScript 6.22% PHP 57.91% SCSS 13.20% Mustache 9.36% CSS 13.31%
moodle moodle-course-format moodle-plugin

moodle-format_softcourse's People

Contributors

clementpr avatar crymsonir avatar dependabot[bot] avatar ewallah avatar kecherou avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar

moodle-format_softcourse's Issues

Orange area and Topic titles

Subject of the issue/enhancement/features

Moodle 3.10.3
Soft Course 3.11rc1.2
When viewing a course page on cellphone the orange area where an image can be placed is being squished, and the topic titles are being truncated instead of wrapping.

Steps to reproduce

Chose Soft Course format and viewed course on mobile (Redmi K40 cellphone in this case)

Expected behaviour

Orange area should be wider to accommodate images, title should wrap instead of being truncated if possible.

Actual behaviour

Orange area is squished, topic title is truncated

Screenshots (if you can)

IMG_20210606_093913

The full title topics of the sections above being truncated are:
Hiragana - pronunciation and reading
Hiragana - printable charts and writing practice
Katakana - pronunciation and reading
Katakana - printable charts and writing practice

[Style] Texte tronqué si 2 paragraphes

Il faudrait voir si on peut faire rentrer un peu plus de texte dans la zone de descrption.
image

Il faudrait également voir si on peut limiter le nombre de caractères dans le résumé de la section

Bug report Pimenko

Subject of the issue/enhancement/features

Suite à l'installation du plugin sur ma plateforme Moodle (3.10.3, thème Moove) de test, quand je crée un cours vierge et que je lui applique le format de cours Soft Course et que j'enregistre, j'ai une erreur qui apparait : Exception : Call to a member function out() on null

Steps to reproduce

En mode édition de cours, l'erreur n'apparait pas, mes sections sont visibles, je peux ajouter du contenu mais une fois que je sors du mode édition, le message d'erreur apparait mais pas les sections.

Expected behaviour

J'aimerais bien voir les sections :)

Actual behaviour

Je ne les vois pas ! re :)

Merci pour votre travail !

Screenshots (if you can)

Capture d’écran 2021-05-26 à 16 59 05

La vignette/L'accès à la section cachée est visible par les apprenants

Subject of the issue/enhancement/features

En tant qu'apprenant, je vois la vignette des sections cachées, quand il y a des activités "visible" ou "disponible mais pas affiché dans le cours" dans ces sections.

Steps to reproduce

Mettre une activité dans une section cachée.

Expected behaviour

L'apprenant ne voit pas la vignette des sections cachées.

Actual behaviour

L'apprenant voit la vignette de la section cachée. En cliquant sur la vignette, il reçoit un message d'erreur "L'activité n'est pas disponible"

Screenshots (if you can)

Section with restricted access, or with only restricted access activities, is visible to Students even students dont meet the conditions

Subject of the issue/enhancement/features

  1. Section with restricted access is visible to Student.
  2. Shown section with only restricted access activities is visible to Student.

Steps to reproduce

  1. As Admin/Course manager, set a restricted access to a section A
  2. As Admin/Course manager, ad a restricted access activity to the section B (available and shown)
    View the course page with Student role, Students can see section A and section B

Expected behaviour

Section is invisible to students if they dont meet the setting conditions of section or activities in the section.
OR
Have sections grayed out and unclickable. When access restriction criteria is met and sectiion opens to student, then the section would become clickable and be displayed in standard UI style. Admin is recommended to put conditions in section description so it can be shown on below section name.

Actual behaviour

Students can see the section access, when they click on

  1. the section A, they get the error message "Sorry, this activity is currently hidden"
  2. the section B, they get the error message "'name of activity' - Not available unless: 'conditions'"

Screenshots (if you can)

Bug report Pimenko

Subject of the issue/enhancement/features

The navigation activities section is gone

Steps to reproduce

When you access any activity in a course, you can see that the jumpmenu at the bottom of the page does not appear.

Expected behaviour

The navigation activities (jumpmenu) allow students to access other activities in a faster and convenient way. It is located at the bottom of every activity in a course.

Actual behaviour

The jumpmenu is not triggered. Softcourse format is killing it.

Screenshots (if you can)

Screen Shot 2022-04-19 at 9 11 46 AM

[Boost] Layout HS

Avec le thème Boost, le layout est cassé lorsqu'on ajoute des liens dans les pages.

  1. Créer ou aller dans un cours avec le format de cours
  2. Dans le cours, passer en mode édition et aller modifier les paramètres des sectons.
  3. Dans l'éditeur atto, ajouter du texte avec un ou plusieurs liens vers des pages web
  4. Enregistrer et désactiver le mode éditeur
  5. La mise en page est cassée

Capture d’écran 2019-12-02 à 12 57 27

Problem with availability condition

Hello,
can you help me?
I installed this course format and found it really beautiful, but I'm not able to make the necessary restrictions for some sessions, for example:
I need to leave a session named 'certificated' completely hidden and only be released when the student reaches the required average, but they are not succeeding. I tried all the ways but I can't.

Thank you for your help

Nombre d'activités sur la vignette de la section ne correspond pas au nombre d'activités visible par les apprenants

Subject of the issue/enhancement/features

En tant qu'utilisateur, quand dans une section il y a des activités "Disponible mais pas affiché sur le page de cours", je vois le nombre d'activités sur la vignette de la section qui ne correspond pas au nombre d'activités que je peux voir dans le sommaire de cours, ou au sein de la section.

Steps to reproduce

Dans une section visible, mettre des activités "Visible" et les activités "Disponible mais pas affiché sur le page de cours"

Expected behaviour

Le nombre d'activités affiché sur la vignette correspond au nombre d'activités VISIBLE seulement. Il ne compte pas des activités "Disponible mais pas affiché sur le page de cours".

Actual behaviour

Le nombre d'activités affiché sur la vignette correspond au nombre d'activités VISIBLE et des activités "Disponible mais pas affiché sur le page de cours". L'apprenant n'a pas le même nombre d'activités dans le sommaire, ni le même nombre de pages parcouru dans la section.

Screenshots (if you can)

Problem when the first activity is a resource like a file

Subject of the issue/enhancement/features

When the first activity is of the resource / file type, the start button and / or click on the thumbnail of the section directly open the file, we then lose the possibility of browsing in the course.

Steps to reproduce

  1. Create a section with a resource / files type activity
  2. Make sure this activity is first and in the first section

Expected behaviour

Rather than opening the file directly, we would like to arrive on a page allowing us to keep the navigation.
Exemple :
Capture d’écran 2021-05-07 à 11 30 05

Actual behaviour

When you click on the "Start" button or the thumbnail, the file opens directly.
Capture d’écran 2021-05-07 à 11 33 16

Screenshots (if you can)

Please remove French language files

Hi,

The French language files have been sent to AMOS and they were accepted.
You can now remove the French language strings from this plugin code in GitHub.

You can check all translations for this plugin in the 'Translations' tab of https://moodle.org/plugins/translations.php?plugin=format_softcourse.

Please use AMOS (https://lang.moodle.org/ )for adding the remaining French language string translations.

Same goes for all the other Moodle plugins that you maintain.

Bug report Pimenko

Subject of the issue/enhancement/features

Hello,

I'm using moodle 3.8.7, theme Lambda and install softcourse plugin on 20 July 2020, I found some difficulties. Can you help me? :

  1. I created 1 course in topic format then change to soft course format. suddenly all description course disappear.

  2. i delete the default announcement at general section and add other activity like forum, but when i click start button, i got error 'Activity deletion in progress... ' . i've wait the progress but it looks like became permanent error.

  3. i have added activity label to section 1 and embed video from youtube as an introduction but sadly the video does not appear when i click start. it jumps to 2nd activity in section 1.

  4. What is actually function of section 0?

  5. what is the max words for section title? when i try put a few lines for summary section it appears redundant with the topic section (see my attachment)

I really hope that you can fix the problem so that i can permanently use this awesome plugin. see my attachment as a proof of my difficulities.

Thank you

1
2

[Moodle 39] Add/edit image of sections KO

Subject of the issue/enhancement/features

We can not upload with Moodle 3.9 image to present section

Steps to reproduce

Go to a course
Turn editing mode on
Try to change image of a section
KO

Expected behaviour

Upload image on section is OK

Screenshots

image

Bug report Pimenko

How to set brandcolor?

I notice that elements like softcourse-section-img have:

    background-color: orange;
    background-color: brandcolor;

My browser (chrome) complains that brandcolor is not a valid color, so it defaults to orange.
Wat is the way to change that orange color?

What I tried

  • I thought it may pick it up from your theme?
    I use Boost theme and have set brandcolor option there. But that does not change the option, even after clearing cache.

  • Modified css code directly.
    That of course works. but is this the intended way to do this?

{Bug bouton revenir}

Dans le thème nous avons ajouté un bouton revenir
image

Il dit : revient au niveau au dessus, par exemple la section quand tu es dans un mod. Comme les sections ne sont plus accessibles, ca fait un gros bug avec une boucle qui tourne en rond lorsqu'on clique sur revenir.

Cela fait la même chose lorsqu'on clique sur le lien du fil d'ariane avec la section
image

Plusieurs manière de faire :

  • est-ce que le bouton revenir peut ramener à l'accueil (sachant que le comportement initial passe par le thème
  • est-ce qu'on est forcé de masquer le bouton revenir + lien du fil d'ariane ? Il serait préférable de pouvoir le s garder.

++

Exception - Call to a member function out() on null

Subject of the issue/enhancement/features

Using Moodle 3.10.3.
After selecting course format -> Soft Course, I receive the error "Exception - Call to a member function out() on null."
I have tried with Boost theme and RemUI theme. The same error occurs in both themes.

Steps to reproduce

I simply installed the Soft Course zip through the Moodle plugin installer, saved the settings, went to a course and chose course format Soft Course, and received the error after saving and returning to the course.

Expected behaviour

I should see and be able to use the Soft Course course format in the course.

Actual behaviour

I only see the error "Exception - Call to a member function out() on null."

Screenshots (if you can)

RemUI theme
Screenshot 2021-06-06 8 37 04 AM

Boost theme
Screenshot 2021-06-06 8 38 35 AM

Nombre d'activités sur la vignette de la section ne correspond pas au nombre d'activités visible par les apprenants (next of #72 )

Subject of the issue/enhancement/features

En tant qu'utilisateur, quand dans une section il y a des activités avec des conditions "restreinte accès" et que je ne répond pas à ces questions, je vois le nombre d'activités sur la vignette de la section qui ne correspond pas au nombre d'activités que je peux voir dans le sommaire de cours, ou au sein de la section.

Steps to reproduce

Dans une section visible, mettre des activités "Visible" et les activités avec des condition d'accès (profil, groupe, note etc)

Expected behaviour

Le nombre d'activités affiché sur la vignette correspond au nombre d'activités que je peux accéder et sont visible par moi seulement. Il ne compte pas des activités "Disponible mais pas affiché sur le page de cours", ni "Caché", ni "Accès restreint" dont je ne répond pas aux conditions

Actual behaviour

Le nombre d'activités affiché sur la vignette correspond au nombre d'activités VISIBLE et des activités "Acces restreint", sans pise en compte si l'apprenant répondent aux conditions ou pas . L'apprenant n'a pas le même nombre d'activités dans le sommaire, ni le même nombre de pages parcouru dans la section.

Screenshots (if you can)

From the course page, students cannot access to the sections who start with "hidden" or "available but not shown" or "restricted access" activity

Subject of the issue/enhancement/features

The issue is when section has :

  • the 1st activity is a hidden or available but not shown or restricted access activity
  • then have another shown activities
    if Students, who dont meet restricted access conditions, click on section name, they will not be able to get in the section, or be blocked, cannot view another activities of the section.
    The only way to access to the section's activities is click on prev/next buttons when students are in the previous/next sections.

Steps to reproduce

As admin/course manager, create :

  • in section A : 1 hidden page then 1 available/shown page
  • in section B : 1 available but not shown page then 1 available/shown page
  • in section C : 1 page with restricted access then 1 available/shown page
    View the course as Student who doesnt meet the condition of section C, click on the section A, B and C

Expected behaviour

Students get in the first available/shown page of the section when they click on section name

Actual behaviour

  • click on section A : error message "this activity is not available"
  • click on section B : students get in the available but not shown page, but they dont have previous/next buttons to navigate in the course
  • click on section C : error message "you can not access to unless : conditions..."

Screenshots (if you can)

[Fonctionnalité] Barre de progression

Lorsqu'il n'y a pas d'achévement d'activité sur les mod d'une section, on a la barre de progression 100% qui s'affiche. Alors qu'elle devrait ne pas s'afficher.

Exemple
image

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.