Skip to content

Conversation

@antontranelis
Copy link
Member

@antontranelis antontranelis commented Oct 7, 2025

Support for public maps which hides specific information.

  • This PR sets proper fallback values in cases where the backend is not providing specific fields, like ...
    • Name
    • Text
    • Gallery
    • User Created
  • reload items on login/logout

@antontranelis antontranelis changed the title feat(lib): blanked out maps support [WIP] feat(lib): blanked out maps support Oct 7, 2025
@antontranelis antontranelis changed the title [WIP] feat(lib): blanked out maps support feat(lib): blanked out maps support Oct 8, 2025
<Tooltip offset={[0, -38]} direction='top'>
{item.name}
{item.name ||
(item.layer?.name.endsWith('s') ? item.layer.name.slice(0, -1) : item.layer?.name)}
Copy link
Member

Choose a reason for hiding this comment

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

We agreed to use a field like defaultName or nameDefault instead of a hacky slice.

@antontranelis antontranelis merged commit e261d68 into main Oct 9, 2025
24 checks passed
@antontranelis antontranelis deleted the blanked-out-map branch October 9, 2025 13:50
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.

4 participants