Skip to content

Fix reload room type list on form validation error in new room dialog#1616

Merged
samuelwei merged 9 commits intodevelopfrom
1523-code-debt-commented-code
Nov 28, 2024
Merged

Fix reload room type list on form validation error in new room dialog#1616
samuelwei merged 9 commits intodevelopfrom
1523-code-debt-commented-code

Conversation

@samuelwei
Copy link
Copy Markdown
Collaborator

@samuelwei samuelwei commented Nov 25, 2024

Fixes #1523

Type (Highlight the corresponding type)

  • Bugfix
  • Feature
  • Documentation
  • Refactoring (e.g. Style updates, Test implementation, etc.)
  • Other (please describe):

Checklist

  • Code updated to current develop branch head
  • Passes CI checks
  • Is a part of an issue
  • Tests added for the bugfix or newly implemented feature, describe below why if not
  • Changelog is updated
  • Documentation of code and features exists

Changes

  • Fix reload room type list on form validation error in new room dialog

@samuelwei samuelwei linked an issue Nov 25, 2024 that may be closed by this pull request
@samuelwei samuelwei marked this pull request as ready for review November 25, 2024 11:43
@samuelwei samuelwei requested a review from Sabr1n4W November 25, 2024 11:43
@samuelwei samuelwei added this to the v4.2 milestone Nov 25, 2024
@cypress
Copy link
Copy Markdown

cypress Bot commented Nov 25, 2024

PILOS    Run #1266

Run Properties:  status check passed Passed #1266  •  git commit 878e387685: Fix reload room type list on form validation error in new room dialog (#1616)
Project PILOS
Branch Review develop
Run status status check passed Passed #1266
Run duration 04m 49s
Commit git commit 878e387685: Fix reload room type list on form validation error in new room dialog (#1616)
Committer Samuel Weirich
View all properties for this run ↗︎

Test results
Tests that failed  Failures 0
Tests that were flaky  Flaky 0
Tests that did not run due to a developer annotating a test with .skip  Pending 0
Tests that did not run due to a failure in a mocha hook  Skipped 0
Tests that passed  Passing 237
View all changes introduced in this branch ↗︎

@codecov
Copy link
Copy Markdown

codecov Bot commented Nov 25, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 81.00%. Comparing base (2d1d3f8) to head (62dab2d).
Report is 2 commits behind head on develop.

Additional details and impacted files
@@              Coverage Diff              @@
##             develop    #1616      +/-   ##
=============================================
+ Coverage      80.97%   81.00%   +0.02%     
  Complexity      1338     1338              
=============================================
  Files            361      361              
  Lines           9204     9206       +2     
  Branches         845      847       +2     
=============================================
+ Hits            7453     7457       +4     
+ Misses          1751     1749       -2     

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

Copy link
Copy Markdown
Contributor

@Sabr1n4W Sabr1n4W left a comment

Choose a reason for hiding this comment

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

Not completely sure about the reload yet.

Definitely makes sense when an invalid room type was selected and works well there.

Currently also reloads if no room type was selected which is not really needed.

Comment thread tests/Frontend/e2e/RoomsIndexCreateNewRoom.cy.js Outdated
@samuelwei samuelwei force-pushed the 1523-code-debt-commented-code branch from 28c1b01 to 59090ce Compare November 27, 2024 14:08
Comment thread CHANGELOG.md
@samuelwei samuelwei merged commit 878e387 into develop Nov 28, 2024
@samuelwei samuelwei modified the milestones: v4.2, v4.1 Dec 19, 2024
@samuelwei samuelwei deleted the 1523-code-debt-commented-code branch March 25, 2025 15:55
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.

[code debt] Commented code

2 participants