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

feat: Show organisation name in HTML title #3814

Merged
merged 1 commit into from
Apr 19, 2024

Conversation

rolodato
Copy link
Contributor

@rolodato rolodato commented Apr 19, 2024

Thanks for submitting a PR! Please check the boxes below:

  • I have run pre-commit to check linting
  • I have added information to docs/ if required so people know about the feature!
  • I have filled in the "Changes" section below?
  • I have filled in the "How did you test this code" section below?
  • I have used a Conventional Commit title for this Pull Request

Changes

Add the organisation name to the HTML title.

This makes it easier to find URLs to specific organisations by searching for them in browser history, bookmarks, chat/email/etc, since the URLs on their own only have numbers like /sales-dashboard/organisations/4.

There are smarter ways to implement this but it works and YAGNI applies until we need to customise a different page's title.

How did you test this code?

Manually, inspecting HTML titles on different pages.

Copy link

vercel bot commented Apr 19, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 19, 2024 4:08pm
flagsmith-frontend-preview ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 19, 2024 4:08pm
flagsmith-frontend-staging ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 19, 2024 4:08pm

@rolodato rolodato force-pushed the feat/sales-dashboard-titles branch from 846f713 to 6b50349 Compare April 19, 2024 16:03
Copy link
Contributor

github-actions bot commented Apr 19, 2024

Uffizzi Preview deployment-50515 was deleted.

@codecov-commenter
Copy link

codecov-commenter commented Apr 19, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 95.93%. Comparing base (18d8214) to head (6b50349).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #3814   +/-   ##
=======================================
  Coverage   95.93%   95.93%           
=======================================
  Files        1103     1103           
  Lines       34801    34801           
=======================================
  Hits        33386    33386           
  Misses       1415     1415           

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

@rolodato rolodato marked this pull request as ready for review April 19, 2024 16:20
@rolodato rolodato added this pull request to the merge queue Apr 19, 2024
Merged via the queue into main with commit ccfe3c3 Apr 19, 2024
39 checks passed
@rolodato rolodato deleted the feat/sales-dashboard-titles branch April 19, 2024 16:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api Issue related to the REST API
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants