Skip to content

Conversation

maze-runnar
Copy link
Contributor

@maze-runnar maze-runnar commented Nov 4, 2019

Fixes #3592

Short description of what this resolves:

In event dashboard there was a weird vertical shift on clicking the publish button . I fixed this by adding an extrra condition to check is unverified-user-message is available or not .

Changes proposed in this pull request:

ezgif com-gif-maker
in http://localhost:4200/events/d48cc85c/export also -
ezgif com-gif-maker (1)

Checklist

  • I have read the Contribution & Best practices Guide.
  • My branch is up-to-date with the Upstream development branch.
  • The acceptance, integration, unit tests and linter pass locally with my changes
  • I have added tests that prove my fix is effective or that my feature works
  • I have added necessary documentation (if appropriate)

@maze-runnar
Copy link
Contributor Author

maze-runnar commented Nov 4, 2019

@kushthedude sir please check it ?

{{unverified-user-message}}
{{#if unverified-user-message}}
{{#if (or (eq session.currentRouteName 'events.view.index') (eq session.currentRouteName 'events.view.export'))}}
{{#if (eq model.state 'draft')}}
Copy link
Member

Choose a reason for hiding this comment

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

Make the above if merge with this.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I am not understanding, what you are saying?can you please explain?

Make the above if merge with this.

Copy link
Member

Choose a reason for hiding this comment

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

Merge the top if with this if

Copy link
Contributor Author

Choose a reason for hiding this comment

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

ok

@maze-runnar
Copy link
Contributor Author

@kushthedude please check it ?

@@ -1,5 +1,5 @@
{{#if (or (eq session.currentRouteName 'events.view.index') (eq session.currentRouteName 'events.view.export'))}}
{{#if (eq model.state 'draft')}}
{{#if (and (eq model.state 'draft') (unverified-user-message))}}
Copy link
Member

Choose a reason for hiding this comment

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

Can you please provide a GIF showing this change?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Can you please provide a GIF showing this change?

ezgif com-gif-maker (2)
it's working fine .

@kushthedude
Copy link
Member

Also make Fix fix

@maze-runnar maze-runnar changed the title Fix: fixing weird vertical shift in event dashboard fix: fixing weird vertical shift in event dashboard Nov 6, 2019
@auto-label auto-label bot added the fix label Nov 6, 2019
@maze-runnar
Copy link
Contributor Author

i have got a problem here. I don't know why local host is showing that there are no upcoming events and my login is showing invalid credentials . So i created a new account but did not recieve a verfication mail yet .
And that's why i am not able to open any event dashboard. Can you please suggest me anything ?

@maze-runnar
Copy link
Contributor Author

Screenshot from 2019-11-06 09-20-50

@kushthedude
Copy link
Member

Which server are you using?

@maze-runnar
Copy link
Contributor Author

@kushthedude
Copy link
Member

kushthedude commented Nov 6, 2019 via email

@iamareebjamal
Copy link
Member

Server was reset, so it doesn't have any data yet. Including the SMTP config. Will add credentials today

@maze-runnar
Copy link
Contributor Author

Ok .

@kushthedude kushthedude closed this Nov 6, 2019
@kushthedude kushthedude reopened this Nov 6, 2019
@maze-runnar
Copy link
Contributor Author

@kushthedude i am still not able to login .

@maze-runnar
Copy link
Contributor Author

it is not sending verification mail for localhost .

@iamareebjamal
Copy link
Member

Try again

@maze-runnar
Copy link
Contributor Author

it's working fine now .

@maze-runnar
Copy link
Contributor Author

@kushthedude please review this .

@iamareebjamal iamareebjamal merged commit 64f650d into fossasia:development Nov 17, 2019
@kushthedude
Copy link
Member

it's working fine now .

Are you sure it was working fine ?

@kushthedude
Copy link
Member

@maze-runnar Did you updated the GIF in your PR description after you made changes ?

@maze-runnar
Copy link
Contributor Author

@maze-runnar Did you updated the GIF in your PR description after you made changes ?

i did .

@maze-runnar
Copy link
Contributor Author

it's working fine now .

Are you sure it was working fine ?

yes it was .

@kushthedude
Copy link
Member

kushthedude commented Nov 20, 2019 via email

@maze-runnar
Copy link
Contributor Author

No it is not working.

On Wed, 20 Nov, 2019, 14:47 Sundaram Dubey, @.***> wrote: it's working fine now . Are you sure it was working fine ? yes it was . — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub <#3601?email_source=notifications&email_token=AKQMTLVFGZVR27RX3SHIYVDQUT6DDA5CNFSM4JIPSPHKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEERJHDI#issuecomment-555914125>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKQMTLU2MW5NCIFDAUZVSNLQUT6DDANCNFSM4JIPSPHA .

but i cheked properly 😕

@maze-runnar maze-runnar deleted the patch-6 branch November 20, 2019 09:32
@kushthedude
Copy link
Member

kushthedude commented Nov 20, 2019 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Event Dashboard: Weird vertical displacement on Unpublishing Event

3 participants