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

[dataquery] New Data Query Module #8907

Merged
merged 144 commits into from
Dec 11, 2023
Merged

Conversation

driusan
Copy link
Collaborator

@driusan driusan commented Oct 2, 2023

This implements a completely new, couchdb free data query module based on the LORIS data query framework and the API introduced in PR#8268.

This (Draft) PR merges all the dependent PRs but will be continually re-based and taken out of draft mode once it is narrowed down to only the new module's javascript. You can review this PR, but if it's not part of the module's typescript please put the comment on the appropriate blocking PR instead.

In the new module, all queries that are run by the user are saved into a history. The user can star or name a query in order to make it easier to find, rather than having to decide ahead of time that they want to save or share a query. Admins can pin queries (either to the top of the module or to the LORIS dashboard).

The UI is also (generally) simplified and more context-sensitive. The "define filters" tab should be easier to understand. The view data tab has a new view where candidates are rows, fields are columns, and session-scoped variables are displayed inline in the cell in a table.

Permissions are enforced for modules, candidates, and sessions.

Blocked by #8880
Blocked by #8878
Blocked by #8876
Blocked by #8873
Blocked by #8855
Blocked by #8288
Blocked by #8940
Blocked by #8942
Blocked by #8943
Blocked by #8944
Blocked by #8945
Blocked by #8950
Blocked by #8958
Blocked by #8959
Blocked by #8960

Testing instructions: No configuration should be required other than running the module's SQL patch.

@driusan driusan added Add to Release Notes PR change should be highlighted in Release notes (important security, features and bugfixes) UI PR or issue introducing/requiring improvements to the LORIS User Interface Blocked PR awaiting the merge, resolution or rejection of an other Pull Request Critical to release PR or issue is key for the release to which it has been assigned Priority: High PR or issue should be prioritised over others for review and testing javascript Pull requests that update Javascript code labels Oct 2, 2023
@driusan
Copy link
Collaborator Author

driusan commented Oct 2, 2023

@zaliqarosli sorry, I forgot to send this PR after the demo!

@driusan driusan linked an issue Oct 17, 2023 that may be closed by this pull request
@driusan
Copy link
Collaborator Author

driusan commented Oct 17, 2023

@zaliqarosli I requested your review because I had to choose someone to test how it affects the GitHub Roadmap project. Please disregard for now (unless you want to review.)

@driusan driusan force-pushed the NewestDQTFrontendRebased2 branch 4 times, most recently from 27dfef6 to 9cafb7e Compare November 13, 2023 17:38
This defines the schema I've been using to design a QueryEngine
(rather than CouchDB) based data query tool.
This describes what is POSTed and also goes directly into a subfield of
a Query object, not directly into the query.
@driusan
Copy link
Collaborator Author

driusan commented Dec 1, 2023

@CamilleBeau @zaliqarosli I believe I've addressed both of your reviews

Copy link
Contributor

@CamilleBeau CamilleBeau left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code cleanliness comments

modules/dataquery/jsx/hooks/usedatadictionary.tsx Outdated Show resolved Hide resolved
modules/dataquery/jsx/hooks/usesharedqueries.tsx Outdated Show resolved Hide resolved
modules/dataquery/jsx/index.tsx Outdated Show resolved Hide resolved
modules/dataquery/jsx/index.tsx Outdated Show resolved Hide resolved
modules/dataquery/jsx/viewdata.tsx Outdated Show resolved Hide resolved
modules/dataquery/jsx/viewdata.tsx Outdated Show resolved Hide resolved
modules/dataquery/jsx/viewdata.tsx Outdated Show resolved Hide resolved
modules/dataquery/php/dataquery.class.inc Outdated Show resolved Hide resolved
modules/instruments/php/instrumentqueryengine.class.inc Outdated Show resolved Hide resolved
modules/instruments/php/instrumentqueryengine.class.inc Outdated Show resolved Hide resolved
@driusan
Copy link
Collaborator Author

driusan commented Dec 11, 2023

This has been through a few review/testing/fixing cycles. Merging so that we can move on to the next phase (imaging)

@driusan driusan merged commit 5ff16c5 into aces:main Dec 11, 2023
19 checks passed
@ridz1208 ridz1208 added this to the 26.0.0 milestone Apr 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Add to Release Notes PR change should be highlighted in Release notes (important security, features and bugfixes) Critical to release PR or issue is key for the release to which it has been assigned javascript Pull requests that update Javascript code Priority: High PR or issue should be prioritised over others for review and testing UI PR or issue introducing/requiring improvements to the LORIS User Interface
Projects
None yet
Development

Successfully merging this pull request may close these issues.

New DQT
5 participants