This project is mirrored from https://github.com/Ensembl/ensembl-client. Pull mirroring updated .
  1. 31 Oct, 2019 1 commit
  2. 20 Sep, 2019 1 commit
  3. 09 Sep, 2019 1 commit
  4. 09 Aug, 2019 1 commit
    • Imran Salam's avatar
      Make track panel state of species indepedent (#136) · 07975116
      Imran Salam authored
      * fix track panel state not remembered for each species
      
      * disable track panel bar icon click handler when track panel is closed
      
      * change track panel state shape to be more natural
      
      * make further improvements to the track panel state code
      
      * converting track panel dumb components to connected components
      
      * remove redundant comments
      
      * convert component using redux hooks to a connected component
      
      * remove unused browser open state
      
      * refactor track panel state based on PR suggestions
      
      * removed redundant FunctionComponent and OwnProps from track related components
      
      * add null check to active track panel selector
      
      * rename TrackType to TrackSet to be more meaningful
      
      * rename everything browser tab to track panel tab
      
      * remove premature optimisation hooks
      07975116
  5. 30 Jul, 2019 3 commits
    • Andrey Azov's avatar
      Fix tests for BrowserBar · 796fb58b
      Andrey Azov authored
      796fb58b
    • Andrey Azov's avatar
      Fix types in BrowserBar.test · 09a65b26
      Andrey Azov authored
      09a65b26
    • Andrey Azov's avatar
      Update the client to consume updated api endpoints · 20294ddb
      Andrey Azov authored
      - /api/ensembl_object namespace has changed to /api/object
      - /api/object/info parses region location and generates data for region focus object
      - ensembl_object_id field in the response has been renamed to object_id
      - /api/genome_search endpoint now accepts the exclude parameter
         (to exclude already selected genome id from search results)
          and the limit parameter (to limit the number of search matches in the response)
      - show gene coordinates in BrowserBar
      - extract formatter of genetic location into its own functino
      20294ddb
  6. 26 Jul, 2019 1 commit
    • Imran Salam's avatar
      Fix drawer state (#118) · 87353a13
      Imran Salam authored
      * make drawer state unique to species instance
      
      * fix drawer not closing when clicked on browser tab and browser image
      
      * make selectors return the genome specific values for drawer and some browser specific state properties
      
      * fix thunk type in drawer actions
      
      * refactor drawer state returned in reducer
      
      * fix wrong drawer open check in 4b8ec1b5
      
      * make more changes as suggested in code review
      
      * fix wrong thunk dispatch type in track panel actions
      
      * fix wrong value returned for selectedBrowserTab
      
      * remove unnecessary calc method
      
      * fix wrong value returned for selectedBrowserTab
      
      * fix correct track not being highlighted on selection
      
      * fix undefined returned by drawer selector
      
      * change drawerViewForGenome to drawerView to be more relevant
      
      * use calc for getting the browser width rather than 41px (needs to be in the same format as other width values)
      
      * fix broken test cases
      
      * add a comment that tells about the need for the calc format for browser animation
      
      * use the ChrLocations replacing the genome ChrLocation object type
      
      * use classname to append class names instead of manually doing it
      
      * create closeDrawer action as it is used in many places within the browser
      
      * batch multiple dispatches in drawer actions
      
      * fix key type of TrackItemColour enum
      87353a13
  7. 25 Jul, 2019 1 commit
    • Andrey Azov's avatar
      Browser messaging service (#108) · 2e33f236
      Andrey Azov authored
      - use postMessage api instead of dispatching custom events on canvas wrapper element
      - add actualChrLocation field to browser location state
        (shows where the browser is at any given moment)
      - add message counter that keeps track of the sequence of messages
        exchanged between GenomeBrowser and BrowserChrome.
      - move code for updating GenomeBrowser page url from Browser component to browserActions
      - update .gitignore rules regarding .vscode folder
      2e33f236
  8. 12 Jul, 2019 1 commit
  9. 03 Jul, 2019 1 commit
  10. 26 Jun, 2019 1 commit
  11. 01 Apr, 2019 1 commit
    • Andrey Azov's avatar
      Fix tests (#20) · c3f5a852
      Andrey Azov authored
      General:
      -  Update configuration files for running tests properly (tsconfig and webpack)
      
      Fix tests for the following components:
      -  Content
      - Root
      -  Launchbar
      - BrowserNavIcon
      - BrowserNavBar
      - Header (note: deleted a couple of tests)
      - HeaderButtons (note: skip test for calling the toggleAccount function; unsure about current behaviour of the component)
      - BrowserBar
      - App
      
      Delete useless tests:
      
      - Browser (remove snapshot test; will try to come up with more useful tests)
      - BrowserImage (current tests don’t do anything useful; proper testing will be difficult, because this component extensively uses custom events)
      - LaunchbarContainer
      - LaunchbarIcon (they were copy-pasted tests for LaunchbarContainer anyway)
      - browserActions and headerActions (tests were essentially testing the library we use to generate actions; and we shouldn't be testing third-party libraries)
      - headerReducer and browserReducer (reducers are very simple and hardly need testing)
      - browserSelectors and headerSelectors (test are very simple and testing things that Typescript will report anyway)
      c3f5a852
  12. 06 Feb, 2019 1 commit
  13. 04 Feb, 2019 1 commit