DEpt-metagenom / MetagenoMongo

1 stars 2 forks source link

Flask:2024-08-16 #16

Closed iwmstjp closed 2 months ago

iwmstjp commented 2 months ago

Missing functions are following.

Summary by Sourcery

Redesign the web application's front-end with updated CSS styles and refactor HTML templates for better structure and maintainability. Add a new '/change' route to process and validate form data, rendering a new template with the results.

New Features:

Enhancements:

sourcery-ai[bot] commented 2 months ago

Reviewer's Guide by Sourcery

This pull request implements significant changes to the Flask application's frontend and backend, focusing on improving the user interface, enhancing data handling, and adding new functionalities. The changes include a major redesign of the CSS styles, restructuring of HTML templates, and updates to the Flask routes and data processing logic.

File-Level Changes

Files Changes
flask-version/metagenomongo/static/styles.css Redesigned the CSS styles to create a more modern and responsive layout
flask-version/metagenomongo/templates/index.html
flask-version/metagenomongo/templates/index_with_table.html
flask-version/metagenomongo/templates/layout.html
Restructured HTML templates by introducing a base layout and separate templates for different views
flask-version/metagenomongo/app.py Added new routes and updated existing ones to handle data changes, saving, and validation
flask-version/metagenomongo/templates/index_with_table.html
flask-version/metagenomongo/app.py
Implemented in-place table editing functionality
flask-version/metagenomongo/templates/index_with_table.html
flask-version/metagenomongo/app.py
Added user name input for CSV file naming
flask-version/metagenomongo/app.py Improved CSV file handling and validation

Tips - Trigger a new Sourcery review by commenting `@sourcery-ai review` on the pull request. - Continue your discussion with Sourcery by replying directly to review comments. - You can change your review settings at any time by accessing your [dashboard](https://app.sourcery.ai): - Enable or disable the Sourcery-generated pull request summary or reviewer's guide; - Change the review language; - You can always [contact us](mailto:support@sourcery.ai) if you have any questions or feedback.