aboutsummaryrefslogtreecommitdiff
path: root/gn2/wqflask/templates
AgeCommit message (Collapse)Author
2024-07-05fix: datatables error when search returns empty resultJohn Nduli
2024-07-03Add link to GeneCup to tool buttonszsloan
This also includes a function for converting a list of traits/datasets to symbols, which was added to trait.py
2024-07-01Link to global search syntax document as markdown on githubzsloan
2024-06-27Automatically decide whether to use Xapian or SQL (uses Xapian if possible) ↵zsloan
+ remove separate search button Change logic so that SQL is used for non-term Publish searches, since searches for phenotype trait IDs currently don't work in Xapian
2024-06-27Set default value for Mean and Additive Effectzsloan
2024-06-27Add default value for location and symbolzsloan
Adding these in the DataTables column definitions is convenient because it means they don't need to be dealt with in the Python code
2024-06-27Add separate button for Xapian searchzsloan
This will be temporary in the longer run, but can stay until all functionality is reproduced.
2024-06-25Remove flawed "group role" idea: use just "role".Frederick Muriuki Muriithi
2024-06-17Remove deprecated endpoints/views and templatesFrederick Muriuki Muriithi
2024-06-17Fix error display logicFrederick Muriuki Muriithi
2024-06-17Create a new resource role.Frederick Muriuki Muriithi
2024-06-11Provide UI to delete role.Frederick Muriuki Muriithi
2024-06-11List user assigned role of interest.Frederick Muriuki Muriithi
2024-06-11Organise UI into rows: each row holding related data.Frederick Muriuki Muriithi
2024-06-10Unassign privilege from resource role.Frederick Muriuki Muriithi
2024-06-10Implement "Resource Role Page"Frederick Muriuki Muriithi
Show the page, providing all UI elements necessary, even if the elements themselves are not active.
2024-06-10Simplify 'View-Resource page' UIFrederick Muriuki Muriithi
Get rid of the resource role details and provide button-like elements to help navigate to view more details.
2024-06-07PoC: Display resource roles on View-Resource page.Frederick Muriuki Muriithi
2024-06-07Update UI: Use resource roles rather than obsolete group rolesFrederick Muriuki Muriithi
In a fix to fix a privilege-escalation bug, the `…/group/roles` endpoint was entirely removed and replaced with the less error-prone `…/resource/…/roles` endpoint. This commit updates the code to use the new endpoint's data as appropriate. We also fix typos in some url_for routing arguments.
2024-06-06UI: Add placeholder for resource rolesFrederick Muriuki Muriithi
2024-06-06Remove the "Roles" page.Frederick Muriuki Muriithi
2024-06-05Build search URI endpoint on server rather than on JSFrederick Muriuki Muriithi
To help with maintenance, build the search URI on the server rather than in the javascript.
2024-06-05Build phenotype results template URI on backendFrederick Muriuki Muriithi
Build the template URI on the backend to remove the need to remember to update the javascript if the URI changes in the future.
2024-05-21Change default for Mean Expr filter to OR for correlations to avoid ↵zsloan
excluding any results when the page first loads
2024-05-20Remove styling for search field.Munyoki Kilyungi
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2024-05-13Disable gnqa functionality.Alexander_Kabui
* to test the functionality use ga.genenetwork.org
2024-05-07Merge pull request #844 from genenetwork/feature/gnqa-ui-revampAlexander Kabui
Use HTMX Js api to toggle upvote and downvote functionality.
2024-05-07Use HTMX Js api to toggle upvote and downvote functionality.Alexander_Kabui
2024-05-06Use correct link to point to xapian search.Munyoki Kilyungi
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2024-04-30Point the history to the upstream git repository.Munyoki Kilyungi
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2024-04-30Remove unused imports.Munyoki Kilyungi
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2024-04-23Add implementation for new gnqa template.Alexander_Kabui
* This is a separate interface from gnqa main page for testing.
2024-04-23Implementation for gnqa chatbox uiAlexander_Kabui
2024-04-23Add reimplementation for gnqa error pageAlexander_Kabui
2024-04-11Merge pull request #838 from genenetwork/feature/refactor-gnqa-uiAlexander Kabui
Feature/refactor gnqa UI
2024-04-05Delete redundant UI codebase.Alexander_Kabui
2024-04-05Use bootstrap classes for ui.Alexander_Kabui
2024-04-05Add get history fetch url on gnqa homepage.Alexander_Kabui
2024-04-05Add gnqa history search page.Alexander_Kabui
2024-04-05Update UI for gnqa rating to use htmx.Alexander_Kabui
2024-04-03Add pubmed info and stylingAlexander_Kabui
2024-04-02Display a history page containing all the edits.Munyoki Kilyungi
* gn2/wqflask/edit.py (__fetch_dataset_git_history__): New function. (view_history): New end-point. * gn2/wqflask/templates/dataset.html: Use htmx to fetch history. * gn2/wqflask/templates/dataset_history.html: New history page. Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2024-04-02Load the edit page on the same page using HTMX.Munyoki Kilyungi
* gn2/wqflask/templates/dataset.html: Delete target="_blank" for the edit links. Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2024-04-02Add a "View History" link.Munyoki Kilyungi
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2024-03-27Add some styling to gnqa answer page.Munyoki Kilyungi
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com> Co-authored-by: Alexander Kabui <alexanderkabua@gmail.com>
2024-03-27Fix htmx swap.Munyoki Kilyungi
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com> Co-authored-by: Alexander Kabui <alexanderkabua@gmail.com>
2024-03-27Delete unused javascript in gnqa page.Munyoki Kilyungi
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com> Co-authored-by: Alexander Kabui <alexanderkabua@gmail.com>
2024-03-27Add missing braces/brackets.Munyoki Kilyungi
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com> Co-authored-by: Alexander Kabui <alexanderkabua@gmail.com>
2024-03-27Enable auto-complete in form.Munyoki Kilyungi
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com> Co-authored-by: Alexander Kabui <alexanderkabua@gmail.com>
2024-03-27Clean up gnqa answer page.Munyoki Kilyungi
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com> Co-authored-by: Alexander Kabui <alexanderkabua@gmail.com>