Skip to content

Latest commit

 

History

History
78 lines (73 loc) · 2.32 KB

TODO.md

File metadata and controls

78 lines (73 loc) · 2.32 KB

Second version

Started on Oct 16, 2018

  • Use react-mock in tests
  • Remove hoisted vars and before/after cases
  • Refactor code preview component
  • Try react-testing-library
  • Split tests between RTL and Enzyme
    • Remove Cosmos fixture tests (superseded by react-mock)
    • Refactor styled-components test
    • Add URL for each test kind
    • Add URL for each test
  • Update project description
    • Update README
  • Visual facelift
    • Header
    • Remove file visibility toggling
    • Tweak file actions
    • Footer
      • Links to tech used
    • Update responsive breakpoints
  • Replace file system sorting
  • Make Next.js components load in Cosmos
  • Optimize search perf

First version

Started on Apr 24, 2018

  • Add "Click callback" tests
  • Add "Render text" tests
  • Add "Local state" tests
  • Add "Redux" tests
  • Add "React Router" tests
  • Add "XHR" tests
  • Add "Fetch" tests
  • Add "LocalStorage" tests
  • Add "styled-components" tests
  • Add "Context" tests
  • Colocate components with tests
  • Add ESLint
  • Config CircleCI
  • Colocate Cosmos proxies with tests
  • Add Flow
  • Create UI
    • Syntax highlight (with line highlight)
    • Sticky header
    • Highlight and create fixtures for all tests
    • Implement search
    • Add toggle between 'Plain Enzyme' and 'Cosmos & Enzyme'
    • Improve search
      • Keyboard shortcuts
      • No results screen
      • Show best matches first
    • Add links next to section titles
    • Add file actions to copy and open code in GH
    • Create About modal
    • Footer
    • Design no results screen
    • Adapt header design on mobile
    • Tweak colors
  • Load test title & description from README pages
  • Write copy
    • Info overlay
      • Opinionated test style (integration / abstract libs)
      • Cosmos vs non-Cosmos
    • Test READMEs
  • Create build script
    • Add Next.js
      • Reconcile Babel config between Next, Cosmos and Jest
      • Reconcile webpack config between Next and Cosmos
      • Restructure files for more clarity
    • Read tests from disk at compile time
    • Point to latest commit SHA
  • PUBLISH
  • Create fixtures for UI components
  • Config Playground for tests