-
Notifications
You must be signed in to change notification settings - Fork 70
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
VACMS-11115: Add VA Form flag Views. #11251
VACMS-11115: Add VA Form flag Views. #11251
Conversation
Thanks for the feedback @dsasser on #11118. Applying it here first. I need this PR to deploy first because it has the patch for VBO and flags.
All the form views are different displays of the "flagged" view, because they are basic duplicates of that view with small alterations. I'd rather keep it here for now, since backend changes to this should all be in the same place.
|
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.
Noticed a couple of things
- updated is missing the user reference
-
The edit button links are missing the node ids so the links don't function
-
The locked column does not reflect that something is locked. Though to be honest, with how crowded the table it, we may want to consider abandoning the locked column in favor of readability
-
The last "Changed Filename" view tab is actually a Deleted View.
- The deleted should be included in the "New Form" View as that will surface the common issue of one being deleted and a duplicate created. I suggest changing the name of the View to "New/Deleted Forms"
-
Tables need captions. (Please add captions to our style guide doc, I think it is missing.)
In addition to Steve's note:
#11118 https://pr11251-gcjxrl4huhyj4lipesbplzfbyy2zsjcs.ci.cms.va.gov/admin/content/va-forms/changed-title |
@swirtSJW @jilladams The above comments and concerns are fixed. I realized I broke some things when I rearranged columns for the style guide. Oops! Edited PR body. |
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.
@chri5tia This is looking really good. A couple things
-
Lets not surface the field name in the filter. Filed names are only for us drupal geeks and don't have much value to others, and create more confusion.
-
The pattern of the actions on the other Views use the pattern of resolved
Where the new deleted breaks that pattern
HOWEVER, I would also touch base quickly with @BlakeOrgan Since these are names for actions, I think they want to be phrased as an action, not a noun. Example: "Remove Deleted flag", "Remove Filename Changed flag" -
This one is scope creep so consult with @jilladams and @wesrowe but I think I recall Dave suggesting this AND it is super easy to add. I suggest removing the locked column and adding the revision log message to ALL the View displays. I think it makes these tools even more useful than they already are.
@swirtSJW machine name was an oversight, thank you! Regarding the other items:
|
@chri5tia @swirtSJW quick note on the lock field in the table: lock changes are not immediately visible in the View. To replicate:
This may be expected/well known, but figured I would flag it up for visibility. |
Regarding lock, if we want to keep it, we should remove tag caching on the View. I don't think the lock state is worth keeping. |
Yeah I would agree we don't need the lock column and by removing it we can retain Views caching. |
Re-verified on https://pr11251-gcjxrl4huhyj4lipesbplzfbyy2zsjcs.ci.cms.va.gov/:
Only thing I don't know how to verify is that all 3 tables have captions added. (Could someone show me that?) |
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.
Tests out good. Nice work.
I added a commit did a couple of barely noticeable things.
- I removed the lock releated fields from the table as they were now all hidden.
- I removed the label overrides so they they could be controlled by the content on the flag, rather than config in the override on the view. ALso it is a separate ticket needing design input Reword VA Form flag "Unflag link text" to describe the action. #11285
- Rearranged the filters to move moderation state left of section. Section and admin are somewhat paired so it makes sense to have them paired visually.
Yeah, it has to do with the database save point failing and using a previous save point. I don't think we need to worry about that.
|
Description
Closes #11115
, #11118, #11117, #11116(no github magic if you list them like this)Closes #11118
Closes #11117
Closes #11116
Adds 3 new views to the VA Forms content administration area:
Testing done:
(Updated)
Screenshots
QA steps
Definition of Done
Select Team for PR review
Platform CMS Team
Sitewide program
⭐️ Sitewide CMS
⭐️ Public websites
⭐️ Facilities
⭐️ User support
Is this PR blocked by another PR?
DO NOT MERGE
Does this PR need review from a Product Owner
Needs PO review
CMS user-facing annoucement
Is an announcement needed to let editors know of this change?