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 integrations sidebar #13011

Merged
merged 4 commits into from Aug 15, 2019
Merged

Conversation

alexandraciobica
Copy link
Collaborator

@alexandraciobica alexandraciobica commented Aug 15, 2019

Fixes: #12929
Screen Shot 2019-08-15 at 23 09 49

The PR also includes:

  • CSS refactoring of integrations.scss to use SCSS nesting
  • Adding a background to the categories in integration details page. I think the sidebar looks better with the background on the categories.

Screen Shot 2019-08-16 at 00 16 37

Testing Plan:
I tested the changes on Chrome and Firefox, on all the screen sizes used in media queries on this page.

I rearranged the elements of the left sidebar in HTML in order to appear
in the order they are displayed and removed the absolute positioning,
because it was not needed if the elements are arranged correctly. I used
`flex` display to arrange them on column.

I removed the styling that positioned the elements absolutely.

Then I tweaked the margins in order to make the elements look good.

Fixes: zulip#12929
While refactoring, I tested all the rules and removed the CSS that was
not needed or duplicated.

I removed the `$("#integration-list-link").css('display', 'block');` and
moved it to css because there is no case in which the back link is
hidden.
@zulipbot
Copy link
Member

Hello @zulip/server-misc members, this pull request was labeled with the "area: portico" label, so you may want to check it out!

@timabbott timabbott merged commit f7e88fb into zulip:master Aug 15, 2019
@timabbott
Copy link
Sponsor Member

This is great, merged, thanks @alexandraciobica!

That said, doing the review of the SCSS migration commit was quite time-consuming; it would have been a lot easier to do if you'd done a series of commits (first one reordering things, then one doing the nesting, and maybe a final one migrating the media queries).

In any case, huge thanks for doing all this cleanup on the integrations page CSS; it's a lot nicer of a setup now!

@alexandraciobica alexandraciobica deleted the integrations_sidebar branch August 16, 2019 12:12
@alexandraciobica
Copy link
Collaborator Author

@timabbott sorry for that. I realised that it should be split somehow when I finished and I tried to do it but I somehow broke the branch and had to redo part of the work because I forgot to push the final changes before I started messing with the commits (silly me). I will plan more from the beginning next time.

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

Successfully merging this pull request may close these issues.

integrations: Left sidebar of integrations page is misordered.
3 participants