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

Footer calculate back next #539

Merged
merged 8 commits into from
Nov 13, 2024
Merged

Footer calculate back next #539

merged 8 commits into from
Nov 13, 2024

Conversation

noLeonardo
Copy link
Collaborator

@noLeonardo noLeonardo commented Nov 12, 2024

Description

Added footer to the run-details-page with Calculate/Next/Back.buttons and fixed scrolling.

Changes

run-related files (details.html, styles.css, runs.js)

Testing

PR checklist

Development

  • If necessary, I have updated the documentation (README, docstrings, etc.)
  • If necessary, I have created / updated tests.

Mergeability

  • main-branch has been merged into local branch to resolve conflicts
  • The tests and linter have passed AFTER local merge
  • The code has been formatted with black

Code review

  • I have self-reviewed my code.
  • At least one other developer reviewed and approved the changes

@noLeonardo noLeonardo requested a review from gitjannes November 12, 2024 11:06
@@ -32,4 +32,12 @@ $(document).ready(function () {
let id = $(this).attr("id");
$('#chosen-' + id).text(this.files[0].name);
});

// control calculate buttons in header
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
// control calculate buttons in header
// control calculate buttons in footer

Comment on lines 37 to 41
$('#calculate_parameters_submit_plot_form').click(function() {
$("#calc_form").submit();
});
$('#calculate_parameters_submit_form').click(function() {
$("#calc_from_method").submit();
Copy link
Collaborator

Choose a reason for hiding this comment

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

Einheitliche Benennung von den from ids wäre schön

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Danke, ich habe die Namensgebung geupdatet :)

Copy link
Collaborator

@gitjannes gitjannes left a comment

Choose a reason for hiding this comment

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

Sieht visuell sehr schick aus, Code passt bis auf die kommentierten Sachen auch👍

</div>
</div>

<div class="footer border border-end-0 border-start-0 border-bottom-0">
Copy link
Collaborator

Choose a reason for hiding this comment

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

Instead of excluding the three borders, you can use border-top as well to just include the one you want :) And I'd maybe add pt-3 so that you have the same paddings as with the borders in the navbar
But besides that, I personally like the alignment of these two buttons a lot!

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Thx and good optimisations, I have implemented them :)

Copy link

Coverage report

Click to see where and how coverage changed

FileStatementsMissingCoverageCoverage
(new stmts)
Lines missing
  protzilla
  run.py
  run_helper.py
  runner.py
  protzilla/data_analysis
  differential_expression.py
  differential_expression_helper.py 125, 143
  differential_expression_kruskal_wallis.py 227
  differential_expression_linear_model.py
  differential_expression_mann_whitney.py 266
  differential_expression_t_test.py
  protein_graphs.py
  ptm_analysis.py 56, 123-125
  protzilla/data_integration
  di_plots.py
  protzilla/data_preprocessing
  outlier_detection.py
  transformation.py
  protzilla/importing
  ms_data_import.py 122, 276
  protzilla/methods
  data_analysis.py 21, 174, 250, 283, 308, 351, 916, 935
  data_preprocessing.py
  importing.py 144
  protzilla/utilities
  transform_dfs.py
  utilities.py
  ui/main
  settings.py
  ui/runs
  fields.py
  views.py
  views_helper.py
  ui/runs/forms
  data_analysis.py 318-322, 379, 409, 445, 468, 1183, 1221, 1243
Project Total  

The report is truncated to 25 files out of 54. To see the full report, please visit the workflow summary page.

This report was generated by python-coverage-comment-action

@noLeonardo noLeonardo merged commit 2beaf7a into dev Nov 13, 2024
1 check passed
@noLeonardo noLeonardo deleted the footer_calculate-back-next branch November 13, 2024 15:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants