lacuna-technologies / clerkent Goto Github PK
View Code? Open in Web Editor NEWquickly and easily search for and download case law; automatically rename downloaded judgments
Home Page: https://clerkent.huey.xyz
License: Other
quickly and easily search for and download case law; automatically rename downloaded judgments
Home Page: https://clerkent.huey.xyz
License: Other
Another database for HK judgments
https://legalref.judiciary.hk/lrs/common/ju/judgment.jsp
Need to implement the alternative citation system: FACC 5/2016
Examples:
Consider hosting a sqlite db on GitHub and using https://github.com/phiresky/sql.js-httpvfs
Maybe at some later point. No need to over-engineer for now.
directives, regulations, etc.
e.g. Equality Act 2010, most people use EqA. Also I seached Equality Act 2010 and the link didn’t come up. Then searched land registration act and link didn’t come up again
Maybe CtrlK?
On some browsers, the install event is fired when there is a major update to the browser, even though the browser extension has not actually been reinstalled.
Should store a record of whether the welcome page has been shown and avoid re-showing it on browser updates.
Option to disable some jurisdictions and databases if irrelevant so searching is faster.
There can be up to 20 results right now which can be a bit overwhelming. Show up to 3, and hide the rest behind a more button.
If you modify your query, switch between case & legislation modes, or switch jurisdictions, Clerkent does not cancel the ongoing network request and simply sends a new one and ignores the results from the previous ones. It should actually cancel the outdated requests.
SGHC 01
and SGHC 1
)
Make Law.Case['links']
an array of link objects. Deprecate link
and pdf
attributes.
For judgments available only in RTF / HTML format, offer an option to download it in PDF format.
downloadPDF
should send the case back to BackgroundPage, scrape the case page, check for any existing PDF links, then attempt to convert the page to PDF
Google docs is problematic because it runs complex JS after page load, overwriting the highlighter. Provide option to re-run highlighter? Not a good idea to keep rechecking for citations because of the performance tax this would entail.
simple heuristics:
Re
, v.
, case
rules
, regulations
, act
, etc.E.g. [2011] EWHC 2287 (Ch)
This is currently mishandled.
and ECHR support in legislation
new jurisdiction required
When there is only 1 document available, Clerkent currently assumes it is a judgment, but it could also be an opinion, so Clerkent should not do this.
moving parts can make things appear to load faster
If a case citation is entered that clearly pertains to a certain jurisdiction, e.g. SLR, All ER, EWCA, AC, etc then automatically switch to that jurisdiction.
Example: Raj Kumar s/o Brisa Besnath v Public Prosecutor
Solution: sanitise generated filename
It should return [2018] SGCA 16. Also missing for [2018] SGCA 59
It is not straightforward to run a content script in the in-browser PDF viewer.
In Firefox, this has intentionally been made impossible, and working around this involves intercepting PDF requests, and serving up a custom-made PDF viewer with PDF.JS injected together with a custom content script.
In Chrome, although content scripts are not blocked from running per se, there is an intervening iframe and the content script needs to be injected into the iframe (i.e. all_frames
must be set to true
, or document.write
is needed).
Requires returning multiple search results
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.