Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Conversation

@GovernmentPlates
Copy link
Member

@GovernmentPlates GovernmentPlates commented May 30, 2023

Closes: #5746

  • UI Mockups created and sent
  • Create migration
  • Add admin setting to toggle internal notes
  • Create, View and Edit internal notes (WIP: edit + fix over with correct perms - not isAdmin -> canManage)
  • Hookup setting w/ frontend
  • Implement canManage perms (+ admin override)
  • Ensure backend (API) returns notes to persons with the appropriate canManage permissions (room owners)
  • Remove notes field from edit logs (API)
  • Cleanup/Refactor
  • Update changelog

@GovernmentPlates GovernmentPlates self-assigned this May 30, 2023
indico/modules/rb/models/reservations.py Outdated Show resolved Hide resolved
indico/modules/rb/schemas.py Outdated Show resolved Hide resolved
@GovernmentPlates GovernmentPlates force-pushed the Internal-Booking-Notes-5746 branch 3 times, most recently from b92341e to fc490b2 Compare June 1, 2023 16:51
@GovernmentPlates GovernmentPlates force-pushed the Internal-Booking-Notes-5746 branch from 6c8e915 to 3fc3ca7 Compare June 6, 2023 21:41
indico/modules/rb/controllers/backend/bookings.py Outdated Show resolved Hide resolved
indico/modules/rb/api.py Outdated Show resolved Hide resolved
CHANGES.rst Outdated Show resolved Hide resolved
@GovernmentPlates GovernmentPlates marked this pull request as ready for review June 6, 2023 21:42
@ThiefMaster
Copy link
Member

Tip for all those WIP commits: git rebase -i master and mark all but the first commit as fixup instead of pick.
For the first commit, change pick to reword and when you get the second editor, put a nice commit message like "Add internal room booking notes"

@GovernmentPlates GovernmentPlates force-pushed the Internal-Booking-Notes-5746 branch from 1a0843d to 873d74f Compare June 7, 2023 07:39
@GovernmentPlates GovernmentPlates changed the title Allow administrators to add internal notes to room bookings Allow managers to add internal notes to room bookings Jun 7, 2023
@GovernmentPlates GovernmentPlates force-pushed the Internal-Booking-Notes-5746 branch from 873d74f to 0ffaf5d Compare June 7, 2023 08:01
indico/modules/rb/schemas.py Outdated Show resolved Hide resolved
indico/modules/rb/models/reservations.py Outdated Show resolved Hide resolved
@GovernmentPlates GovernmentPlates force-pushed the Internal-Booking-Notes-5746 branch from 0ffaf5d to 1a0b86c Compare June 7, 2023 10:08
indico/modules/rb/schemas.py Outdated Show resolved Hide resolved
indico/modules/rb/schemas.py Outdated Show resolved Hide resolved
@GovernmentPlates GovernmentPlates force-pushed the Internal-Booking-Notes-5746 branch from 1a0b86c to a211cf6 Compare June 7, 2023 14:56
@GovernmentPlates GovernmentPlates force-pushed the Internal-Booking-Notes-5746 branch 2 times, most recently from fe1324a to cef4731 Compare June 7, 2023 15:19
indico/modules/rb/util.py Show resolved Hide resolved
@GovernmentPlates GovernmentPlates force-pushed the Internal-Booking-Notes-5746 branch from cef4731 to c83c8af Compare June 15, 2023 09:23
@ThiefMaster ThiefMaster added this to the v3.3 milestone Jun 20, 2023
@ThiefMaster ThiefMaster force-pushed the Internal-Booking-Notes-5746 branch from dad54cb to d0f2fa3 Compare August 17, 2023 11:04
- Do not allow changing it without being a manager
- Do not fail when the note does not exist and the feature is disabled
@ThiefMaster ThiefMaster force-pushed the Internal-Booking-Notes-5746 branch from b00bb24 to 189ce81 Compare August 21, 2023 14:12
@ThiefMaster ThiefMaster enabled auto-merge (squash) August 21, 2023 14:29
@ThiefMaster ThiefMaster merged commit fb8fecd into indico:master Aug 21, 2023
@ThiefMaster ThiefMaster deleted the Internal-Booking-Notes-5746 branch August 21, 2023 14:33
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.

Internal booking notes

3 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.