- 17 Jun, 2016 7 commits
-
-
Robert Knight authored
- Convert <simple-search> from CoffeeScript to JS - Implement a new set of tests using the createDirective() helper
-
Robert Knight authored
- Convert the <simple-search> directive to a modern component-style directive which uses one-way bindings and events rather than two-way bindings. This makes it consistent with other components in the app. - Avoid duplicating the search filter state in multiple places but store it only in the Redux store and update it via an action. The tests for `simple-search` have not been updated in this commit because they are going to be replaced with a new set using the `createDirective()` helper in the next commit.
-
Robert Knight authored
Bugfix: whole page annotation highlights
-
Alice Wyan authored
-
Robert Knight authored
Repurposed About panel for Help
-
Robert Knight authored
Underline links in the Help panel text to make them standout and make the `/docs/help` URL work when the app is served from browser extensions extension by prefixing it with the service URL. Also remove extraneous spaces from around the 'Send us a message' text.
-
Nick Stenning authored
Highlight the specific reply on standalone annotation pages for replies
-
- 16 Jun, 2016 6 commits
-
-
Lena Gunn authored
-
Sean Hammond authored
Reimplement NIPSA operations using NipsaService
-
Christof Dorner authored
Record approximate time-in-queue info for "realtime"
-
Christof Dorner authored
Add some timers to the streamer code
-
Robert Knight authored
Fixes #3264 with whitespace: no-wrap and flex-shrink: 0
-
Robert Knight authored
On the standalone pages for replies, indicate the reply which the page is for by lightening the usernames and bodies of other annotations in the thread and darkening the username and body of the annotation whose ID appears in the URL.
-
- 15 Jun, 2016 9 commits
-
-
Lena Gunn authored
-
Christof Dorner authored
Disable a contradictory pep257 rule
-
Robert Knight authored
Adds hashtag #annotated to web intent
-
Robert Knight authored
Fix a type error where annotation objects rather than IDs were passed to the streamer configuration on standalone annotation pages.
-
Lena Gunn authored
-
Robert Knight authored
When displaying a standalone annotation page for replies, display the entire conversation thread which that reply is in, including the original annotation. Previously standalone annotation pages for replies were broken because only the reply itself was fetched, the the existence of the top-level annotation was inferred from the reply's `references` field but because it was missing, a blank "Message not available" card was shown instead. Showing the entire thread fixes this problem and also allows the user to see the complete context of the conversation. Also refactor the tests to be less tied to the implementation details of the class and expressed more in terms of what the view does from a user's point of view. Fixes #3367
-
Ben Zichettello authored
-
Sean Hammond authored
Add a NIPSA service to replace h.nipsa.logic
-
Nick Stenning authored
Allow admins to toggle specific features for a features cohort
-
- 13 Jun, 2016 9 commits
-
-
Ben Zichettello authored
-
Robert Knight authored
`selections()` tried to listen for a 'ready' event on the DOM Document object. The 'ready' event however is jQuery-specific however so that never gets triggered. Instead change the `selections()` function to perform an initial check for a selection on the next tick and emit a null|DOMRange. Fixes #3452
-
Robert Knight authored
Make the styling of quoted snippets of the page consistent with the styling of block quotes in annotation bodies. The styling for `<del>` and `<ins>` elements in quotes has been removed because it is not currently used. Fixes #3435
-
Nick Stenning authored
Load annotations from DB for /api/search
-
Robert Knight authored
Set the annotation cursor to a pointer for annotation cards to indicate that it is clickable (it scrolls the page to that annotation) except for the body which has a text cursor to indicate that the text is selectable.
-
Robert Knight authored
Several places in the <annotation> component assumed that the `tags` field was an array, as did <tag-editor>. The `tags` and `text` fields are always set by the server for annotations received from the API but are not set by Annotator when creating new annotations in the page. It would be better to initialize all of the required fields for annotations when they are loaded into the app rather than in the <annotation> directive. For now however keep the initialization of all required fields in the same place. This fixes an error when saving new annotations.
-
Christof Dorner authored
Do not use query property in Feature.{all,remove_old_flags}
-
Christof Dorner authored
Do not use query property in Subscriptions.get_subscriptions_for_uri
-
Christof Dorner authored
Remove query property usage in h.groups
-
- 10 Jun, 2016 9 commits
-
-
Nick Stenning authored
Extract tag editor into separate component and update ng-tags-input
-
Robert Knight authored
This fixes some issues with Angular 1.5.x. See https://github.com/mbenford/ngTagsInput/blob/master/CHANGELOG.md Fixes #3324
-
Robert Knight authored
As part of an effort to simplify the <annotation> directive and make testing easier, split this out.
-
Sean Hammond authored
Pg cleanup
-
Robert Knight authored
Add options page to extension, allow disabling badge
-
Robert Knight authored
The idiomatic way to create derived data structures from data in the Redux state store is to do: derivedData = transform(select(store.getState())) Where the `select` function extracts the relevant fields from the state and the `transform` function then computes the derived data. Both `select` and `transform` can be trivially memoized to avoid unnecessary recalculations. This simplifies `root-thread` by avoiding inheritance from EventEmitter and in future will make it easier to avoid rebuilding the thread if none of the relevant application state has changed.
-
Sean Hammond authored
Do not use query property in User.get_by_username
-
Nick Stenning authored
Extract timestamp out into its own component
-
Robert Knight authored
The util.createDirective() test helper assumes that directives have controllers and reports an error if it fails to find one. The simplest solution is just to add no-op controllers to the affected directives.
-