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

SHS-5982: Site Dashboard: My Latest Edits #1726

Closed

Conversation

codechefmarc
Copy link
Collaborator

@codechefmarc codechefmarc commented Jan 24, 2025

Summary

Adds a view for dashboards to show the current users latest edits.

Need Review By (Date)

2025-01-29

Urgency

low

Steps to Test

  1. Login to the site as a Developer
  2. Create a new Dashboard or "Edit layout" of an existing dashboard
  3. Click "Add Block"
  4. Under Lists (Views), verify there is a new block to place called "My Latest Edits"

Screenshot 2025-01-23 at 6 10 59 PM

  1. Click on "My Latest Edits", then clock "Add block"
  2. Click "Save dashboard layout"
  3. Visit the Dashboard - click "Dashboard" or go to /admin/dashboard
  4. There may or may not be items in the list, depending on if the role you are currently logged in as has made edits
  5. To verify the view works, edit some content and then return to the dashboard
  6. Verify that there are changes when you refresh the dashboard after making some edits

Screenshot 2025-01-23 at 6 13 09 PM

  1. Verify that, under the operations dropdown, there is a new link to access the revisions of the content
  2. Click on that link and verify that it takes you to the revisions for that content

Screenshot 2025-01-23 at 6 14 00 PM

Review Tasks

Backend / Functional Validation

Code

  • Are the naming conventions following our standards?
  • Are PHP functions and variables in snake_case and not camelCase?
  • Does Drupal code follow Drupal Coding Standards?
  • Does the code have sufficient inline comments?
  • Is there anything in this code that would be hidden or hard to discover through the UI?
  • Are there any code smells?
  • Are tests provided?

Code security

General

  • Is there anything included in this PR that is not related to the problem it is trying to solve?
  • Is the approach to the problem appropriate?

@codechefmarc
Copy link
Collaborator Author

Closing in favor of #1730

@codechefmarc codechefmarc deleted the SHS-5982--my-latest-edits branch January 28, 2025 21:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants