-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Site Activity: adds contextual popover menu item to add site credentials #40014
Site Activity: adds contextual popover menu item to add site credentials #40014
Conversation
Here is how your PR affects size of JS and CSS bundles shipped to the user's browser: Sections (~182 bytes added 📈 [gzipped])
Sections contain code specific for a given set of routes. Is downloaded and parsed only when a particular route is navigated to. Async-loaded Components (~91 bytes added 📈 [gzipped])
React components that are loaded lazily, when a certain part of UI is displayed for the first time. Legend What is parsed and gzip size?Parsed Size: Uncompressed size of the JS and CSS files. This much code needs to be parsed and stored in memory. Generated by performance advisor bot at iscalypsofastyet.com. |
This was long overdue! Thanks for adding the clarification and the next step right where the user would expect it and avoiding a dead end. #nodeadends! :D Design wise 👍 |
? `/start/rewind-auto-config/?blogid=${ siteId }&siteSlug=${ siteSlug }` | ||
: `/settings/security/${ siteSlug }` | ||
} | ||
> |
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.
Should add some analytics to this new link?
Nice improvement @keoshi ! I think adding the analytics can be done in a different PR as well. |
@keoshi Brilliant refinement. Well done! |
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.
Excellent! With analytics in, I'm approving. Great PR @keoshi!
Woohoo, thank you all! 🙌 Merging now. |
Changes proposed in this Pull Request
calypso_activitylog_event_add_credentials
tracks event for this new item.We’re currently disabling the “Restore to this point” option on the site activity without explaining why, and I’d assume people would not co-relate the banner at the top telling them to add server credentials and the fact that restores are not available.
Before
After, normal state
After, selected state
After adding server credentials, the restore option is enabled and this one goes away
Testing instructions
http://calypso.localhost:3000/activity-log/SITE_URL
.