Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

Request: Change position of notifications #93

Open

Description

@giovanni-giovanni

There should be an option to customize the anchor of the notifications. Maybe vanilla atom doesn't have this problem but with the changes to the editor that i made, the notifications look like this:
png bad
(Overlaping scroll bar, tree-view and tab bar)

I'd much prefer this:
png normal
(Anchor top right of text-editor class).

Activity

  1. simurai commented on Oct 2, 2015

    @simurai
    Contributor

    This might be possible by moving it into <atom-workspace-axis class="vertical">, but it also feels a bit strange because it would suggest that the notifications are part of the editor or just the current open file and not something more global.

    You could move the notifications to the left with adding the following to your styles.less file:

    atom-notifications {
      left: 0;
      right: auto;
    }

    screen shot 2015-10-02 at 2 14 26 pm

    Then the notifications don't cover the tree-view anymore.

  2. giovanni-giovanni commented on Oct 2, 2015

    @giovanni-giovanni
    Author

    Okay I agree that making the notification seem relevant only to the current editor can be confusing. I added your snippet to the styles.less file and flying with this for now. Added some top margin to clear tab bar :-)

    (By the way is that the tool-bar package in your screenshot?)

  3. simurai commented on Oct 2, 2015

    @simurai
    Contributor

    Added some top margin to clear tab bar

    There is the @tab-height that could be used, but it's not that accurate with all themes.

    (By the way is that the tool-bar package in your screenshot?)

    Yes, plus https://atom.io/packages/flex-tool-bar to make it easy to add custom buttons.

  4. giovanni-giovanni commented on Oct 2, 2015

    @giovanni-giovanni
    Author

    There is the @tab-height that could be used, but it's not that accurate with all themes.

    Thanks. Where can I get a list with these veriables. Maybe theres a @tree-view-width or something.

  5. simurai commented on Oct 2, 2015

    @simurai
    Contributor

    Unfortunately not.. only these are officially available: https://github.com/atom/atom/blob/master/static/variables/ui-variables.less

  6. giovanni-giovanni commented on Oct 2, 2015

    @giovanni-giovanni
    Author

    Yep, just found it myself. This might be relevant too: atom/tree-view#520

  7. markediez commented on Apr 9, 2016

    @markediez

    +1

    Really would like to anchor the notifications to the bottom right...

  8. walderrama commented on Apr 13, 2016

    @walderrama

    +1 for bottom right

  9. jensdebruijn commented on May 2, 2016

    @jensdebruijn

    +1 for bottom right

  10. natedunn commented on May 10, 2016

    @natedunn

    I got the notifications set to the bottom right by updating the styles.less file with this:

    atom-notifications {
      top: auto;
    }
    
  11. simurai commented on May 18, 2016

    @simurai
    Contributor

    Moving to the bottom would cover panels like find + replace or linter etc.

    screen shot 2016-05-18 at 12 53 18 pm

    @tairun (Anchor top right of text-editor class).

    Might still be the best option.

  12. code-tree commented on May 31, 2016

    @code-tree

    Notifications were appearing over the file tabs for me, making me dismiss them before I could change tab. Quite annoying, so definitely vote for moving to bottom right. Or maybe bottom and whatever side the tree view is not on?

  13. damieng commented on Jan 9, 2017

    @damieng
    Contributor

    This has moved down slightly in 4c2b349 to not hit the tab area on the default themes.

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions