Skip to content

!![TASK] Improve interlink slug and warning handling #806

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

Merged
merged 4 commits into from
Jan 14, 2024
Merged

Conversation

linawolf
Copy link
Contributor

@linawolf linawolf commented Jan 6, 2024

  • Add tests
  • Improve method names, some have been misleading
  • Always Slug anchors
  • Do not slug document names (they can be case sensitive etc)

This change is breaking for those who extended inventory handling (that should only be TYPO3).

@linawolf linawolf requested a review from jaapio January 6, 2024 13:52
@linawolf linawolf self-assigned this Jan 6, 2024
@linawolf
Copy link
Contributor Author

@jaapio could you review please?

Copy link
Member

@jaapio jaapio left a comment

Choose a reason for hiding this comment

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

I have a few questions and a remark regarding the way you are using exceptions. I must admit that I find it hard to follow what is happening in this part of the code as i'm not very familiar with the interlink code. So please let me know when you think different.

@linawolf linawolf changed the title !![TASK] Improve interlink slug and exception handling !![TASK] Improve interlink slug and warning handling Jan 13, 2024
@linawolf
Copy link
Contributor Author

@jaapio please have a look if I applied all changes you intended

Copy link
Member

@jaapio jaapio left a comment

Choose a reason for hiding this comment

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

Thanks this looks very nice

- Add tests
- Improve method names, some have been misleading
- Always Slug anchors
- Do not slug document names (they can be case sensitive etc)

This change is breaking for those who extended inventory handling (that should only be TYPO3).
@jaapio jaapio enabled auto-merge January 14, 2024 15:48
@jaapio jaapio merged commit d54f8a4 into main Jan 14, 2024
@jaapio jaapio deleted the task/interlink branch January 14, 2024 15:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants