Skip to content

Add clean-sidebar feature - #2011

Merged
fregante merged 10 commits into
masterfrom
clean-sidebar
May 6, 2019
Merged

fregante merged 10 commits into
masterfrom
clean-sidebar

Conversation

@fregante

@fregante fregante commented May 5, 2019 •

Copy link
Copy Markdown
Member

Closes #421 (hide milestones)
Closes #977 (hide projects)
Replaces and closes #1945
Replaces and closes #1965

The code is ugly but sadly each section is at least slightly different :( → ceeca8d 🌈

Tests

Depends on many variables:

  • issues/PRs
  • empty/full sections
  • can/cannot edit sections

These have a good variety of PR + cannot edit sections: https://github.com/parcel-bundler/parcel/pulls

Tasks

  • Handle sidebar ajax updates
  • Adjust spacing
  • Documentation

Screenshots (WIP)

Screenshot 2019-05-06 at 03 32 53 Screenshot 2019-05-06 at 03 33 01

@fregante
fregante requested a review from sindresorhus May 5, 2019 20:08
@fregante

fregante commented May 5, 2019

Copy link
Copy Markdown
Member Author

This is ready!

@sindresorhus

Copy link
Copy Markdown
Member

In jsx-eslint/eslint-plugin-react#2261, shouldn't it remove the empty headings?

Screen Shot 2019-05-06 at 14 05 32

@fregante

fregante commented May 6, 2019 •

Copy link
Copy Markdown
Member Author

Fixed

@fregante
fregante merged commit 4bc3f3a into master May 6, 2019
@fregante
fregante deleted the clean-sidebar branch May 6, 2019 08:45
@fregante fregante mentioned this pull request May 18, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

Remove Projects from the sidebar if there are no Projects Remove Milestones filter if there are no milestones

2 participants