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

Custom create parameters in room type settings #574

Merged
merged 5 commits into from
May 24, 2024

Conversation

dennis531
Copy link
Contributor

@dennis531 dennis531 commented Sep 19, 2023

Fixes #559

Type (Highlight the corresponding type)

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

Checklist

  • Code updated to current masters 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

  • Adds custom create api call parameters in room type settings
  • Room settings will be changed according to the custom parameters when the room type is changed.

Other information

@dennis531 dennis531 marked this pull request as draft September 19, 2023 08:24
lang/de/settings.php Outdated Show resolved Hide resolved
@codecov
Copy link

codecov bot commented Sep 19, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 95.86%. Comparing base (372f4cd) to head (ead5e0b).

Additional details and impacted files
@@              Coverage Diff              @@
##             develop     #574      +/-   ##
=============================================
+ Coverage      95.82%   95.86%   +0.03%     
- Complexity      1288     1295       +7     
=============================================
  Files            198      198              
  Lines           4412     4430      +18     
=============================================
+ Hits            4228     4247      +19     
+ Misses           184      183       -1     

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

CHANGELOG.md Outdated Show resolved Hide resolved
@SamuelWei
Copy link
Collaborator

If the room type settings are changed in the meantime, the room type is always 'reset'. Only refreshing the list solves this issue.

2023-09-19.17-06-27.mp4

@SamuelWei
Copy link
Collaborator

If the room type settings are changed in the meantime, the room type is always 'reset'. Only refreshing the list solves this issue.

2023-09-19.17-06-27.mp4

Looks like this bug already exists

@dennis531
Copy link
Contributor Author

If the room type settings are changed in the meantime, the room type is always 'reset'. Only refreshing the list solves this issue.
2023-09-19.17-06-27.mp4

Looks like this bug already exists

I would suggest to resolve this issue in a separate pull request.

I continue trying to fix the listed errors in the PHP checks.

@dennis531
Copy link
Contributor Author

image

I'm not sure whether it's a CI configuration issue or a problem caused by the changes in this pull request. My guess is the former.

@SamuelWei
Copy link
Collaborator

@dennis531 I'll have a look

@SamuelWei
Copy link
Collaborator

If the room type settings are changed in the meantime, the room type is always 'reset'. Only refreshing the list solves this issue.
2023-09-19.17-06-27.mp4

Looks like this bug already exists

I would suggest to resolve this issue in a separate pull request.

I continue trying to fix the listed errors in the PHP checks.

@dennis531 I fixed the issue

@dennis531 dennis531 marked this pull request as ready for review September 21, 2023 06:52
@SamuelWei SamuelWei changed the base branch from master to develop October 16, 2023 15:32
@tibroc
Copy link

tibroc commented Oct 16, 2023

@SamuelWei what does this need need now to be merged?

@SamuelWei
Copy link
Collaborator

SamuelWei commented Oct 16, 2023

@SamuelWei what does this need need now to be merged?

@tibroc Frontend and backend tests; if I havn't missed it, the custom params are shown in the UI once the type is changed, but they should also be applied on creating a new room with this type; to improve the UX it might also be good to show the user what settings will be changed, giving the user to option to accept oder dismiss the changes.

@SamuelWei
Copy link
Collaborator

@dennis531 @tibroc We are currently working on something similar in https://github.com/THM-Health/PILOS/tree/695-restructure-room-settings-page

As soon as this is finished, we will have an other look at this PR and see how we can integrate this

@SamuelWei SamuelWei self-requested a review May 22, 2024 17:42
@SamuelWei SamuelWei requested review from danielmachill and removed request for SamuelWei May 22, 2024 17:42
@SamuelWei SamuelWei added this to the v4.0 milestone May 23, 2024
@danielmachill danielmachill merged commit 33e9b17 into THM-Health:develop May 24, 2024
7 checks passed
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.

Custom Defaults for Room Types
4 participants