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

TASK: Implement INavigationManager to replace deprecated DotNetNuke.Common.Globals.NavigateURL() #675

Merged

Conversation

johnhenley
Copy link
Collaborator

Description of PR...

As part of our modernization efforts, we are consolidating the URL handling that is spread throughout the module's codebase.
We also want to stay aligned with DNN platform concepts. That includes modernizing our code from using NavigateUrl() to using dependency injection and our own INavigationManager.

Changes made

  • IImplement INavigationManager
  • Replace calls to DotNetNuke.Common.Globals.NavigateURL().

How did you test these updates?

tested various forums functionality on local install

PR Template Checklist

  • Fixes Bug
  • Feature solution
  • Other
  • Requires documentation updates
  • I've updated the documentation already

Please mark which issue is solved

Close #378

@johnhenley johnhenley added dependencies Pull requests that update a dependency file technical debt Issue that doesn't directly affect usability but will improve technical debt posture labels Feb 23, 2024
@johnhenley johnhenley added this to the 08.01.00 milestone Feb 23, 2024
@johnhenley johnhenley self-assigned this Feb 23, 2024
@johnhenley johnhenley changed the title ENH: Implement INavigationManager to replace deprecated DotNetNuke.Common.Globals.NavigateURL() TASK: Implement INavigationManager to replace deprecated DotNetNuke.Common.Globals.NavigateURL() Feb 23, 2024
Copy link
Member

@WillStrohl WillStrohl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

@WillStrohl WillStrohl merged commit cd36bd3 into DNNCommunity:dev Feb 29, 2024
1 check passed
@johnhenley johnhenley deleted the dev81/1-refactoring/6-navigationmanager branch March 1, 2024 00:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file technical debt Issue that doesn't directly affect usability but will improve technical debt posture
Projects
None yet
Development

Successfully merging this pull request may close these issues.

TASK: Replace NavigateUrl() with an INavigationManager implementation
2 participants