Skip to content

Rename Policy Rooms#7217

Merged
luacmartins merged 28 commits into
mainfrom
cmartins-renamePolicyRooms
Jan 24, 2022
Merged

Rename Policy Rooms#7217
luacmartins merged 28 commits into
mainfrom
cmartins-renamePolicyRooms

Conversation

@luacmartins

@luacmartins luacmartins commented Jan 13, 2022

Copy link
Copy Markdown
Contributor

cc @TomatoToaster

Details

Adds the ability to rename a Policy Room.

Fixed Issues

$ https://github.com/Expensify/Expensify/issues/176854

Tests

  1. Create a new policy room by navigating to + > New room.
  2. Click the chat header to open up Details.
  3. Click Settings
  4. Enter a new value for Room name and click Save.
  5. Verify the following:
  • The Save button displays a loading spinner and becomes disabled.

  • A growl message shows up and reads Policy room renamed!.

  • A comment like the ones showed in the screenshots below is posted to the chat.

  • The room name is updated in the LHN and the chat header.

  • Verify that no errors appear in the JS console

QA Steps

Steps above.

  • [] Verify that no errors appear in the JS console

Tested On

  • Web
  • Mobile Web
  • Desktop
  • iOS
  • Android

Screenshots

Web

web-pv3

Mobile Web

mweb

Desktop

desktop

iOS

ios-pv3

Android

android-pv3

@luacmartins luacmartins self-assigned this Jan 13, 2022
@luacmartins luacmartins changed the title Rename Policy Rooms [HOLD Web-E 32831] Rename Policy Rooms Jan 19, 2022
@luacmartins luacmartins marked this pull request as ready for review January 19, 2022 21:55
@luacmartins luacmartins requested a review from a team as a code owner January 19, 2022 21:55
@luacmartins

luacmartins commented Jan 19, 2022

Copy link
Copy Markdown
Contributor Author

@Expensify/design would love your thoughts on the renamed action message design.

Comment thread src/components/ReportActionItem/RenameAction.js
Comment thread src/components/ReportActionItem/RenameAction.js Outdated
@shawnborton

Copy link
Copy Markdown
Contributor

Left a couple of very minor comments, otherwise looking good!

Comment thread src/libs/actions/Report.js Outdated
Comment thread src/libs/actions/Report.js

@neil-marcellini neil-marcellini left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

The rename functionality works well. I left 2 small comments that aren't blockers. While testing this I was unable to pull up the settings page after creating a room until I refreshed. Does that happen for you? That problem also occurs on the main branch. I'll create a separate issue for it if one doesn't already exist.

@luacmartins

Copy link
Copy Markdown
Contributor Author

While testing this I was unable to pull up the settings page after creating a room until I refreshed. Does that happen for you?

I noticed some inconsistent behavior as well. It seems that after creating a Policy room the route is not updated correctly and we try to access the settings page from a different report. Definitely worth investigating! Thanks for creating the issue!

shawnborton
shawnborton previously approved these changes Jan 20, 2022
@luacmartins

Copy link
Copy Markdown
Contributor Author

Updated!

@neil-marcellini neil-marcellini left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Nice, thanks!

@shawnborton

Copy link
Copy Markdown
Contributor

Approved on my end, feel free to self-merge once the checks successfully pass.

@luacmartins luacmartins changed the title [HOLD Web-E 32831] Rename Policy Rooms Rename Policy Rooms Jan 24, 2022
@luacmartins

Copy link
Copy Markdown
Contributor Author

No longer on hold! Self-merging with approval.

@luacmartins luacmartins merged commit 2f2bc06 into main Jan 24, 2022
@luacmartins luacmartins deleted the cmartins-renamePolicyRooms branch January 24, 2022 17:29
@OSBotify

Copy link
Copy Markdown
Contributor

✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release.

@OSBotify

Copy link
Copy Markdown
Contributor

🚀 Deployed to staging by @luacmartins in version: 1.1.32-1 🚀

platform result
🤖 android 🤖 success ✅
🖥 desktop 🖥 success ✅
🍎 iOS 🍎 success ✅
🕸 web 🕸 success ✅

@OSBotify

OSBotify commented Feb 1, 2022

Copy link
Copy Markdown
Contributor

🚀 Deployed to production by @roryabraham in version: 1.1.33-3 🚀

platform result
🤖 android 🤖 success ✅
🖥 desktop 🖥 success ✅
🍎 iOS 🍎 success ✅
🕸 web 🕸 success ✅

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.

4 participants