Skip to content

Update links on legacy DevHub #8234

Closed
mozilla/addons-server
#16656

Activity

  1. caitmuenster commented on Mar 2, 2021

    @caitmuenster
    Author
  2. Mitrajit commented on Mar 2, 2021

    @Mitrajit

    Can I work on this and send a PR? @caitmuenster @eviljeff

  3. caitmuenster commented on Mar 2, 2021

    @caitmuenster
    Author

    @Mitrajit Sure! I know you already have another PR for a good-first-issue in the works, so after you submit a PR for this issue, perhaps you'd like to work on something a little more challenging? Those issues are labeled contrib:welcome. (In particular, we could use help with this one.)

  4. Mitrajit commented on Mar 2, 2021

    @Mitrajit

    @caitmuenster Thanks a lot for guiding. Surely I will check those issues too.

  5. added this to the 2021.03.11 milestone on Mar 4, 2021
  6. ioanarusiczki commented on Mar 5, 2021

    @ioanarusiczki

    @eviljeff
    I verified on AMO dev with FF86(Win10):

    The Extension Workshop URL on the left side of Documentation will redirect to
    https://extensionworkshop-dev.allizom.org/?utm_source=addons.mozilla.org&utm_medium=referral&utm_content=devhub-menu-link -> the utm parameters are present in the address bar.

    I can see the utm parameters being present for "Extension Development", "Themes" and "Developer Policies" when I'm hovering over the URLs but when I click to open them -> ?utm parameters are not present in the address bar. Is it ok like this?

  7. eviljeff commented on Mar 8, 2021

    @eviljeff
    Member

    mmm, looks like extensionworkshop has a 301 on /develop to /develop/ (i.e. without the slash to with slash) which loses the utm params. @caitmuenster do you know if the UTM parameters are still recorded before the redirect?

  8. eviljeff commented on Mar 8, 2021

    @eviljeff
    Member

    actually probably more a question for @muffinresearch as I think it may be an eleventy thing

  9. muffinresearch commented on Mar 8, 2021

    @muffinresearch
    Contributor

    As 11ty is just a static generator it doesn't serve anything itself. All files are built as index.html files in a directory so any URLs for EW should have a trailing slash.

    As for why the 301 is dropping the query params I'll need to look into that, it's probably something related to how s3 is serving the content. There might be an option to fix that.

  10. eviljeff commented on Mar 8, 2021

    @eviljeff
    Member

    @Mitrajit would you be able to submit a follow-up patch to add / to the urls?

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

Metadata

Metadata

Assignees

Type

No type

Fields

Priority

None yet

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions