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

feat: warning on linked requirement delete #1214

Merged

Conversation

FBalint
Copy link
Contributor

@FBalint FBalint commented May 14, 2024

No description provided.

@FBalint FBalint self-assigned this May 14, 2024
Copy link

vercel bot commented May 14, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
guild-xyz ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 17, 2024 9:53am

@FBalint FBalint merged commit f899103 into dynamic-rewards May 17, 2024
3 checks passed
@FBalint FBalint deleted the guild-3031-update-warning-when-deleting-requirement branch May 17, 2024 10:21
FBalint added a commit that referenced this pull request May 23, 2024
* feat(AddRequirement): support for displaying provided dynamic value during setup

* feat(DynamicRewardModal): support value provider requirements

* extract & dynamic import DataProviderRequirement from new component

* feat: dynamic setup button & base value selector WIP

* feat: BaseValueModal with Add requirement btn

* refactor(AddRoleRewardModal): WIP

* feat(DynamicRewardModal): reward amount calculation breakdown (#1213)

* feat(DynamicRewardModal): reward amount calculation breakdown

* feat(PointsReward): calculate dynamic reward amount

* fix(PointsReward): add optional chaining

* refactor(PointsReward): batch score calculation into memo fn with early return

* fix(PointsReward): "some" fallback if the role is not held

* cleanup: remove useMembership changes, use existing prop

* abstract into useDynamicRewardUserAmount hook

* DynamicRewardCalculationTable: add not connected fallback

* UI: move DynamicTag to same row if there's enough space & modal info footer whitespace

* fix(CalculationTable): handle fallback if connected but there's no provided value

---------

Co-authored-by: valid <valid@zgen.hu>

* feat: warning on linked requirement delete (#1214)

* feat: warning on linked requirement delete

* refactor: extract ExistingRequirementDeleteAlert & useHasLinkedReward

---------

Co-authored-by: valid <valid@zgen.hu>

* feat: submit dynamic point reward

* fix: show images on conversion step & minor fixes

* feat: EditDynamicRewardModal

* fix: display conversion value flooring warning message only when necessary

* fix: round down point amount

* feat(InformationModal): info modal in dynamic reward setup

* fix(InformationModal): light mode for illustration

* fix: lint error

* refactor: use AddRewardContext instead of jotai atom for target role

* dynamic points setup into SetPointsAmount

* UI: whitespace impros & shadow to border

* cleanup(AddPointsPanel): variables order

* UI(DynamicRewardModal): footerBg impros

* fix(AddPointsPanel): disable continue btn if baseValue is not set

* fix: minor copy change

* fix(BaseValueModal): better copy about base values provided by reqs

* pass targetRoleId to provider as prop, adjust disabled tooltip copy

* feat(RolePlatforms): display dynamic tag on edit role panel

---------

Co-authored-by: valid <valid@zgen.hu>
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