learningequality / learningequality/studio

Document resource type preview pane issue under mobile view

Open
#2,758 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
191
Forks
307
Avg merge
5d 6h
Merged PRs (30d)
10

Description

Summary

There's an issue with the Document resource type under mobile view. The preview box (class="layout renderer") freezes on the loader (Kolibri logo) and never shows the preview of the document.

Category

BUG

Usage Details

  • Windows 10
  • Browser: Chrome, Firefox, Edge (latest versions)
  • Channel Token: jumun-rizoz
  • Topic: Unidades
  • Mobile simulator: Browser: iPad (768*1024)

How to reproduce

Precondition: Document resource type imported to a channel.

  1. Login to Studio
  2. Click a channel with imported document resource type (Topic Unidades has documents in it)
  3. Click the topic with documents
  4. Right-click and select Inspect to open browser's dev tools
  5. Click to toggle Device toolbar (Chrome) to launch the mobile simulator
  6. Select iPad
  7. Click a single Document resource type to toggle the preview pane
  8. See the preview box

Screenshots

iPad_document

Real-life consequences (anything community should be aware of, for instance how it affects end users)

User is unable to see a preview of the document.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the issue by opening a document resource in the Unidades topic and using the iPad mobile simulator. Inspect the preview pane and browser console first; the work is done when the document preview renders instead of remaining on the Kolibri loader.

Written by the indexing model from the issue text.

Assessment

Domain
frontend, mobile
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.