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

fix: replace ticket types ddl with uicore component #540

Merged
merged 11 commits into from
Dec 20, 2024

Conversation

tomrndom
Copy link

@tomrndom tomrndom requested a review from smarcet November 13, 2024 14:49
placeholder={T.translate(
"ticket_list.placeholders.ticket_types"
)}
name="ticketTypesFilter"
value={ticketFilters.ticketTypesFilter}
onChange={(val) =>
this.handleFilterChange("ticketTypesFilter", val)
onChange={(ev) =>
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lets create a helper method to translate the value retrieved by TicketTypesInput to the ones expected by the actions ( rollback action changes )
also review ticket action https://github.com/fntechgit/summit-admin/pull/540/files#diff-e34888831de52961fbe9061efcda081680b4ff79c8211c5b93069c37b2879c2eR199

@smarcet smarcet self-requested a review November 18, 2024 15:34
Copy link

@smarcet smarcet left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@tomrndom review comments
also review use

ticketTypes = currentSummit.ticket_types.filter(

lets use the uicore version of the method as stated on the tix description or lets create our own vesion
and on case like

https://github.com/fntechgit/summit-admin/blob/master/src/components/forms/tax-type-form.js#L105

that use a SimpleLinkList

use query action queryTicketTypes from uicore

@tomrndom tomrndom force-pushed the hotfix/ticket-types-ddl branch from c34ca28 to f3b429b Compare November 20, 2024 20:31
@tomrndom tomrndom force-pushed the hotfix/ticket-types-ddl branch from 52d9170 to 7ae3823 Compare December 18, 2024 14:42
Copy link

@smarcet smarcet left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@smarcet smarcet merged commit 420deab into master Dec 20, 2024
6 checks passed
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