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

Lookup authority fields automatically #83

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

Conversation

dabreegster
Copy link
Collaborator

  • Make sure the autocomplete and auto-fill behavior feels natural
  • Sanity check the lists

@@ -50,7 +50,7 @@
<Select
label="Authority"
emptyOption
choices={pairs(authorities)}
choices={authorities.map(([a, x, y]) => [a, a])}
Copy link
Collaborator

Choose a reason for hiding this comment

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

it's slightly more verbose but it might be nicer if it was
[a, x, y] -> [authority, combined_authority, region]
bit clearer imo`

Copy link
Collaborator

@Pete-Y-CS Pete-Y-CS left a comment

Choose a reason for hiding this comment

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

Looks good although I'd prefer optionally some more verbose variable names

@dabreegster
Copy link
Collaborator Author

Problem is, the list from Power BI does not match stuff in the Inspectorate Tracker. I'll send that file in chat

@dabreegster
Copy link
Collaborator Author

Thanks, I'll clean up the var names later on. Moving to draft until the differing authority list problem is resolved

@dabreegster dabreegster marked this pull request as draft August 14, 2024 09:27
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.

2 participants