Skip to content

Slugs#13

Merged
gne merged 3 commits intomainfrom
gne-slugs
Dec 10, 2025
Merged

Slugs#13
gne merged 3 commits intomainfrom
gne-slugs

Conversation

@gne
Copy link
Copy Markdown
Contributor

@gne gne commented Dec 10, 2025

No description provided.

@gne gne requested review from Copilot and havtorr December 10, 2025 11:50
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR adds URL-friendly slug fields to three key models (Enhet, Mappe, and Registrering) to enable more readable and SEO-friendly URLs. The slugs follow a standardized pattern of lowercase alphanumeric characters and hyphens.

Key Changes:

  • Added optional slug field with pattern validation to Enhet, Mappe, and Registrering models
  • Applied consistent documentation and validation pattern across all three models
  • Minor formatting improvements to improve code readability

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@gne gne merged commit f6a887b into main Dec 10, 2025
1 check failed
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.

3 participants