Page MenuHomePhabricator

Add Citoid support to ProveIt
Closed, ResolvedPublic0 Estimated Story Points

Description

Citoid is a service that allows generating a citation from a URL.

See also https://tools.wmflabs.org/refill/

Event Timeline

Sophivorus triaged this task as Medium priority.Oct 14 2016, 6:49 PM
Jdforrester-WMF renamed this task from Add Citoid support to Add Citoid support to ProveIt.Oct 26 2016, 8:09 PM

I just merged my own implementation of this functionality (https://gerrit.wikimedia.org/r/#/c/357676/) hope you like it! I will leave this task open for a while to deal with any bugs or requests.

Screen Shot 2017-06-07 at 5.52.43 PM.png (1,280×800 px, 338 KB)

Screen Shot 2017-06-07 at 5.52.45 PM.png (1,280×800 px, 348 KB)

@Sophivorus yeah! It is really cool function. But I think we need to add "Button" instead of "Press Enter".

Also, CitoId can auto-select a template. In my opinion ProveIt must have this functionality.

@Iniquity I agree, the current interface isn't the best. Design proposals welcome!

As to the auto-select template, I agree too, and I have an implementation planned, will be up soon!

@Iniquity Definitely better than the current solution! Thanks, if we don't come up with a better one, that'll be it.

@Sophivorus, thanks:) Maybe someone have the better idea :) For example 'Icon' instead of 'text'.

https://gerrit.wikimedia.org/r/#/c/361694/

I added a button to the interface as you suggested. However, I had trouble making it look like you designed it, because doing so would require adding a third column to the reference table, and colspan="2" to every other field. In the end I thought that complicating the code that much wasn't worth it, so I settled for a floating button with a basic style, which in my opinion looks decent in this context. I also applied this button style to the "Today" button, making the overall look of the gadget a little bit more consistent.

Finally, I did some CSS changes to the List and Add tabs. I hope you like them!

@Sophivorus yeap! I like your button, but please, can you delete the tab's border radius? :)

Sophivorus claimed this task.