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

Winnow Facility dropdown on VBA Facility Service to match editor's Workbench Access Section #15901

Closed
7 tasks
davidmpickett opened this issue Oct 30, 2023 · 8 comments
Assignees
Labels
Drupal engineering CMS team practice area Drupal Site Building For tasks that involve updating Drupal config, but don't involve significant coding Events product maintained by Public Websites team Facilities Facilities products (VAMC, Vet Center, etc) News release CMS managed product owned by Facilities team Regional office CMS managed VBA product owned by the Facilities team sitewide Story CMS managed product owned by Facilities team VBA for VBA facilities that are not Regional Offices Vet Center CMS managed product owned by Facilities team

Comments

@davidmpickett
Copy link
Contributor

davidmpickett commented Oct 30, 2023

User Story or Problem Statement

When VBA Facility Service content type was first built, we didn't have enough sections set up under VBA to do any sort of winnowing of the Facility Drop Down list - #11197 (comment)

While QAing #11334, I discovered that as a local VBA editor assigned to the Cheyenne section, I can create a VBA Facility service for VBA Facilities in different sections

Screenshot 2023-10-30 081002

screencapture-cms-uuviupwhkcoop9okwkjb5fw3j1rdyqtj-ci-cms-va-gov-node-62767-2023-10-30-08_15_00

Steps for Implementation

  • Update local_facilities_entity_reference_view to have a new display that is unique to VBA instead of just applying to VAMCs?
    • Append the parent name to the facility in the dropdown element.
  • Update field_office on vba_facility_service to use an entity reference filter by view to use the display.
  • If needed, update the javascript for VBA Facility
  • Update the caching on the VBA user in va_gov_user

Acceptance Criteria

  • A user with the role VBA - Content Creator can only create VBA Facility Services for Facilities that are in the same Section(s) as that User
  • Cypress test(s) are created to account for this.
@davidmpickett davidmpickett added Drupal engineering CMS team practice area Facilities Facilities products (VAMC, Vet Center, etc) Needs refining Issue status Regional office CMS managed VBA product owned by the Facilities team VBA for VBA facilities that are not Regional Offices labels Oct 30, 2023
@davidmpickett davidmpickett added the Drupal Site Building For tasks that involve updating Drupal config, but don't involve significant coding label Oct 30, 2023
@xiongjaneg xiongjaneg removed the Needs refining Issue status label Nov 29, 2023
@mmiddaugh
Copy link
Contributor

Does this account for the the Safari wrinkle documented in #12884?

@omahane
Copy link
Contributor

omahane commented Jan 3, 2024

Does this account for the the Safari wrinkle documented in #12884?

That is a different issue, having to do with the way Safari handles styling, which differs from Chrome, Firefox or Edge.

@davidmpickett
Copy link
Contributor Author

davidmpickett commented Jan 5, 2024

Update from a call with @omahane and @swirtSJW:

@davidmpickett
Copy link
Contributor Author

davidmpickett commented Jan 5, 2024

@jilladams @xiongjaneg
TLDR of last comment - the impact of this ticket is likely larger than VBA and may involve cross-team code review. However, given the fact that this could close multiple outstanding defect tickets, seems like that is a good thing. It would be more effort for @omahane to try and restrict his work just to VBA.

@xiongjaneg
Copy link
Contributor

tagging @mmiddaugh for awareness as we had discussed having some capacity on the Drupal side as Front end catches up on VBA work so a bit of scope creep may be appropriate on this and payoff in the long run

@omahane
Copy link
Contributor

omahane commented Jan 5, 2024

@xiongjaneg @jilladams I have notified Public Websites and have solicited their feedback on this change: #15391 (comment)

@jilladams jilladams added Events product maintained by Public Websites team Story CMS managed product owned by Facilities team News release CMS managed product owned by Facilities team labels Jan 8, 2024
@jilladams
Copy link
Contributor

Added tags for other products that'll be updated by this change.

@jilladams jilladams added the Vet Center CMS managed product owned by Facilities team label Jan 8, 2024
@swirtSJW
Copy link
Contributor

swirtSJW commented Jan 9, 2024

This is closed by #16663

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Drupal engineering CMS team practice area Drupal Site Building For tasks that involve updating Drupal config, but don't involve significant coding Events product maintained by Public Websites team Facilities Facilities products (VAMC, Vet Center, etc) News release CMS managed product owned by Facilities team Regional office CMS managed VBA product owned by the Facilities team sitewide Story CMS managed product owned by Facilities team VBA for VBA facilities that are not Regional Offices Vet Center CMS managed product owned by Facilities team
Projects
None yet
Development

No branches or pull requests

6 participants