Skip to content

Added hideToggles option - #3

Open
sash wants to merge 43 commits into
DigitalCloud:masterfrom
ampeco:master
Open

sash wants to merge 43 commits into
DigitalCloud:masterfrom
ampeco:master

Conversation

@sash

@sash sash commented Mar 27, 2019

Copy link
Copy Markdown

No description provided.

@mohrajab

Copy link
Copy Markdown

Hello @sash
Thank you for your contribution, and Sorry for late response, cause some of our staff leave, and following our GitHub issues, and pull request have to re assign to another.

According to your commit, I make a quick revision by the code. I have some unclear points regarding them. Therefore, can you please at first update the Read Me file, so that me and others can understand what are the new added features is, and how we can use it. Then we can discuss other points.
Thank you for contribution, and again sorry for our late response, and I'm looking forward to hear from you and to work together soon.

Regards

bobbyborisov and others added 22 commits May 19, 2022 17:21
…dd-time-zone-option-in

add: timezone autoselect functionality using google timezone api [sc-…
…dinates instead of google timezone api [sc-49574]
daniel-valchev-ampeco and others added 14 commits July 3, 2024 11:53
…nting-and-prevent-multiple-pins

Display pin on mounting and prevent multiple pins on selecting address from autocomplete
# Conflicts:
#	main/app/Http/Controllers/App/Bootstrap/OperatorSettingsController.php
#	main/app/Http/DataTransferObjects/App/OperatorSettingsApiData.php
#	main/tests/Feature/App/Settings/OperatorSettingsApiTest.php
Make the AddressField support dependent Nova fields + the countries property can be reactive
Resolved dist/js/field.js with the nova5 build (matches what the backend runs). FormField.vue auto-merged, so master's state/city fix is in source but NOT yet compiled into dist — rebuild dist against the Nova 5 toolchain as a follow-up to ship it.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018hP4VdTDdpTnzZ9KDcpvwR
… [sc-1152788]

The picker emitted an unscoped `state-value` for countries with predefined
states, and emitted only `-value` (never `-change`) for the other derived
fields. Nova subscribes form fields to `<formUniqueId>-<attribute>-value` and
resolves `dependsOn` exclusively off `<formUniqueId>-<attribute>-change`, so
neither reached its target:

- the consuming app's state Select was never shown or populated, because its
  `dependsOn(['country'])` never fired, and
- the value carried Google's long administrative-area name rather than the
  short code that state validation expects.

Emit `<formUniqueId>-<region>_state-value` / `-change` with the short code for
region-state countries, keep the scoped `<region>` events for the rest, and add
the matching `-change` emits for countryCode, country, locality, address,
street address and postal code.

This restores behaviour that had been carried as a downstream composer patch in
the consuming application. The patch was dropped on the assumption it was
already compiled into the v2.0 dist; it was not, which broke location creation
for countries with predefined states.

dist/js/field.js is edited in place rather than regenerated: `yarn production`
currently fails in this repo because package.json lacks the `uid` and `vuex`
deps that Nova 5's mixins require. Rebuilding the bundle needs that fixed first
and is deliberately kept out of this fix.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DnAqcq511BKjBg3BHmMAsP
…-emit

fix: emit form-scoped state and change events from the address picker…
…er one key [sc-1172155]

Autocomplete mapped administrative_area_level_1 to the city for countries without
a predefined state list and wrote the street to a misspelled streetAaddress key
that the translated street address branch never read.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012tencr2W3w3G294YEND9ym
…ty-and-street-address

fix: derive city from locality components and emit street address under one key [sc-1172155]
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.

8 participants