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

[2012-06-08] "Insert from web" (oEmbed): Validation, progress and failure indicator, fix alignment #456

Closed
silverstripe-issues opened this issue Apr 3, 2013 · 3 comments

Comments

@silverstripe-issues
Copy link

created by: @chillu (ischommer)
created at: 2012-06-08
original ticket: http://open.silverstripe.org/ticket/7437


  • Validate URL format, and show validation error if failing
  • Show failure notification if URL can't be resolved (currently only done as generic CMS growl overlay, too easy to miss)
  • When adding a URL, the viewfile action takes a couple of seconds to complete, since its calling an external service. Add a spinner next to the URL text field.
  • Expand view of loaded file info automatically, there's no point in leaving it collapsed
  • Move "plus" icon into same line as URL text field
  • Clear out URL field after successful insertion, to more clearly communicate that multiple inserts can take place
@simonwelsh simonwelsh added this to the 3.2 milestone Mar 16, 2014
@simonwelsh simonwelsh added 3.1 and removed 3.1 labels Mar 16, 2014
@sminnee sminnee modified the milestones: 4.0, 3.2 Jul 13, 2015
@hafriedlander
Copy link

Some of these are still valid, but some aren't

Still valid:

  • URL needs validating
  • Failure badly handled
  • Expended view by default *
  • Plus icon placement is weird *
  • URL text could be cleared after insertion *

No longer valid:

  • Spinner is present

New:

  • On failure, spinner remains spinning
  • means optional (I'd be happy with just fixing the new issue and maybe adding some simple client side validation). @clarkepaul What do you feel about default collapsed / open info box after insertion?

@clarkepaul
Copy link
Contributor

clarkepaul commented May 3, 2016

I'm fine with it being collapsed, you can also add multiple items. This whole thing hasn't been implemented to a design, although I think there is a few CSS fixes which would be good on top of what has been mentioned earlier.

Random space at top of modal
Alignment of "Add url" action
Toggle down arrow needs a line-height of 16px applied
Random divider lines could be removed
pasted_image_3_05_16__4_26_pm

Space at top is captured here silverstripe/silverstripe-asset-admin#134

@clarkepaul
Copy link
Contributor

This has already been implemented, should be fixed by silverstripe/silverstripe-framework#6480

@clarkepaul clarkepaul modified the milestones: 4.0.0-beta1, 4.0.0 May 8, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants