Skip to content

Wireframes for Copy/Paste #6

Closed
Closed

Activity

  1. added
    epic
    on Nov 15, 2022
  2. ali-hugo commented on Nov 17, 2022

    @ali-hugo

    @ormsbee

    Please will you add me as the assignee for this task? Thanks!

  3. ali-hugo commented on Nov 21, 2022

    @ali-hugo

    @ormsbee Hi again. I don't seem to have the permissions to move this ticket into "in progress". Please will you either enable my permissions, or do it for me. Thank you!

  4. moved this from Refined to In Progress in New Feature: Copy/Pasteon Nov 21, 2022
  5. ormsbee commented on Nov 21, 2022

    @ormsbee
    Author

    @ali-hugo: Moved it to be in progress and added you to the project. Thank you!

  6. ali-hugo commented on Nov 30, 2022

    @ali-hugo

    Hi @jmakowski1123. I don't see the ability to edit a ticket, so I'll add my thoughts here about how this ticket could be expanded upon.

    The bulleted items below are possible subtasks. Please let me know what you think. I can create all the subtasks once we've finalised the list. I have made a note next to the items that I have already started working on.


    Full set of high-fidelity wireframes for Phase 1.

    • Copy custom page into clipboard and paste into same or different course
    • Copy component into clipboard and paste into same or different course (in progress)
    • Copy unit into clipboard and paste into same or different course
    • Copy subsection into clipboard and paste into same or different course (in progress)
    • Copy section into clipboard and paste into same or different course
    • View list of mismatched content/assets/settings and reconcile where possible (See Discovery: How to reconcile mismatched content/settings–list all settings (look at XBlock validation API) #8 for full list of possible conflicts)
      (in progress)

    P.s. Instead of "recreating" the Studio interface as a wireframe, I have been working on top of screenshots of Studio; so the "wireframes" are not strictly wireframes! You'll see what I mean when I share my working file next week.


    EDIT:
    Since adding the comment above, I have been granted edit permissions so was able to add the subtasks after all. I have not yet added content to each ticket.

  7. ormsbee commented on Nov 30, 2022

    @ormsbee
    Author

    @ali-hugo: Can you please check again to see if you have edit access to this ticket now?

  8. ali-hugo commented on Dec 1, 2022

    @ali-hugo

    I do! Thanks @ormsbee

  9. jmakowski1123 commented on Dec 1, 2022

    @jmakowski1123

    @ali-hugo This task list looks comprehensive to me! I don't see anything missing from the approach doc. I'm going to create a separate ticket/epic for usability testing.

  10. ali-hugo commented on Dec 5, 2022

    @ali-hugo

    @jmakowski1123 @ormsbee @sarina @bradenmacdonald

    Hi everyone,

    I thought I'd share my working file for the Modular Learning wireframes so that you could see the progress so far (you should have received an invite from Figma). There is still a long way to go, and some screens are still very rough! So please excuse any rough notes or half-complete user flows you might spot throughout the file. The flows to do with copying and pasting SUBSECTIONS are the most fleshed out at the moment.

    Feel free to add comments and questions directly to Figma if you would like to. Otherwise, I'm keeping an eye on any updates that are added to the wiki.

    Here is a link to the file. Please let me know if you have any trouble accessing it.

  11. ali-hugo commented on Dec 5, 2022

    @ali-hugo

    Just to add to my previous comment: I imagine some of the interactions/components I've suggested may be beyond the scope of Phase 1. I can scale back anything that is too complex.

  12. 3 remaining items

  13. ormsbee commented on Dec 6, 2022

    @ormsbee
    Author

    @jmakowski1123: I'm not as competent on the frontend as @bradenmacdonald, @arbrandes, and others–so my assessment of what is and isn't hard may be skewed by my backend-focused background. But generally speaking, I think the fewer places in the UI layout that we touch, the fewer extension points we will need, and the easier this will be to implement this as a plugin. The simpler those areas of UI interaction with "core" Studio are, the easier it is.

    For instance, on the relatively easy end of the spectrum, there's that calculator that floats on the bottom of the LMS for some courses if you enable the right options. It's basically its own self-contained little world and does not require interaction with the rest of the page. Now that clearly wouldn't be sufficient for the clipboard feature, but I include it just to give an extreme example.

    For the sake of the next example, I'm going to assume that we're building all the pieces of UI in a way that would be pluggable/extensible so that this could be built entirely as a plugin. For the sake of getting an MVP out without boiling the ocean, this is almost certainly not the way we'll actually build it. But in the long term, we'll probably want it to look something like this for people developing features.

    Say we have a box somewhere that our plugin owns entirely. It's some kind of hovering, expanding box in the UI somewhere. Changes in there are cheap, because we don't need to make any sort of API stability guarantees to anyone. Maybe the preview goes in there, maybe error messages–whatever functionality goes in there is stuff that Studio as a whole doesn't need to really understand anything about. We can kind of go wild in that space, do fancy stuff, change our minds and completely revamp the UI from one iteration to the next, etc.

    The UI elements that are in common spaces are ones where we have to make longer term promises, and it makes it easier to maintain these things if they're simple. So for instance, take the copy animation:

    copy_button_spinner

    The copy button built on the simplest possible extension point might just emit an event that basically says, "button copy was pressed for subsection <usage_key>". The plugin would provide the ID and image for the button, would listen for when it gets pressed, and then do something in response. But the extension point stops caring at that point.

    When we add the animation for the copy button, the relationship gets more complex. Now in addition to emitting that event when the button is pressed, the extension point is going to listen for events that tell it to update the state of that button (un-clicked, in-progress, success?, failure?). But what if they reload the page? Does the plugin also need to set the initial state of that icon on the Outline's page load to show that it's still copying? Does it disable all other copy buttons while that's happening? It's not just that we have to handle these situations, it's that the extension point API promises that we're offering to all future plugins has to grow these features to accommodate this use case.

    So my rough rule of thumb of plugin-friendliness is that the more complex an interaction is, the more we want to stuff it into a box that the plugin entirely controls. When we have an extension point where we might expect a bunch of plugins to make use of in a shared space (e.g. the copy button), we should keep that interface as simple as possible.

  14. ali-hugo commented on Dec 6, 2022

    @ali-hugo

    @ormsbee @bradenmacdonald @jmakowski1123

    Thanks for all your comments, both here and in Figma. You've given me a lot to work with!

    Dave:

    So my question is: Can we reduce the footprint of this feature so that there are fewer touch-points, without harming the usability of this feature?

    Yes - we will find a way! I'm going to try out a few options today. I'll let you know when I have something worth showing to you all.

    So my rough rule of thumb of plugin-friendliness is that the more complex an interaction is, the more we want to stuff it into a box that the plugin entirely controls.

    This is a helpful explanation. Thanks Dave!

    Braden:

    ...I would suggest removing the "Right-hand display of clipboard preview" since we already have same thing appearing in the header with the new clipboard icon.

    Makes sense. I'll remove the sidebar clipboard.

    I think the right side of Studio is so useless that I have trained myself to completely ignore everything that appears there :p

    Haha, good to know! What do you think of my idea to move the information about the start date, pacing type, checklists, and course highlight emails from the top of the screen to the sidebar (and remove everything else)? It looks cleaner to me. That said, the sidebar space might be better used for some of the future additions that @ormsbee mentioned (e.g. metadata tagging, insert-from-template, etc). Food for thought.

    For the paste buttons, I think the (?) icons are a bit distracting or inconsistent with the rest of the UI? We could still show the same explanatory popups when people hover their cursor over the disabled buttons, even without indicating it with the (?).

    The (?)'s bug me too, but I think removing them would introduce accessibility issues. See the "If we really have to set a button or input to disabled" section in this article. It would be great if we could run the wireframes by someone who knows a lot about accessibility; I am in no way an expert.

  15. brian-smith-tcril commented on Dec 6, 2022

    @brian-smith-tcril

    @ormsbee in response to

    Can we reduce the footprint of this feature so that there are fewer touch-points, without harming the usability of this feature?

    After looking through the mockups, I'm not too concerned about an overabundance of touch points here. A couple things come to mind though.

    One piece that seems like it might add some complexity is the paste buttons, but if we can isolate that logic into a paste button component we should be in decent shape. Studio could just say "render a paste button component here" and pass in a content type. The logic for if the button should render or not could live in that component (checking if we have that content type on the clipboard for example).

    Another part that could get complicated is paste previews. I'm not sure how much of a "too many touch points" problem that is, but it seems like it could add quite a bit of complexity.

    Overall, my concerns are less with how many places we're adding buttons, and more with how many different states we need to manage.

  16. ormsbee commented on Dec 6, 2022

    @ormsbee
    Author

    @brian-smith-tcril: Thank you for commenting–I know your understanding of frontend pluggability is much better than mine. FWIW, my concern isn't about short term implementation complexity, but long term issues around independently developing/maintaining a plugin over time, and maintaining backwards extension points in Studio as we go from release to release and the Studio UI evolves.

    Do you think my concerns there are overblown? When it comes to something like the "copy" button–is it fine if Studio lets plugins provide button components for all the rows where it has to be rendered in a page, and delegates behavior to the plugin? Does that have any implications on whether the plugin code is built during Studio frontend deployment or separately deployed?

  17. brian-smith-tcril commented on Dec 6, 2022

    @brian-smith-tcril

    Do you think my concerns there are overblown?

    Not at all! It's always good to think about how UX changes touch long term maintainability.

    is it fine if Studio lets plugins provide button components for all the rows where it has to be rendered in a page

    I don't see any issues there. We could build out a "plugin button container" or something like that and allow runtime configuration of what plugin buttons display where (with reasonable default values to the best of our abilities).

    Does that have any implications on whether the plugin code is built during Studio frontend deployment or separately deployed?

    Handling it as a separate deployment will probably add a bit of complexity, but it doesn't feel insurmountable to me.

  18. bradenmacdonald commented on Dec 6, 2022

    @bradenmacdonald
    Contributor

    What I've done in other apps is just allow plugins to inject arbitrary React components into pre-defined slots like per-item-action-toolbar, add-component-row etc. Then if the plugin wants a simple button, it's just a simple button, and if the plugin wants a fancy button with loading spinner and a related modal or rich tooltip, it can do that too. And of course, the plugin should be using the same component/pattern library as the MFE itself, so everything will still look cohesive.

    With such an approach, if there are enough slots defined in the UI, the plugin can integrate as thoroughly as shown in the original mockups without any code changes to the underlying MFE.

    However, openedx MFEs don't actually support plugins yet and are subject to refactoring that could lead to high maintenance costs if we go that route too early. So for now I agree that keeping the number of touchpoints minimal will make the implementation simpler.

  19. ormsbee commented on Dec 7, 2022

    @ormsbee
    Author

    BTW, in a conversation yesterday, @jristau1984 mentioned that the Course Outline page is a candidate for being re-implemented in the MFE in the coming months. I think the current UI for that is still mostly Backbone.js?

  20. changed the title [-]Wireframes for Phase 1[/-] [+]Wireframes for Copy/Paste[/+] on Feb 7, 2023
  21. jmakowski1123 commented on Feb 17, 2023

    @jmakowski1123

    Frames complete, 2/17.

  22. bradenmacdonald commented on Feb 17, 2023

    @bradenmacdonald
    Contributor

    @ali-hugo In response to your question on Figma, here's how block-specific errors are currently shown in Studio. I think there's also a "warning" version which is very similar but yellow instead of grey/orange.

    Screenshot 2023-02-17 at 1 58 31 PM

  23. ali-hugo commented on Feb 20, 2023

    @ali-hugo

    @bradenmacdonald Thanks! That's helpful.

    I think it's a good idea to use the default styling of inline comments for the MVP. I've asked Jenna and Jon to confirm (here in Figma).

    I think there's also a "warning" version which is very similar but yellow instead of grey/orange.

    The orange alerts in the wireframes are actually supposed to be warnings, not errors (Paragon uses red for errors and yellow for warnings; the only reason I made warnings orange was to tie in with the rest of the Studio interface). How much effort is it to change the colour of Studio's alerts? Would it make more sense to stick to Studio's default colours for the MVP (i.e. orange for errors and yellow for warnings)? FYI @jmakowski1123

  24. jmakowski1123 commented on Feb 21, 2023

    @jmakowski1123

    @ali-hugo I'd stick to the current default colors for now, assuming that they'll eventually get "fixed" whenever the 2U team prioritizes those Studio pages for paragon updates.

  25. ali-hugo commented on Feb 22, 2023

    @ali-hugo

    @jmakowski1123

    I'd stick to the current default colors for now

    Will do. I'll update the colours in the wireframes to reflect the current default colours.

    @bradenmacdonald

    I think there's also a "warning" version which is very similar but yellow instead of grey/orange.

    You're right. I just found an example in the docs:

    Screenshot 2023-02-22 at 14 46 40

    Updating the colours in Figma as we speak ;)


    EDIT:

    Colours updated to match Studio's defaults:

    • Danger = Orange
    • Warning = Yellow
    • Info = Blue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

epic

Type

No type

Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions