ccs-amsterdam / amcat4client Goto Github PK
View Code? Open in Web Editor NEWJS Client for AmCAT4
Home Page: https://amcat4client.vercel.app
JS Client for AmCAT4
Home Page: https://amcat4client.vercel.app
Get list of (python) script plugins from server, allow user to pick script, get options from server, let user fill in options, get results, display appropriately (e.g. list / table / qraph / custom html / custom figure)
Allow user to choose aggregation axes and possibly bins, show result as table
Allow users to pick graph type ( line/bar and/or presets like "results over time"), allow user to pick axes, show results as graph
When opening the client (summary page), it seems to also query an aggregate per day (perhaps to get total # of hits?) next to the proper aggregate per
When authentication is enabled and one tries access a specific index with guest access (e.g., http://localhost/h/localhost%2Famcat/i/state_of_the_union/query), this screen is shown:
Clicking the button does not do anything (the browser console also does not show any errors). To resolve it, the user has to manually navigate to the amcat4client address (in this case http://localhost/), log in as guest and can then access the original URL.
For existing non-text columns, offer a useful filter (e.g. date range, medium picker dropdown). Probably some sort of 'add filter' button next to the query bar?
In the filter bar, if a keyword field has more than N options it shows only the top-N
Check if 'our' old plugin still works so we get hits per documents for a query
To reproduce:
we need them!
It would be nice to allow an index to be used without login (presumably as reader or metareader) eg to expose/share a dataset
After changing a query it now immediately kiss the results, but if that takes longer than eg 1 second it's not obvious that it's actually peeing the new query. Some sort of loading indicator would be nice!
Currently there are some interactions between the queryscript business logic and the display of results. I think it would be good if results are 'self contained' in that they contain the metadata needed to display them and interact with them, including table structure, clicking to document details (#5), and pagination.
So every result should be structured to have 'metadata' and 'results' keys, where the metadata contains all needed information on columns, pagination, possible actions, etc.
replacement for amcat3 articlesets. tags are a normal elasticsearch field, but it would be good to give them some interface support:
Add extra query bar for e.g. line graph with multiple queries
Presumably because the default time interval is per week?
Solution maybe to change the default time interval to year, or to make it dynamic based on the data range (like in the summary)
In the documents result screen, click on an article to get a (modal screen with?) the article details and text
replacement for amcat3 articlesets. tags are a normal elasticsearch field, but it would be good to give them some interface support:
Allow user to save a query as a stable url. Most useful if we can guarantee immutable sets
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.