Skip to content

Use flat_form template for more forms#3395

Merged
johannaengland merged 1 commit intoUninett:masterfrom
johannaengland:refactor/make-forms-uniform-template
Jul 30, 2025
Merged

Use flat_form template for more forms#3395
johannaengland merged 1 commit intoUninett:masterfrom
johannaengland:refactor/make-forms-uniform-template

Conversation

@johannaengland
Copy link
Copy Markdown
Contributor

@johannaengland johannaengland commented Jun 18, 2025

These forms could be refactored to use the flat_form template to automatically have a csrf token and also to look more uniform.

Another part of working on Uninett/campus-tasks#45

SensorRangeForm: http://localhost/ipdevinfo/sensor/2400 (removes ":" in field labels)
BooleanSensorForm: http://localhost/ipdevinfo/sensor/1485
ChangePasswordForm: http://localhost/preferences/
ServiceChoiceForm: http://localhost/seeddb/service/add/

@johannaengland johannaengland requested a review from a team June 18, 2025 06:36
@johannaengland johannaengland added refactor nonews No news fragment is necessary for this PR (e.g. refactoring, cleanups, workflow/development changes) labels Jun 18, 2025
@sonarqubecloud
Copy link
Copy Markdown

@johannaengland johannaengland force-pushed the refactor/make-forms-uniform-template branch from 6b4fcbb to a7852cb Compare July 30, 2025 06:48
@johannaengland johannaengland force-pushed the refactor/make-forms-uniform-template branch from a7852cb to 473ec5b Compare July 30, 2025 06:59
@sonarqubecloud
Copy link
Copy Markdown

@johannaengland johannaengland merged commit 29b9522 into Uninett:master Jul 30, 2025
14 checks passed
@johannaengland johannaengland deleted the refactor/make-forms-uniform-template branch July 30, 2025 07:19
@codecov
Copy link
Copy Markdown

codecov bot commented Jul 30, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 0.00%. Comparing base (01fab0e) to head (473ec5b).
⚠️ Report is 2 commits behind head on master.

Additional details and impacted files
@@      Coverage Diff       @@
##   master   #3395   +/-   ##
==============================
==============================

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

nonews No news fragment is necessary for this PR (e.g. refactoring, cleanups, workflow/development changes) refactor

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants