Giter VIP home page Giter VIP logo

animationxblock's Introduction

AnimationXBlock

DEPRECATION WARNING

This AnimationXBlock is now deprecated and will not recieve further updates. For details see #88.

Currently there is no replacement for this XBlock.


This XBlock shows students an animation they can go through. There is a set of images with corresponding text, and a slider for going through these images:

Animation screenshot

This is an intermediate point between video and text. Like text, students can self-regulate pace of learning. Like a video, it has somewhat reduced cognitive load, since the instructor can "point" to things.

Next steps:

  • This looks good in workbench. There's a css issue where it is usable, but less pretty in edX.
  • The slider uses a third-party library that doesn't seem to handle resizing well.
  • Discoverability could be improved. The tool should either have instructions the first time it pops up, fade-in/fade-out text explaining slider, or at the very least, a tooltip.
  • The slider knob should turn green when done. We add an animation_done class when this happens; the CSS just needs to use it.
  • There should be an option for no text (if text is e.g. in the image)
  • Conversely, there should be an option to embed XBlocks rather than just text+image. Audio XBlock, in particular, might be nice here.
  • Nicer styling

animationxblock's People

Contributors

awais786 avatar dependabot[bot] avatar edx-requirements-bot avatar feanil avatar jawayria avatar mraarif avatar nedbat avatar rgraber avatar sarina avatar stvstnfrd avatar timmc-edx avatar usamasadiq avatar zubairshakoorarbisoft avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

animationxblock's Issues

XBlock is broken

Looks like this XBlock is not being used. I've opened this PR as part of a translation project FC-0012

I'm testing on Devstack-palm

  • The XBlock display name in studio is showing Completion instead of Animation, which give the scenes that the XBlock is not being used. See #86 (comment)

  • An error is raised when adding the XBlock:

Traceback (most recent call last):
edx.devstack.studio               |   File "/edx/app/edxapp/edx-platform/cms/djangoapps/contentstore/views/preview.py", line 337, in get_preview_fragment
edx.devstack.studio               |     fragment = block.render(preview_view, context)
edx.devstack.studio               |   File "/edx/app/edxapp/venvs/edxapp/lib/python3.8/site-packages/xblock/core.py", line 198, in render
edx.devstack.studio               |     return self.runtime.render(self, view, context)
edx.devstack.studio               |   File "/edx/app/edxapp/edx-platform/xmodule/x_module.py", line 1781, in render
edx.devstack.studio               |     return self.__getattr__('render')(block, view_name, context)  # pylint: disable=unnecessary-dunder-call
edx.devstack.studio               |   File "/edx/app/edxapp/edx-platform/xmodule/x_module.py", line 1018, in render
edx.devstack.studio               |     return super().render(block, view_name, context=context)
edx.devstack.studio               |   File "/edx/app/edxapp/venvs/edxapp/lib/python3.8/site-packages/xblock/runtime.py", line 847, in render
edx.devstack.studio               |     frag = view_fn(context)
edx.devstack.studio               |   File "/edx/app/edxapp/venvs/edxapp/lib/python3.8/site-packages/animation/animation.py", line 80, in student_view
edx.devstack.studio               |     inner_width=self.width-20,
edx.devstack.studio               | TypeError: unsupported operand type(s) for -: 'NoneType' and 'int'

[DEPR]: AnimationXBlock

Proposal Date

2023-04-21

Target Ticket Acceptance Date

2023-05-05

Earliest Open edX Named Release Without This Functionality

Quince - 2023-10

Rationale

To the best of my knowledge, this XBlock

  • Is not working - #87
  • Is unused
  • Is in a repo with no maintainer

Removal

https://github.com/openedx/AnimationXBlock (the XBlock itself, the whole repo)

Replacement

Assuming the assessment that this XBlock is currently unused is accurate, this should not require a replacement.

Deprecation

No response

Migration

No response

Additional Info

No response

Discourse Thread

https://discuss.openedx.org/t/deprecation-removal-animationxblock/9924

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.