-
Notifications
You must be signed in to change notification settings - Fork 1.8k
feat: Make Event Saving, Draft Mode, Publishing Clearer #4942
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
Conversation
This pull request is being automatically deployed with Vercel (learn more). 🔍 Inspect: https://vercel.com/eventyay/open-event-frontend/655ziwvf5 |
@iamareebjamal I have currently made changes for only first step wizard, if these changes are ok then I will proceed. |
Codecov Report
@@ Coverage Diff @@
## development #4942 +/- ##
===============================================
- Coverage 22.82% 22.82% -0.01%
===============================================
Files 485 485
Lines 5148 5170 +22
Branches 21 21
===============================================
+ Hits 1175 1180 +5
- Misses 3969 3986 +17
Partials 4 4
Continue to review full report at Codecov.
|
adding preiew url on this page is giving error and blocking from publishing events. |
adding cancel button without creating an event is not working, it can be added from the second wizard step or when user is not editing event first time. |
@iamareebjamal I need help with this issue, like what should be the approach, is my approach right or any other efficient way?
|
we can add a cancel and preview button once event is saved or published, but no way to know that event is saved at least once. can I add these buttons when |
Yes, that is expected. This is why the option in this case should be a "Discard" button. Eventbrite handles this in the same way. As long as an event is not "Saved as Draft" there can be no preview and it cannot be cancelled. Any information can only be discarded as long as the event is not saved. |
Like I mentioned in the issue, |
it's working now, thanks @iamareebjamal |
Do i need to ad this in every wizard step, or it will be only in first step? |
Co-authored-by: Areeb Jamal <jamal.areeb@gmail.com>
This pull request introduces 1 alert when merging 3dfe4d2 into 112b8b3 - view on LGTM.com new alerts:
|
@maze-runnar Update? |
This pull request introduces 1 alert when merging a218fda into 323c503 - view on LGTM.com new alerts:
|
@@ -39,6 +39,10 @@ export default Component.extend(FormMixin, EventWizardMixin, { | |||
return !!this.data.event.codeOfConduct; | |||
}), | |||
|
|||
ticketsPresent: computed('data.event.tickets.@each', function() { | |||
return this.data.event.tickets.length > 0; | |||
}), |
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 is present in all 3 components
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.
where i should put it?
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.
can I put it in event-wizard in mixins? Will it work from there for all these components?
@maze-runnar Your repo is deleted. I can't pull in changes to test |
can't it be tested on deployment URL please, or I have to create a new PR. |
I have to make changes and I can't do that unless I pull te changes |
ok so I will create a new PR. |
go to #5011 |
Fixes #4673
Checklist
development
branch.