Skip to content

Add aliases to room/location string representation#3868

Merged
johannaengland merged 1 commit intoUninett:masterfrom
johannaengland:polish/add-alias-to-string-representation
Mar 19, 2026
Merged

Add aliases to room/location string representation#3868
johannaengland merged 1 commit intoUninett:masterfrom
johannaengland:polish/add-alias-to-string-representation

Conversation

@johannaengland
Copy link
Copy Markdown
Contributor

Scope and purpose

This was originally added in #3851 (also dependent on it), but since it sparked some discussion I decided to split it from there and create a separate PR where we can discuss it without blocking any other PRs.

This change influences:

This list is not exhaustive and should be filled out properly to make this an informed decision.

Contributor Checklist

Every pull request should have this checklist filled out, no matter how small it is.
More information about contributing to NAV can be found in the
Hacker's guide to NAV.

  • Added a changelog fragment for towncrier
  • Added/amended tests for new/changed code
  • Added/changed documentation
  • Linted/formatted the code with ruff, easiest by using pre-commit
  • Wrote the commit message so that the first line continues the sentence "If applied, this commit will ...", starts with a capital letter, does not end with punctuation and is 50 characters or less long. See https://cbea.ms/git-commit/
  • Based this pull request on the correct upstream branch: For a patch/bugfix affecting the latest stable version, it should be based on that version's branch (<major>.<minor>.x). For a new feature or other additions, it should be based on master.
  • If applicable: Created new issues if this PR does not fix the issue completely/there is further work to be done
  • If it's not obvious from a linked issue, described how to interact with NAV in order for a reviewer to observe the effects of this change first-hand (commands, URLs, UI interactions)
  • If this results in changes in the UI: Added screenshots of the before and after
  • If this adds a new Python source code file: Added the boilerplate header to that file

@johannaengland johannaengland requested review from a team, Simrayz and lunkwill42 March 18, 2026 15:44
@johannaengland johannaengland self-assigned this Mar 18, 2026
@johannaengland johannaengland added the discussion Requires developer feedback/discussion before implementation label Mar 18, 2026
@codecov
Copy link
Copy Markdown

codecov bot commented Mar 18, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 63.74%. Comparing base (eb92f4c) to head (05aea9b).
⚠️ Report is 2 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #3868   +/-   ##
=======================================
  Coverage   63.74%   63.74%           
=======================================
  Files         624      624           
  Lines       46148    46154    +6     
  Branches       43       43           
=======================================
+ Hits        29417    29421    +4     
- Misses      16721    16723    +2     
  Partials       10       10           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@johannaengland johannaengland linked an issue Mar 19, 2026 that may be closed by this pull request
Copy link
Copy Markdown
Contributor

@hmpf hmpf left a comment

Choose a reason for hiding this comment

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

Approved, but needs follow-up issues as per f2f discussion

@johannaengland johannaengland force-pushed the polish/add-alias-to-string-representation branch from 7f0a5b2 to 05aea9b Compare March 19, 2026 12:11
@sonarqubecloud
Copy link
Copy Markdown

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

Labels

discussion Requires developer feedback/discussion before implementation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Show location aliases in location list in SeedDB

3 participants