aboutsummaryrefslogtreecommitdiff
path: root/gn2/wqflask/templates
AgeCommit message (Expand)Author
2024-05-28Fix bug: Update DOM correctly when rating error occurs.Alexander_Kabui
2024-05-27Mark answer and references as safe to render a tags.Alexander_Kabui
2024-05-24Add UI code for gnqa history search delete functionality.Alexander_Kabui
2024-05-23Update endpoints and add search history functionality.Alexander_Kabui
2024-05-22Refactor template code for gnqa search historyAlexander_Kabui
2024-05-14Bug: fix issue form submission happening twiceAlexander_Kabui
2024-05-14Revert "Disable gnqa functionality."...This reverts commit 01eba6e9b54e45bc937983e33b439a353118de2c. Munyoki Kilyungi
2024-05-13Disable gnqa functionality.... * to test the functionality use ga.genenetwork.org Alexander_Kabui
2024-05-07Merge pull request #844 from genenetwork/feature/gnqa-ui-revamp...Use HTMX Js api to toggle upvote and downvote functionality.Alexander Kabui
2024-05-07Use HTMX Js api to toggle upvote and downvote functionality.Alexander_Kabui
2024-05-06Use correct link to point to xapian search....Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com> Munyoki Kilyungi
2024-04-30Point the history to the upstream git repository....Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com> Munyoki Kilyungi
2024-04-30Remove unused imports....Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com> Munyoki Kilyungi
2024-04-23Add implementation for new gnqa template.... * This is a separate interface from gnqa main page for testing. Alexander_Kabui
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-ui...Feature/refactor gnqa UIAlexander Kabui
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....* 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> Munyoki Kilyungi
2024-04-02Load the edit page on the same page using HTMX....* gn2/wqflask/templates/dataset.html: Delete target="_blank" for the edit links. Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com> Munyoki Kilyungi
2024-04-02Add a "View History" link....Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com> Munyoki Kilyungi
2024-03-27Add some styling to gnqa answer page....Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com> Co-authored-by: Alexander Kabui <alexanderkabua@gmail.com> Munyoki Kilyungi
2024-03-27Fix htmx swap....Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com> Co-authored-by: Alexander Kabui <alexanderkabua@gmail.com> Munyoki Kilyungi
2024-03-27Delete unused javascript in gnqa page....Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com> Co-authored-by: Alexander Kabui <alexanderkabua@gmail.com> Munyoki Kilyungi
2024-03-27Add missing braces/brackets....Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com> Co-authored-by: Alexander Kabui <alexanderkabua@gmail.com> Munyoki Kilyungi
2024-03-27Enable auto-complete in form....Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com> Co-authored-by: Alexander Kabui <alexanderkabua@gmail.com> Munyoki Kilyungi
2024-03-27Clean up gnqa answer page....Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com> Co-authored-by: Alexander Kabui <alexanderkabua@gmail.com> Munyoki Kilyungi
2024-03-27Delete unused template....* gn2/wqflask/templates/pubmed_modal.html: Delete. Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com> Co-authored-by: Alexander Kabui <alexanderkabua@gmail.com> Munyoki Kilyungi
2024-03-27Delete llm.css and it's references....Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com> Co-authored-by: Alexander Kabui <alexanderkabua@gmail.com> Munyoki Kilyungi
2024-03-27Add htmx indicator....Co-authored-by: Alexander Kabui <alexanderkabua@gmail.com> Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com> Munyoki Kilyungi
2024-03-27Add some styling to AI search bar....Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com> Co-authored-by: Alexander Kabui <alexanderkabua@gmail.com> Munyoki Kilyungi
2024-03-27Move search box to below the header....Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com> Co-authored-by: Alexander Kabui <alexanderkabua@gmail.com> Munyoki Kilyungi
2024-03-27Wrap "search" block round entire div that nests the search box....Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com> Co-authored-by: Alexander Kabui <alexanderkabua@gmail.com> Munyoki Kilyungi
2024-03-27Format files....Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com> Co-authored-by: Alexander Kabui <alexanderkabua@gmail.com> Munyoki Kilyungi
2024-03-27Re-locate gnqa search box to gnqa.html....Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com> Co-authored-by: Alexander Kabui <alexanderkabua@gmail.com> Munyoki Kilyungi
2024-03-27Clean up base.html....* gn2/wqflask/templates/base.html: Replace TABS with white-space. Fix hanging html tags. Format file. Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com> Co-authored-by: Alexander Kabui <alexanderkabua@gmail.com> Munyoki Kilyungi
2024-03-27Rework GN-QA landing page....Co-authored-by: Alexander Kabui <alexanderkabua@gmail.com> Munyoki Kilyungi
2024-03-27Fix mark-up in gn-qa landing page....Co-authored-by: Alexander Kabui <Alexanderkabua@gmail.com> Munyoki Kilyungi
2024-03-26Add "dataset.name" field to the editor form....Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com> Munyoki Kilyungi
2024-03-26Only display the "edit" link when a user has edit permissions....Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com> Munyoki Kilyungi
2024-03-26Remove typo from template....Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com> Munyoki Kilyungi
2024-03-26Add extra "edit" buttons to the relevant sections....Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com> Munyoki Kilyungi
2024-03-26Make the description bold....Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com> Munyoki Kilyungi
2024-03-26Add a hidden input form element for "section"....Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com> Munyoki Kilyungi
2024-03-26Have one template for datasets....* gn2/wqflask/templates/metadata/dataset.html: Move this ... * gn2/wqflask/templates/dataset.html: ... here. Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com> Munyoki Kilyungi