Skip to content

[HOLD for payment 2023-10-30] DRY up the logic for the backTo param in ROUTES.ts #29799

Closed

Description

@tgolen

Problem

There is repeated code in ROUTES.ts that adds an optional backTo parameter to URLs.

Why is this important?

If it is not DRY, then is more difficult to maintain and keep consistent

Solution

Move the code into a method called addBackToParam() that is used in the routes that need it

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~01c7e63f69a8031ac1
  • Upwork Job ID: 1714329935530221568
  • Last Price Increase: 2023-10-17

Activity

  1. self-assigned this
    on Oct 17, 2023
  2. added
    Weekly
    Internal
    on Oct 17, 2023
  3. melvin-bot commented on Oct 17, 2023

    @melvin-bot
  4. melvin-bot commented on Oct 17, 2023

    @melvin-bot

    Triggered auto assignment to Contributor Plus for review of internal employee PR - @Ollyws (Internal)

  5. added
    Reviewing
    Weekly
    and removed
    Weekly
    on Oct 17, 2023
  6. melvin-bot commented on Oct 21, 2023

    @melvin-bot

    ⚠️ Looks like this issue was linked to a Deploy Blocker here

    If you are the assigned CME please investigate whether the linked PR caused a regression and leave a comment with the results.

    If a regression has occurred and you are the assigned CM follow the instructions here.

    If this regression could have been avoided please consider also proposing a recommendation to the PR checklist so that we can avoid it in the future.

  7. added
    Weekly
    Awaiting Payment
    and removed
    Weekly
    on Oct 23, 2023
  8. changed the title [-]DRY up the logic for the backTo param in ROUTES.ts[/-] [+][HOLD for payment 2023-10-30] DRY up the logic for the backTo param in ROUTES.ts[/+] on Oct 23, 2023
  9. 10 remaining items

  10. Ollyws commented on Oct 30, 2023

    @Ollyws
    Contributor

    There was a regression on this PR, happy to take the hit for it because I really should have spotted it.

  11. tgolen commented on Oct 30, 2023

    @tgolen
    ContributorAuthor
  12. tgolen commented on Nov 1, 2023

    @tgolen
    ContributorAuthor

    I think I'll just close this out then without payment.

  13. Ollyws commented on Nov 1, 2023

    @Ollyws
    Contributor

    @tgolen Should the C+ not be paid 50% of the original compensation, or did you mean for that to be handled in the regression issue?

  14. tgolen commented on Nov 1, 2023

    @tgolen
    ContributorAuthor

    I am so sorry about that! I needed to read up on the payment rules for regressions. I'm reopening this and @kevinksullivan can you please pay @Ollyws 50% of the original compensation.

  15. reopened this on Nov 1, 2023
  16. tgolen commented on Nov 6, 2023

    @tgolen
    ContributorAuthor

    bump @kevinksullivan Can you please help with payment here?

  17. tgolen commented on Nov 7, 2023

    @tgolen
    ContributorAuthor

    Pinged Kevin 1:1

  18. kevinksullivan commented on Nov 7, 2023

    @kevinksullivan
    Contributor

    offer sent @Ollyws , let me know when you accept!

  19. Ollyws commented on Nov 7, 2023

    @Ollyws
    Contributor

    @kevinksullivan Accepted, thanks!

  20. kevinksullivan commented on Nov 7, 2023

    @kevinksullivan
    Contributor

    all set!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Awaiting PaymentBugDailyEngineeringInternal

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions