Skip to content

Drop unused tags-scanned count and howToUse; tighten ItemTag labels#51

Merged
dadachi merged 1 commit intosubstrate-v2from
substrate-v2--drop-tags-scanned-tighten-itemtag-labels
Apr 28, 2026
Merged

Drop unused tags-scanned count and howToUse; tighten ItemTag labels#51
dadachi merged 1 commit intosubstrate-v2from
substrate-v2--drop-tags-scanned-tighten-itemtag-labels

Conversation

@dadachi
Copy link
Copy Markdown
Contributor

@dadachi dadachi commented Apr 28, 2026

Summary

  • Drop scannedItemTagsCount from Shop model, adapter, demo repo, and tests; remove the "tags scanned by customers" stat from ShopListCardView.
  • Replace ShopDetailView "Learn More" link with a left-aligned shopDetailInstruction ("Swipe an item tag to change its status.").
  • Swap the OnboardingView "How to use" link for the Support Website link; trim onboarding from 13 to 8 descriptions and drop unused String(localized:) wrap.
  • Normalize ItemTag string keys: editTag/addTag/deleteTag/etc. → editItemTag/addItemTag/deleteItemTag/etc.
  • Drop unused constants: howToUseUrl, learnMore, createShops, createTags.

Ports https://github.com/nativeapptemplate/NativeAppTemplate-iOS/pull/61.

Test plan

  • make lint passes
  • Build & run; verify ShopDetailView shows the new instruction text, left-aligned
  • Verify Onboarding shows the Support Website link in the toolbar and 8 description pages
  • Verify ShopListCardView no longer shows the scanned tags row
  • Verify ItemTag create/edit/delete labels read "Item Tag" everywhere
  • Run unit tests in Xcode (Cmd+U)

- Drop scannedItemTagsCount from Shop model, adapter, demo repo, and tests; remove the "tags scanned by customers" stat from ShopListCardView.
- Replace ShopDetailView "Learn More" link with a left-aligned shopDetailInstruction ("Swipe an item tag to change its status.").
- Swap the OnboardingView "How to use" link for the Support Website link; trim onboarding from 13 to 8 descriptions and drop unused String(localized:) wrap.
- Normalize ItemTag string keys: editTag/addTag/deleteTag/etc. -> editItemTag/addItemTag/deleteItemTag/etc.
- Drop unused constants: howToUseUrl, learnMore, createShops, createTags.
@dadachi dadachi merged commit 35ab5f0 into substrate-v2 Apr 28, 2026
2 checks passed
@dadachi dadachi deleted the substrate-v2--drop-tags-scanned-tighten-itemtag-labels branch April 28, 2026 08:24
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