-
Notifications
You must be signed in to change notification settings - Fork 40
[IN-71][EOSF] Add citation picker to citation-widget #331
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
Merged
alexschiller
merged 14 commits into
CenterForOpenScience:release/next-interfaces
from
hmoco:feature/citation-widget
Feb 9, 2018
Merged
Changes from all commits
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
66050b1
The begginings of the widget
hmoco 4061394
Attempt to add some debouncing to the citation-widget
hmoco a26afb7
Merge branch 'develop' of http://github.com/CenterForOpenScience/embe…
hmoco a57cbb6
Add dependencies, debounce logic, styling:
hmoco 815cce2
update README.md
hmoco 0c3618d
Add style.css file
hmoco f3ac9ae
Add more messaging, find by short_titles as well
hmoco 309eb98
Merge branch 'develop' of http://github.com/CenterForOpenScience/embe…
hmoco dd60bcf
Remove redundant calls to get the citation link, lint
hmoco e66c1fb
Refactor to use tasks properly, don't allow more than 100 submissions…
hmoco f0ca711
Clear up the more language
hmoco df4ab38
Remove unused stylesheet
hmoco 024e6a3
Merge branch 'develop' of http://github.com/CenterForOpenScience/embe…
hmoco 92841df
Remove duplicate, add lockfile, clean
hmoco File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,4 @@ | ||
| .formatted-citation { | ||
| white-space: pre-wrap; | ||
| word-break: break-word; | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,8 +1,24 @@ | ||
| <div class="citation-widget"> | ||
| <div class="f-w-xl">APA</div> | ||
| <span>{{apa}} </span> | ||
| <div class="f-w-xl m-t-md">MLA</div> | ||
| <span> {{mla}} </span> | ||
| <div class="f-w-xl m-t-md">Chicago</div> | ||
| <span> {{chicago}} </span> | ||
| <div> | ||
| <div id="citationList" class="m-b-md"> | ||
| <div class="f-w-xl">APA</div> | ||
| <span> {{apa}} </span> | ||
| <div class="f-w-xl m-t-md">MLA</div> | ||
| <span> {{mla}} </span> | ||
| <div class="f-w-xl m-t-md">Chicago</div> | ||
| <span> {{chicago}} </span> | ||
| </div> | ||
| <p><strong>Get more citations</strong></p> | ||
| {{#power-select | ||
| search=(perform findStyles) | ||
| selected=selectedStyle | ||
| loadingMessage="Searching..." | ||
| noMatchesMessage="No matches found." | ||
| searchMessage="Please enter a few characters" | ||
| onchange=(action 'selectStyle') | ||
| renderInPlace=true | ||
| as |style| | ||
| }} | ||
| {{style.attributes.title}} | ||
| {{/power-select}} | ||
| <pre id="citationText" class="formatted-citation">{{citationText}}</pre> | ||
| </div> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Did you mean to have
ember-concurrencytwice here in the same section?Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nope! fixed, good catch