Skip to content

fixing modal visibility issue#7191

Closed
ghost wants to merge 1 commit intodevelopfrom
unknown repository
Closed

fixing modal visibility issue#7191
ghost wants to merge 1 commit intodevelopfrom
unknown repository

Conversation

@ghost
Copy link
Copy Markdown

@ghost ghost commented Nov 17, 2016

As a user viewing my stream, when I click on "You can search or invite more contacts.", the modal backdrop appears but the modal content is invisible. This is because the element containing the modal in the sidebar is hidden until the "invite" section is uncollapsed.

This PR moves the modal to :after_content.

@svbergerem
Copy link
Copy Markdown
Member

Nice catch! Could you add a test for this? One similar to this test would be great, where you just click on the other link to open the invitation modal.

Copy link
Copy Markdown
Member

@svbergerem svbergerem left a comment

Choose a reason for hiding this comment

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

I just had two minor remarks.

Please squash your commits so we only have one commit at the end. Putting different behavior changes in different commits is a great thing but in this case it is just one change and a test for it. As long as you are still working on something you may of course have commits fixing/extending stuff from earlier commits.

Comment thread features/desktop/invitations.feature Outdated
Then I should have 1 Devise email delivery
And I should not see "change your notification settings" in the last sent email

Scenario: sends an invitation from a page link
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

sends an invitation from the stream

Comment thread features/desktop/invitations.feature Outdated

Scenario: sends an invitation from a page link
When I sign in as "alice@alice.alice"
And I click on selector "a.invitations-link"
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I'd prefer And I click on "invite" within "#no_contacts". In the sidebar we also have the invitations-link class but in that case it is a div. This could be confusing.

@svbergerem
Copy link
Copy Markdown
Member

Merged as c7a0b05. Thank you!

@svbergerem svbergerem added this to the 0.6.2.0 milestone Nov 17, 2016
@Flaburgan
Copy link
Copy Markdown
Member

Thanks and congrats for these first pull requests :D

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