-
-
Notifications
You must be signed in to change notification settings - Fork 998
SAK-44773 SignUp change default value for attendance tracking #14305
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
base: master
Are you sure you want to change the base?
Conversation
WalkthroughEventWorksheet.isAttendanceOn(...) now treats the signup.enableAttendance configuration as enabled by default (true). The properties bundle documentation was updated for Changes
Pre-merge checks and finishing touches✅ Passed checks (3 passed)
✨ Finishing touches🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: Organization UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (1)
🧰 Additional context used🧠 Learnings (1)📓 Common learnings🔇 Additional comments (1)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
I think I didn't check that thanks in advance. |
|
also need to update the config setting in default.sakai.properties |
Add configuration options for attendance feature in Sign Up.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 1
📜 Review details
Configuration used: Organization UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (1)
config/configuration/bundles/src/bundle/org/sakaiproject/config/bundle/default.sakai.properties
🧰 Additional context used
🧠 Learnings (1)
📓 Common learnings
Learnt from: ottenhoff
Repo: sakaiproject/sakai PR: 0
File: :0-0
Timestamp: 2025-10-07T15:11:27.298Z
Learning: In samigo’s Total Scores view (samigo/samigo-app/src/webapp/jsf/evaluation/totalScores.jsp), mailto links were hidden after commit dee05746 (PR #12312, SAK-49674) added a render check requiring email.fromEmailAddress to be non-empty; PR #14154 (SAK-52058) restores visibility by checking only description.email.
| # signup.enableAttendance | ||
| # enable the attendance feature and attendance export sheet in Sign Up | ||
| # DEFAULT: TRUE | ||
| # signup.enableAttendance=true | ||
|
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Consolidate signup.enableAttendance docs and fix conflicting sample values
signup.enableAttendance is documented three times here, with conflicting sample values (true in one block, false in two others) and overlapping descriptions. This is confusing for deployers and makes it unclear which block to follow.
I suggest:
- Keep a single, clear block for
signup.enableAttendance. - Describe both attendance tracking and the Excel export sheet in that block.
- Keep
DEFAULT: TRUEin the comment, and use a non-default sample value (false) to follow the pattern used elsewhere in this file (sample shows how to override the default). - Remove the duplicate blocks.
Proposed cleanup for the attendance property docs
@@
-# signup.enableAttendance
-# enable the attendance feature and attendance export sheet in Sign Up
-# DEFAULT: TRUE
-# signup.enableAttendance=true
-
-
@@
-# signup.enableAttendance
-# if true, it provide the ability to take attendence of the event
-# DEFAULT: TRUE
-# signup.enableAttendance=false
-
-# signup.maxAttendeesPerSlot
+# signup.maxAttendeesPerSlot
@@
-# Signup attendance
-# if true, it provide the ability to take attendence of the event
-# DEFAULT: TRUE
-# signup.enableAttendance=false
-
-# Signup other sites availability
+# Signup other sites availabilityAnd replace the first block (now removed) with a single, clarified one:
+# signup.enableAttendance
+# If true, enables attendance tracking for Sign Up meetings and adds the attendance sheet to the Excel export.
+# DEFAULT: TRUE
+# signup.enableAttendance=false
+Also applies to: 4911-4915, 4952-4955
🤖 Prompt for AI Agents
In
config/configuration/bundles/src/bundle/org/sakaiproject/config/bundle/default.sakai.properties
around lines 4873-4877 (and likewise at 4911-4915 and 4952-4955), there are
three duplicate docs for signup.enableAttendance with conflicting sample values;
consolidate them into a single comment block that documents both attendance
tracking and the Excel export sheet, retain "DEFAULT: TRUE" and change the
sample override to "signup.enableAttendance=false" (a non-default example), and
remove the other two duplicate blocks so only the clarified single block
remains.
config/configuration/bundles/src/bundle/org/sakaiproject/config/bundle/default.sakai.properties
Outdated
Show resolved
Hide resolved
…g/bundle/default.sakai.properties
|
If the default is true, the commented value is always the opposite :) |
this seems ok? it has additional check so it's working as expected I get the tab in the excel after enabling attendance
Summary by CodeRabbit
✏️ Tip: You can customize this high-level summary in your review settings.