aboutsummaryrefslogtreecommitdiff
path: root/gn2/wqflask
AgeCommit message (Collapse)Author
2024-09-05Add comment history page.Munyoki Kilyungi
* gn2/wqflask/templates/wiki/history.html: New page. * gn2/wqflask/views.py (display_wiki_history): New function. Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2024-09-05Modify UI url to fetch from correct history records.Alexander_Kabui
2024-09-05Use new endpoints for fetching gnqna history records.Alexander_Kabui
2024-09-02Fix issue for rendering error template for gnqa history.Alexander_Kabui
2024-09-02MOdify how we can access query object for consistency.Alexander_Kabui
2024-09-02Use if else to improve readabity.Alexander_Kabui
2024-09-02Span parameters across multiple lines for to improve readabity.Alexander_Kabui
2024-09-02Fix spacing for gnqa files.Alexander_Kabui
2024-09-02Add a return code `500` for gnqa endpoint error.Alexander_Kabui
2024-09-02Run djlint for gnqa history file.Alexander_Kabui
2024-09-02Run djlint for gnqa html files.Alexander_Kabui
2024-08-30fix merge conflictAlexander_Kabui
2024-08-29Rename edit endpoint from /editor to editor/editAlexander_Kabui
2024-08-29Remove whitespace for commit textarea.Alexander_Kabui
2024-08-29Remove external links for help.Alexander_Kabui
2024-08-29Add diff btn for navbar.Alexander_Kabui
2024-08-29Integrate gn-auth to gn-editor.Alexander_Kabui
2024-08-29Feature: add support for editing rtf documents.Alexander_Kabui
2024-08-29Applying jdlint to gn editor files.Alexander_Kabui
2024-08-29Replace _ with - for search query parameters.Alexander_Kabui
2024-08-29Add padding for output page and modify navbar background color.Alexander_Kabui
2024-08-29Feature: Enable codeblocks highlighting.Alexander_Kabui
2024-08-29Use js libraries provided by guix.Alexander_Kabui
2024-08-29Use htmx event handler.Alexander_Kabui
2024-08-29Add keyboard binding option.Alexander_Kabui
2024-08-29Show diff for edited files.Alexander_Kabui
2024-08-29Fetch file path as query parameter.Alexander_Kabui
2024-08-29Use localstorage to track current commit.Alexander_Kabui
2024-08-29Code refactoring.Alexander_Kabui
2024-08-29Minor code refactoring.Alexander_Kabui
2024-08-29Add preview and success page for commit.Alexander_Kabui
2024-08-29Add commit preview page.Alexander_Kabui
2024-08-29Add gn editor settings page.Alexander_Kabui
2024-08-29Feature: Allow users custom configuration for editor.Alexander_Kabui
2024-08-29Add preview Functionality.Alexander_Kabui
2024-08-29Add initial template for gn editor UIAlexander_Kabui
2024-08-29Add initial endpoint for serving edit filesAlexander_Kabui
2024-08-29refactor: drop monad_requests and mark required fieldsJohn Nduli
2024-08-29feat: add post actions for editting wiki contentJohn Nduli
2024-08-29feat: add template for editting wikiJohn Nduli
2024-08-29Handle errors correctly during wiki entry fetch.Munyoki Kilyungi
* gn2/wqflask/templates/wiki/genewiki.html: Flash messages during errors. * gn2/wqflask/views.py (display_genewiki_page): Use "raise_for_status()" to handle errors. Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2024-08-29Move genewiki template to wiki template folder.Munyoki Kilyungi
* gn2/wqflask/templates/genewiki.html: Move this... * gn2/wqflask/templates/genewiki.html: ... here. * gn2/wqflask/views.py (display_genewiki_page): Update the render_template page. Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2024-08-29Delete un-used css block in genewiki html template.Munyoki Kilyungi
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2024-08-29Update genewiki page to be the same as GN1.Munyoki Kilyungi
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2024-08-29Add type annotation for symbol.Munyoki Kilyungi
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2024-08-29Use updated GN3 endpoint for wiki.Munyoki Kilyungi
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2024-08-29Rename entries -> wiki.Munyoki Kilyungi
* gn2/wqflask/views.py (display_genewiki_page)[entries]: Rename entries to wiki. Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2024-08-29Remove gn-entries from NCBI.Munyoki Kilyungi
Will re-add this section once the API is finalised. Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2024-08-29Apply dj-lint jinja linter against genewiki.html.Munyoki Kilyungi
* gn2/wqflask/templates/genewiki.html: Run: ``` djlint gn2/wqflask/templates/genewiki.html \ --profile=jinja --reformat --format-css \ --format-js ``` Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2024-08-29Rename generif -> genewiki.Munyoki Kilyungi
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>