Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pdf export Functionality #38

Open
wants to merge 13 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .env
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
REACT_APP_API_URL=https://api.harmonydata.ac.uk
REACT_APP_API_URL=http://localhost:8000
REACT_APP_API_EXAMPLES=$REACT_APP_API_URL/text/examples
REACT_APP_API_PARSE=$REACT_APP_API_URL/text/parse
REACT_APP_API_MATCH=$REACT_APP_API_URL/text/match
REACT_APP_API_VERSION=$REACT_APP_API_URL/info/version
REACT_APP_API_MODELS=$REACT_APP_API_URL/info/list-models
REACT_APP_ABSOLUTE_URL_PREFIX=https://harmonydata.github.io
REACT_APP_ABSOLUTE_URL_PREFIX=http://localhost:8000
4 changes: 2 additions & 2 deletions .env.development
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
REACT_APP_API_URL=https://harmonystagingtmp.azurewebsites.net/
REACT_APP_API_URL=http://localhost:8000
REACT_APP_API_EXAMPLES=$REACT_APP_API_URL/text/examples
REACT_APP_API_PARSE=$REACT_APP_API_URL/text/parse
REACT_APP_API_MATCH=$REACT_APP_API_URL/text/match
REACT_APP_API_VERSION=$REACT_APP_API_URL/info/version
REACT_APP_API_MODELS=$REACT_APP_API_URL/info/list-models
REACT_APP_ABSOLUTE_URL_PREFIX=https://harmonydata.github.io
REACT_APP_ABSOLUTE_URL_PREFIX=http://localhost:8000
193 changes: 193 additions & 0 deletions coverage/clover.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,193 @@
<?xml version="1.0" encoding="UTF-8"?>
<coverage generated="1733679768686" clover="3.2.0">
<project timestamp="1733679768686" name="All files">
<metrics statements="181" coveredstatements="16" conditionals="56" coveredconditionals="4" methods="56" coveredmethods="4" elements="293" coveredelements="24" complexity="0" loc="181" ncloc="181" packages="1" files="2" classes="2"/>
<file name="App.js" path="/Users/vc/Desktop/17313/app/src/components/App.js">
<metrics statements="149" coveredstatements="0" conditionals="48" coveredconditionals="0" methods="46" coveredmethods="0"/>
<line num="42" count="0" type="stmt"/>
<line num="43" count="0" type="stmt"/>
<line num="44" count="0" type="stmt"/>
<line num="45" count="0" type="stmt"/>
<line num="46" count="0" type="stmt"/>
<line num="51" count="0" type="stmt"/>
<line num="52" count="0" type="stmt"/>
<line num="59" count="0" type="stmt"/>
<line num="60" count="0" type="stmt"/>
<line num="61" count="0" type="stmt"/>
<line num="62" count="0" type="stmt"/>
<line num="63" count="0" type="stmt"/>
<line num="64" count="0" type="cond" truecount="0" falsecount="2"/>
<line num="67" count="0" type="stmt"/>
<line num="68" count="0" type="stmt"/>
<line num="70" count="0" type="cond" truecount="0" falsecount="2"/>
<line num="71" count="0" type="stmt"/>
<line num="73" count="0" type="stmt"/>
<line num="74" count="0" type="stmt"/>
<line num="75" count="0" type="stmt"/>
<line num="79" count="0" type="stmt"/>
<line num="80" count="0" type="cond" truecount="0" falsecount="2"/>
<line num="84" count="0" type="stmt"/>
<line num="87" count="0" type="stmt"/>
<line num="89" count="0" type="cond" truecount="0" falsecount="2"/>
<line num="94" count="0" type="stmt"/>
<line num="95" count="0" type="stmt"/>
<line num="96" count="0" type="stmt"/>
<line num="98" count="0" type="stmt"/>
<line num="102" count="0" type="cond" truecount="0" falsecount="2"/>
<line num="107" count="0" type="stmt"/>
<line num="108" count="0" type="stmt"/>
<line num="110" count="0" type="stmt"/>
<line num="111" count="0" type="stmt"/>
<line num="115" count="0" type="stmt"/>
<line num="116" count="0" type="cond" truecount="0" falsecount="2"/>
<line num="117" count="0" type="stmt"/>
<line num="118" count="0" type="stmt"/>
<line num="120" count="0" type="stmt"/>
<line num="122" count="0" type="stmt"/>
<line num="123" count="0" type="stmt"/>
<line num="126" count="0" type="stmt"/>
<line num="130" count="0" type="stmt"/>
<line num="131" count="0" type="stmt"/>
<line num="133" count="0" type="cond" truecount="0" falsecount="2"/>
<line num="139" count="0" type="stmt"/>
<line num="140" count="0" type="stmt"/>
<line num="142" count="0" type="stmt"/>
<line num="146" count="0" type="stmt"/>
<line num="150" count="0" type="stmt"/>
<line num="152" count="0" type="cond" truecount="0" falsecount="2"/>
<line num="153" count="0" type="stmt"/>
<line num="154" count="0" type="stmt"/>
<line num="155" count="0" type="stmt"/>
<line num="161" count="0" type="stmt"/>
<line num="162" count="0" type="cond" truecount="0" falsecount="2"/>
<line num="163" count="0" type="stmt"/>
<line num="167" count="0" type="stmt"/>
<line num="168" count="0" type="stmt"/>
<line num="169" count="0" type="stmt"/>
<line num="170" count="0" type="stmt"/>
<line num="171" count="0" type="stmt"/>
<line num="172" count="0" type="stmt"/>
<line num="173" count="0" type="stmt"/>
<line num="175" count="0" type="stmt"/>
<line num="176" count="0" type="stmt"/>
<line num="179" count="0" type="stmt"/>
<line num="180" count="0" type="stmt"/>
<line num="185" count="0" type="stmt"/>
<line num="186" count="0" type="cond" truecount="0" falsecount="2"/>
<line num="189" count="0" type="stmt"/>
<line num="191" count="0" type="stmt"/>
<line num="199" count="0" type="stmt"/>
<line num="200" count="0" type="stmt"/>
<line num="201" count="0" type="stmt"/>
<line num="202" count="0" type="stmt"/>
<line num="204" count="0" type="cond" truecount="0" falsecount="2"/>
<line num="221" count="0" type="stmt"/>
<line num="222" count="0" type="stmt"/>
<line num="223" count="0" type="stmt"/>
<line num="224" count="0" type="stmt"/>
<line num="225" count="0" type="stmt"/>
<line num="226" count="0" type="stmt"/>
<line num="227" count="0" type="stmt"/>
<line num="228" count="0" type="stmt"/>
<line num="229" count="0" type="stmt"/>
<line num="231" count="0" type="stmt"/>
<line num="234" count="0" type="stmt"/>
<line num="235" count="0" type="stmt"/>
<line num="240" count="0" type="stmt"/>
<line num="241" count="0" type="stmt"/>
<line num="243" count="0" type="stmt"/>
<line num="245" count="0" type="stmt"/>
<line num="246" count="0" type="stmt"/>
<line num="247" count="0" type="stmt"/>
<line num="261" count="0" type="stmt"/>
<line num="265" count="0" type="cond" truecount="0" falsecount="2"/>
<line num="266" count="0" type="stmt"/>
<line num="268" count="0" type="cond" truecount="0" falsecount="2"/>
<line num="269" count="0" type="stmt"/>
<line num="271" count="0" type="stmt"/>
<line num="273" count="0" type="stmt"/>
<line num="275" count="0" type="stmt"/>
<line num="279" count="0" type="cond" truecount="0" falsecount="2"/>
<line num="280" count="0" type="stmt"/>
<line num="282" count="0" type="cond" truecount="0" falsecount="2"/>
<line num="283" count="0" type="stmt"/>
<line num="285" count="0" type="stmt"/>
<line num="288" count="0" type="stmt"/>
<line num="289" count="0" type="stmt"/>
<line num="291" count="0" type="stmt"/>
<line num="292" count="0" type="stmt"/>
<line num="295" count="0" type="stmt"/>
<line num="296" count="0" type="stmt"/>
<line num="298" count="0" type="stmt"/>
<line num="299" count="0" type="stmt"/>
<line num="301" count="0" type="stmt"/>
<line num="302" count="0" type="stmt"/>
<line num="303" count="0" type="stmt"/>
<line num="304" count="0" type="stmt"/>
<line num="305" count="0" type="stmt"/>
<line num="306" count="0" type="stmt"/>
<line num="311" count="0" type="stmt"/>
<line num="312" count="0" type="stmt"/>
<line num="313" count="0" type="stmt"/>
<line num="325" count="0" type="stmt"/>
<line num="326" count="0" type="stmt"/>
<line num="331" count="0" type="stmt"/>
<line num="332" count="0" type="stmt"/>
<line num="335" count="0" type="stmt"/>
<line num="336" count="0" type="stmt"/>
<line num="337" count="0" type="stmt"/>
<line num="338" count="0" type="stmt"/>
<line num="339" count="0" type="stmt"/>
<line num="340" count="0" type="stmt"/>
<line num="341" count="0" type="stmt"/>
<line num="342" count="0" type="stmt"/>
<line num="344" count="0" type="stmt"/>
<line num="349" count="0" type="stmt"/>
<line num="351" count="0" type="stmt"/>
<line num="352" count="0" type="stmt"/>
<line num="364" count="0" type="stmt"/>
<line num="366" count="0" type="stmt"/>
<line num="370" count="0" type="stmt"/>
<line num="371" count="0" type="stmt"/>
<line num="498" count="0" type="stmt"/>
<line num="499" count="0" type="stmt"/>
<line num="577" count="0" type="stmt"/>
<line num="578" count="0" type="stmt"/>
</file>
<file name="ResultsOptions.js" path="/Users/vc/Desktop/17313/app/src/components/ResultsOptions.js">
<metrics statements="32" coveredstatements="16" conditionals="8" coveredconditionals="4" methods="10" coveredmethods="4"/>
<line num="31" count="3" type="stmt"/>
<line num="32" count="3" type="stmt"/>
<line num="33" count="3" type="stmt"/>
<line num="34" count="3" type="stmt"/>
<line num="36" count="3" type="stmt"/>
<line num="37" count="3" type="stmt"/>
<line num="38" count="3" type="stmt"/>
<line num="41" count="3" type="stmt"/>
<line num="42" count="3" type="cond" truecount="1" falsecount="1"/>
<line num="43" count="0" type="stmt"/>
<line num="44" count="0" type="stmt"/>
<line num="45" count="0" type="stmt"/>
<line num="49" count="3" type="stmt"/>
<line num="69" count="0" type="stmt"/>
<line num="72" count="0" type="stmt"/>
<line num="73" count="0" type="stmt"/>
<line num="74" count="0" type="stmt"/>
<line num="87" count="0" type="stmt"/>
<line num="128" count="0" type="stmt"/>
<line num="129" count="0" type="stmt"/>
<line num="130" count="0" type="stmt"/>
<line num="146" count="0" type="stmt"/>
<line num="147" count="0" type="stmt"/>
<line num="148" count="0" type="stmt"/>
<line num="170" count="0" type="cond" truecount="0" falsecount="2"/>
<line num="175" count="0" type="stmt"/>
<line num="185" count="2" type="stmt"/>
<line num="186" count="2" type="stmt"/>
<line num="187" count="2" type="cond" truecount="2" falsecount="0"/>
<line num="192" count="2" type="stmt"/>
<line num="194" count="1" type="stmt"/>
<line num="195" count="1" type="stmt"/>
</file>
</project>
</coverage>
3 changes: 3 additions & 0 deletions coverage/coverage-final.json

Large diffs are not rendered by default.

Loading