-
Notifications
You must be signed in to change notification settings - Fork 1
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: Create-fundraiser now a project specific route #153
base: main
Are you sure you want to change the base?
Conversation
Visit the preview URL for this PR (updated for commit b96211d): https://ignite-new--pr153-feat-create-fundrais-fesicpsu.web.app (expires Thu, 16 Jun 2022 14:09:56 GMT) 🔥 via Firebase Hosting GitHub Action 🌎 |
@Matthews3301 afaik we should filter the selling coins list (i.e. total quantity for sale) by The filtering should be in the form of: The paying coins list on the other hand is just a subset from total supply. Currently we subtract whatever is selected for selling coin so to avoid having equal denom for selling and paying. Is this accurate @fadeev ? |
@@ -141,9 +146,9 @@ const state = reactive(initialState) | |||
|
|||
// lifecycles | |||
onMounted(() => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This other PR is already tackling this code block. Maybe would be better to wait for that one to be merged as well.
@marinhoarthur okay, so "selling coins list" - I'll add projectId filtering in this PR, shall I? |
@marinhoarthur yes, it is. Thanks! |
@@ -254,7 +247,9 @@ const isVoucherPriceGreaterThanZero = computed<boolean>(() => | |||
) | |||
const hasAnyBalance = computed<boolean>( | |||
() => | |||
(isFetchedBalances.value && balances.value && balances.value.length > 0) || | |||
(isFetchedBalances.value && | |||
filteredBalances.value && |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We can omit this condition
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated
Co-authored-by: Jose Felix <jfelx@outlook.com>
…inbits/ignite-ui into feat/create-fundraiser-route
"Create fundraiser" page now uses a project specific url route. This helps with populating project name in the breadcrumbs.
@marinhoarthur should we filter available denoms in "Price per voucher" by
/${projectId}/
?Closes #140