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

Embed: users scrolled too much between editor and instructions #1149

Closed
galeyang opened this issue Jul 15, 2019 · 5 comments
Closed

Embed: users scrolled too much between editor and instructions #1149

galeyang opened this issue Jul 15, 2019 · 5 comments
Labels
closed-obsolete Closed as the reported issue is no longer relevant from-study Issues are filed from a research study P1 A high priority bug; for example, a single project is unusable or has many test failures type-ux A user experience or user interface related issue
Milestone

Comments

@galeyang
Copy link

Study result

In a UX study, we evaluated a Dart Future codelab dart-lang/site-www#1659. In Round 2, we made the exercise instructions much clear but it also took more space. Most participants scrolled up and down between editor and instructions. 4 out of 10 complained that they scrolled so much and would like to have the instructions and the editor on one screen.

Here's my part one, my part 2 and part 3. As I'm coding it, I had to go up and down. My personal preference would be not having the scroll so much.

scrolling

Improvements to be considered

  • Support multiple steps within Dartpad [@InMatrix & Khan Academy]
    image

  • Have instructions side-by-side or in a playground layout, like Kotlin's Koan [@InMatrix & user]

  • Put instructions in Dartpad [@johnpryan & user]: comments can be removed or not ideal for formatting

  • Instruction: display multi-parts in a tab or slider layout?

  • Make instructions scrollable? [user]

  • Simplify tasks or assign a separate embeds for sub-parts

Feedback welcome!

cc: @legalcodes

@galeyang galeyang added P1 A high priority bug; for example, a single project is unusable or has many test failures type-ux A user experience or user interface related issue from-study Issues are filed from a research study labels Jul 15, 2019
@legalcodes
Copy link
Contributor

Thanks Gale for opening this ticket.

Looking at the helpful images, it just occurred to me that we might be using a fontsize for the instructions that is larger than it has to be (the font size within the DartPad embed is much smaller).

If we reduce the instruction font size and change the instructions from bulletpoint format to paragraph format, that might go a long way toward reducing the amount of scrolling needed.

@galeyang
Copy link
Author

galeyang commented Jul 19, 2019

Another idea: allow users to detach embed Dartpad. With this, users can work on exercises while referring to instructions and previous example code at the same time.

Example: coding tutorial

fix-bottom-editor

Example: Youtube - a button that can display the mini player

fix-bottom-editor2

cc: @InMatrix

@RedBrogdon
Copy link
Contributor

Are there specific changes we can make in DartPad to help here, or is this more of a codelab construction issue (i.e. something that should be fixed in the containing page of the DartPad embed rather than DartPad's UI)?

Other than putting instructions in DartPad, I'm not sure what we can do with this codebase to help on this one.

@RedBrogdon RedBrogdon added this to the Backlog milestone Jul 24, 2019
@galeyang
Copy link
Author

galeyang commented Jul 25, 2019

Discussed offline.

For the future codelab dart-lang/site-www#1659, @legalcodes will prototype "putting the instruction on the left and a narrower embed on the right" using the layout embed-new-inline.html.

Since this is less applicable to Flutter use cases, we discussed the detached editor. @johnpryan pointed out the implementation challenge with iframe: the control over layout is from the parent site. He will see if we can use inserted scripts.


Status of this issue is also tracked in https://github.com/orgs/flutter/projects/3.

@parlough
Copy link
Member

As part of the new, simplified version of the DartPad frontend, the exercise functionality this was related to was removed.

If anyone would like to see similar functionality brought back, please check out #2702 or open a new issue. Thanks so much!

@parlough parlough closed this as not planned Won't fix, can't repro, duplicate, stale Jun 16, 2024
@parlough parlough added the closed-obsolete Closed as the reported issue is no longer relevant label Jun 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
closed-obsolete Closed as the reported issue is no longer relevant from-study Issues are filed from a research study P1 A high priority bug; for example, a single project is unusable or has many test failures type-ux A user experience or user interface related issue
Projects
None yet
Development

No branches or pull requests

4 participants