Commit graph

5792 commits

Author SHA1 Message Date
Miha Mencin ab038ffdf7 SCI-3649 adding catalog number, fixing up the design a bit 2019-07-02 19:47:05 +02:00
Jure Grabnar 692a5aff15
Prepare styled listing of protocols [SCI-3535] (#1870)
Prepare styled listing of protocols [SCI-3535]
2019-06-28 12:59:50 +02:00
Jure Grabnar ebbb36cc6d Remove border from the import button 2019-06-28 11:32:47 +02:00
Jure Grabnar 8146a6a42c Assign name = position if protocolsIO step has no name 2019-06-28 11:29:03 +02:00
Jure Grabnar 5430fb311d Hound fixes 2019-06-28 10:41:20 +02:00
Jure Grabnar c10428cd2a Fix sorting buttons not applying params 2019-06-28 08:55:27 +02:00
Jure Grabnar 1a9fca87d2 Fix non-existent protocol-card in preview banner 2019-06-28 08:49:12 +02:00
Jure Grabnar 149f45f4fc Hound fixes 2019-06-28 02:31:25 +02:00
Jure Grabnar bc4b07cc0f Refactor hardcoded protocol_source in SearchService 2019-06-28 02:26:31 +02:00
Jure Grabnar 9be4fc2470 Fix tests 2019-06-28 02:19:06 +02:00
Jure Grabnar 7fb696cf48 Fix unclickable import modal 2019-06-28 02:00:05 +02:00
Jure Grabnar 03b81400a9 Add timeout to search 2019-06-28 01:50:52 +02:00
Jure Grabnar 1ccabf62b3 Add preview banner in external protocols 2019-06-28 01:38:33 +02:00
Jure Grabnar 81695665c7 Add hover effect on the card 2019-06-28 00:47:08 +02:00
Jure Grabnar d3afcbed50 Style card view on external protocols
Closes SCI-3535
2019-06-28 00:43:05 +02:00
Jure Grabnar 7fb650a125 Change click -> onchange event for sort_by buttons 2019-06-27 22:56:38 +02:00
Jure Grabnar 0a77cedaf8 Fix sorting of external protocols and start showing results 2019-06-27 22:48:56 +02:00
Jure Grabnar 8338892fc6 Update external protocols form to include sort_by 2019-06-27 21:26:28 +02:00
Urban Rotnik 51c25ba0af
Merge pull request #1866 from urbanrotnik/ur-sci-3564-import-protocol-modal
Import protocol modal with preview [SCI-3564] & [SCI-3568]
2019-06-27 17:31:24 +02:00
Urban Rotnik 9cb4454537 New implementation for attachments creation 2019-06-27 17:02:06 +02:00
Urban Rotnik 1fd0ca6795 Add steps preview 2019-06-27 16:46:02 +02:00
Urban Rotnik 2761079479 Add modal for import 2019-06-27 16:46:02 +02:00
Jure Grabnar 82fb8ebd2e
Implement protocols.io error handling (#1869)
Implement protocols.io error handling
2019-06-27 16:35:55 +02:00
Jure Grabnar 7fc1243e48 Add ProtocolNormalizer errors tests 2019-06-27 14:59:03 +02:00
Jure Grabnar 06b8d1fda7 Update ApiClient tests
Closes SCI-3434
2019-06-27 14:54:19 +02:00
Jure Grabnar 8a7a2eb097 Add StandardError checking for ProtocolNormalizer 2019-06-27 10:12:00 +02:00
Jure Grabnar d31f978e55 DRY up protocols importer services errors 2019-06-27 10:11:36 +02:00
Jure Grabnar 86bc69e510 Simplify V3 errors structure 2019-06-27 09:42:21 +02:00
Jure Grabnar 69d53ac90a
When a user clicks on a protocol, protocol preview should be re… (#1850)
When a user clicks on a protocol, protocol preview should be rendered in the main pane [SCI-3563]
2019-06-26 20:06:49 +02:00
Jure Grabnar 7d71608166 Add spinner to external preview 2019-06-26 19:43:35 +02:00
Mojca Lorber 9fd83d54a0 Put network error handeling into api and refactor errors 2019-06-26 14:04:03 +02:00
Jure Grabnar b2b752fcf8 Fix hound complaints 2019-06-19 23:37:04 +02:00
Jure Grabnar fcd42a4178 Fix border radius around active sort button 2019-06-19 22:59:30 +02:00
Jure Grabnar b3c3b68dc2 Add external preview to External Protocols tab
Closes SCI-3563
2019-06-19 22:54:20 +02:00
Urban Rotnik 3bad945e97
Merge pull request #1848 from urbanrotnik/ur-sci-3541-fixing-wrong-imports
Required fields not imported  [SCI-3541]
2019-06-19 11:24:55 +02:00
Urban Rotnik bf6041e13d Update sanitization of html descriptions 2019-06-19 11:05:22 +02:00
Urban Rotnik 7e69375016 Drop header column and row when extract tables 2019-06-19 10:47:38 +02:00
Urban Rotnik 805f98374c
Merge pull request #1846 from urbanrotnik/ur-sci-3548-additional-fields
Add Warnings, Before start and Guidelines to protocol description [SCI-3548]
2019-06-19 09:22:26 +02:00
Urban Rotnik 2a579f2240 Add Warnings, Before start and Guidelinese to protocol description 2019-06-19 09:02:42 +02:00
Mojca Lorber ebcaa4b014 Implement protocols.io error handling for api client and normalizer 2019-06-18 14:01:57 +02:00
Urban Rotnik c691ad80b5 Add fields to query params for ApiClient 2019-06-17 12:24:16 +02:00
Urban Rotnik 88d96c0938 Use service in controller 2019-06-17 12:24:15 +02:00
Urban Rotnik 7fad5fc594 Add search service and normalizer for list 2019-06-17 12:24:15 +02:00
Jure Grabnar 4f6397b5b9 Add form to external_sources#new action
Closes SCI-3532
2019-06-17 12:24:15 +02:00
Jure Grabnar c8b8bcffdb Add external_protocols#show action 2019-06-17 12:24:14 +02:00
Jure Grabnar f7c6f78925 Add external_protocols#index action 2019-06-17 12:24:14 +02:00
Jure Grabnar 2a61075156 Add ExternalProtocols#create action and tests 2019-06-17 12:24:14 +02:00
Jure Grabnar 9baa66c998 Refactor OnlineSources -> ExternalProtocols 2019-06-17 12:24:13 +02:00
Jure Grabnar eb0d677a36 Refactor pio_protocol -> built_protocol 2019-06-17 12:24:13 +02:00
Jure Grabnar 94e7fe1e6c OnlineSourcesController skeleton and #new action tested 2019-06-17 12:24:13 +02:00