Skip to content

feat: select cTribNac from official catalog - #347

Merged
vitormattos merged 4 commits into
mainfrom
feat/337-national-service-selector
Oct 8, 2026
Merged

vitormattos merged 4 commits into
mainfrom
feat/337-national-service-selector

Conversation

@vitormattos

Copy link
Copy Markdown
Member

Summary

Implements the next slice of #337.

  • replaces the free-text cTribNac field with the existing searchable select UI;
  • loads the complete official national-service catalog offline;
  • displays code - official description;
  • preserves existing persisted codes, including a visible legacy fallback if a saved code is not present in the current catalog;
  • keeps LC 116 and cTribNac independent: no automatic correlation is introduced;
  • adds runtime-contract and feature coverage.

Dependency

Depends on LibreCodeCoop/nfse-php#93, which exposes OfficialDomainCatalog::searchNationalServices().

The scoped runtime is temporarily pinned to that PR commit and must be repinned to the merge commit after #93 lands.

Related: #337

Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
@vitormattos
vitormattos marked this pull request as ready for review October 8, 2026 02:46
@vitormattos
vitormattos merged commit a30d6cc into main Oct 8, 2026
14 checks passed
@vitormattos
vitormattos deleted the feat/337-national-service-selector branch October 8, 2026 02:47
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.

1 participant