MEGAN RIEL-MEHAN
  • Home
  • Science Visualization
    • Cell feature explorer
    • Visual Guide to Human Stem Cells
    • HBV Animation
    • LDL and HDL models
    • Coral Cell Biology
    • Illustrations for Cell Design Labs
    • Cover Art - CRISPR
  • Research
    • Initial findings
    • Image processing
  • Civic Tech
    • Town Hall Project
    • Mutual Aid Hub
  • Fine Art
  • News
  • Methods and Notes
  • CV and Resume

Building navigation menu

11/8/2017

0 Comments

 
We are working on building a navigation element that has the following behaviors: 
1. A switcher that changes the top level list of elements to pick between a nested list and a flat list. 
2. When the list is nested, selecting an element will unfold the elements below it. 
3. When the user selects one of the nested elements it slides to the right to show the final set of element. 

Making ajax calls to data

1. Make action attached to metadata. 
    - make constant in constants using makeConstant. 
    - make action in actions 'requestAllMetadata'. 
2. On sidebar: in componentDidMount add requestAllMetadata as a prop. Add it to the mapping that will get passed up to the state. 
3. Redux-logic: middleware, provides hooks to validate before data goes into the store. 
    - everything that has to do with event business logic goes into logics. We are working in the metadata branch of state. 
    - using axios to make ajax calls. 
* inject parameter even when you don't need it so you can mock it in tests. 
0 Comments



Leave a Reply.

    Even though I no longer do bench work, I find the practice of recording "experiments" and notes to be helpful in keeping my thoughts and projects organized.  I also hope other people find useful things in here too. 

    Categories

    All
    Animation
    Cell Crawling
    HBV
    Heroku
    PGRN.org
    R
    Web Development

    RSS Feed

Download CV
Contact me:
  • Home
  • Science Visualization
    • Cell feature explorer
    • Visual Guide to Human Stem Cells
    • HBV Animation
    • LDL and HDL models
    • Coral Cell Biology
    • Illustrations for Cell Design Labs
    • Cover Art - CRISPR
  • Research
    • Initial findings
    • Image processing
  • Civic Tech
    • Town Hall Project
    • Mutual Aid Hub
  • Fine Art
  • News
  • Methods and Notes
  • CV and Resume