Skip to content

SearchResultItem: provide better description labels - #148

Draft
danirabbit wants to merge 2 commits into
mainfrom
danirabbit/searchresultitem-betterdescriptions
Draft

SearchResultItem: provide better description labels#148
danirabbit wants to merge 2 commits into
mainfrom
danirabbit/searchresultitem-betterdescriptions

Conversation

@danirabbit

@danirabbitdanirabbit commented Jul 14, 2025

Copy link
Copy Markdown
Member

Trying to make better descriptions. Some problems:

  • If I'm looking up a bar, restaurant, point of interest, etc I probably want an address. Some of these things don't have an address though, so we need a way to fall back to more broad information. So we can't just use a case statement based on place type
  • Towns/Cities don't have street info. They need something way less granular
  • Something like the "Pacific Ocean", what do you even write for this?
  • It doesn't appear we have continent information so no idea what to write about countries
  • Do we need to localize delimiters individually? In English I think a comma is pretty much okay across the board. But what about other locales?

Todo:

  • Probably make this a function of its own

@danirabbitdanirabbit moved this to Needs Discussion in OS 9Jul 14, 2025
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Needs Discussion

Development

Successfully merging this pull request may close these issues.

1 participant

@danirabbit