Update localized-link.mixin.ts to omit the slash if the file is a .pdf
Goal
We would like update localized-link.mixin.ts
to omit the slash if the file is a .pdf
Jobs To Be Done
-
Situation: When a link ends in pdf, skip passing it thru the
localized.link.mixin.ts
and adding a trailing slash - Motivation: We want to ensure that pdf files are reachable and the URL is not updated based on a users preferred langauge.
Please provide more information related to this request
Make sure the information you provide is relevant for your request. If unsure, please provide all the fields. Add/remove rows as needed.
If this is urgent, what is the business need for the urgency?
-
Yes: We applied the a patch to the ESG removing this mixin with this MR. Fixing the mixin it's self will be scalable solution. -
No
If the requestor is not the DRI, find out if the DRI is aware of the request / wants to change things.
Does anyone in leadership have eyes on this project?
-
Yes @personshandle
-
No
What is the ultimate end goal vision vs the MVC1 iteration?
- Revert change made in !4203 (merged)
- Iterate on
localized.link.mixin.ts
to not add trailing slash to pdf paths
Page(s)
Which page(s) are involved in this request?
DCI
-
DRI: @laurenbarker -
Consulted: @lduggan @ndubord @hsmith-watson -
Informed: Everyone
In scope
What is within scope of this request?
-
Revert change made in !4203 (merged) -
Iterate on localized.link.mixin.ts
to not add trailing slash to pdf paths
Requirements
What are the requirements for this request? Checklist below is an example of common requirements, please check all that apply and adjust as necessary:
-
Copy writing -
Illustration -
Custom Graphics -
Research -
Data / Analytics -
UX Design -
Engineering