brainglobe / brainrender-napari

A napari plugin to render BrainGlobe atlases and associated data as layers.
BSD 3-Clause "New" or "Revised" License
18 stars 1 forks source link

Add brainglobe logo #91

Closed alessandrofelder closed 9 months ago

alessandrofelder commented 10 months ago

Description

What is this PR

Why is this PR needed?

We want BG napari plugins to be visually consistent, and allow access to the docs with one click.

What does this PR do?

Adds a BG header widget with links to the docs and a logo etc (equivalent to what is done in cellfinder-napari and brainreg-napari).

References

Closes #78 One day, we'll have the same header widget for all napari plugins, but for now, I feel it's more urgent to get user feedback on an initial release of this plugin.

How has this PR been tested?

Visual inspection. image and manually doublechecking links work correctly

Is this a breaking change?

Nope

Does this PR require an update to the documentation?

Nope (in fact, this PR makes it easier to find the docs from the brainrender-napari plugin).

Checklist:

codecov[bot] commented 9 months ago

Codecov Report

All modified lines are covered by tests :white_check_mark:

Comparison is base (d353a1e) 97.30% compared to head (b64c291) 97.44%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #91 +/- ## ========================================== + Coverage 97.30% 97.44% +0.13% ========================================== Files 7 8 +1 Lines 371 391 +20 ========================================== + Hits 361 381 +20 Misses 10 10 ``` | [Files](https://app.codecov.io/gh/brainglobe/brainrender-napari/pull/91?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=brainglobe) | Coverage Δ | | |---|---|---| | [brainrender\_napari/brainrender\_widget.py](https://app.codecov.io/gh/brainglobe/brainrender-napari/pull/91?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=brainglobe#diff-YnJhaW5yZW5kZXJfbmFwYXJpL2JyYWlucmVuZGVyX3dpZGdldC5weQ==) | `100.00% <100.00%> (ø)` | | | [brainrender\_napari/utils/brainglobe\_logo.py](https://app.codecov.io/gh/brainglobe/brainrender-napari/pull/91?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=brainglobe#diff-YnJhaW5yZW5kZXJfbmFwYXJpL3V0aWxzL2JyYWluZ2xvYmVfbG9nby5weQ==) | `100.00% <100.00%> (ø)` | |

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.