1. 09 Dec, 2019 1 commit
  2. 06 Dec, 2019 4 commits
  3. 05 Dec, 2019 9 commits
  4. 04 Dec, 2019 3 commits
  5. 03 Dec, 2019 6 commits
  6. 02 Dec, 2019 13 commits
  7. 28 Nov, 2019 4 commits
    • Robert Knight's avatar
      Move `AnnotationBody` and `AnnotationQuote` styles into own files · c0e0485e
      Robert Knight authored
       - Move the styles for these components out of `annotation.scss` and into
         separate files to follow project conventions.
      
       - Refactor style names to use BEM-ish naming conventions
      
      There are some exceptions here because annotation body and quote
      elements have styles that are customized when the annotation is a reply
      or when the annotation card is hovered. Those customizations are still
      in annotation.scss because they need to match both the parent and child
      components.
      c0e0485e
    • Robert Knight's avatar
      Remove AnnotationBody `hasContent` prop · 8be2569f
      Robert Knight authored
      Remove the `hasContent` prop because it can be inferred by looking at
      the `text` prop instead. If an annotation has been moderated, then the
      `text` will either be non-empty if the user is a moderator or it will be
      redacted and thus be empty if the user is not a moderator.
      8be2569f
    • Robert Knight's avatar
      Make `env NODE_ENV=production gulp watch` work · c033017a
      Robert Knight authored
      Make it easier to test a production build of the client locally by
      making `env NODE_ENV=production gulp watch` build code with production
      JS/CSS transforms applied but still load assets from the dev server
      instead of from https://cdn.hypothes.is.
      
      Add a flag to the function that builds the boot script indicating whether we
      are running the dev server, and take that into account when determining the
      asset path.
      c033017a
    • Robert Knight's avatar
      Wait for final stream to finish · bb0074ea
      Robert Knight authored
      When building the bundle, wait for the final stream to finish writing
      output, rather than the intermediate stream.
      bb0074ea