Add "Quick Actions" to cards in Shipping page#161
Open
sol3uk wants to merge 2 commits intocommunitycenter:mainfrom
Open
Add "Quick Actions" to cards in Shipping page#161sol3uk wants to merge 2 commits intocommunitycenter:mainfrom
sol3uk wants to merge 2 commits intocommunitycenter:mainfrom
Conversation
|
@sol3uk is attempting to deploy a commit to the stardew Team on Vercel. A member of the Team first needs to authorize it. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
I found myself struggling to quickly input my save data into the app, so I figured I'd make my life a bit easier!
This PR adds the ability to quickly increment the value of any card by simply clicking the "plus" button next to the card.
This has been implemented in a way that allows extensibility and reuse across the app. (it could be quite useful for the museum etc where you only need to mark things as "collected" etc)
Obviously this doesn't have to stop with a simple "increment by one" but I thought I'd just keep it simple for now, so that code owners can see what they think first.
I didn't know what your thoughts might be on styling, the button will inherit the color of the card, not sure if this is preferred? But I thought it looked alright so I left it as is.
Hope this is useful!