Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • G grading-harness
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 1
    • Merge requests 1
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • cse340cse340
  • grading-harness
  • Merge requests
  • !3

WIP: screenshots.py: Create single-file output

  • Review changes

  • Download
  • Email patches
  • Plain diff
Closed Henry Heino requested to merge pr/screenshot-diff-single-file into master Jan 17, 2022
  • Overview 1
  • Commits 2
  • Pipelines 0
  • Changes 10

This might fix the screenshot issue:

  • Currently only works on Firefox (and maybe Safari) because Chrome doesn't let users fetch/XMLHttpRequest the current file (when a file:// URL).
    • Works in Chrome if using python3 -m http.server to host.
  • Now only generates one screenshots output file, screenshots.html.
  • CSS-based & JS-based diff (both)
  • Code is still really messy & needs to be cleaned up
Edited Jan 17, 2022 by Henry Heino
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: pr/screenshot-diff-single-file