Commit Graph

99 Commits

Author SHA1 Message Date
Łukasz Mierzwa
51a67d03d8 fix(ui): more consistent colors on navbar elements 2019-12-13 10:30:59 +00:00
Łukasz Mierzwa
f58f11c512 fix(ui): follow navbar button colors when setting color for filter input border 2019-12-13 09:14:17 +00:00
Łukasz Mierzwa
cf71aa4579 fix(ui): revert filter background on click outside 2019-11-29 23:23:00 +00:00
Łukasz Mierzwa
a7b409e661 fix(ui): reduce bundle size 2019-11-29 15:58:16 +00:00
Łukasz Mierzwa
f1c130fa7c fix(ui): border overrides causes color flap on load 2019-11-28 18:51:11 +00:00
Łukasz Mierzwa
8e6505c73f fix(ui): fix history menu layout 2019-11-28 15:18:58 +00:00
Łukasz Mierzwa
bbc14195e1 fix(storybook): avoid navbar overlap on storybook 2019-11-28 12:15:51 +00:00
Łukasz Mierzwa
de43f1ac4a feat(ui): theme switching
This add "proper" dark mode using darkly bootstrap theme
2019-11-27 12:18:13 +00:00
Łukasz Mierzwa
f3e2ed2b00 feat(storybook): add more stories to storybook 2019-11-26 23:36:07 +00:00
Łukasz Mierzwa
d33f9a783b feat(ui): change filter background color on focus 2019-11-22 19:18:12 +00:00
Łukasz Mierzwa
aab5b29eb6 fix(ui): avoid duplicating bootstrap styles
bootstrap css gets injected multiple time due to how imports are structured, only import variables in component scss
2019-11-21 22:28:26 +00:00
Łukasz Mierzwa
766b25af4c feat(ui): more minimalistic style of the top filter bar 2019-11-21 21:35:10 +00:00
Łukasz Mierzwa
159bcc4e8a fix(ui): use mode:no-cors for fetch GET requests
This should play better with auth middlewares that uses redirects since CORS will no longer break the redirect chain
2019-11-14 16:25:17 +00:00
Łukasz Mierzwa
0bec6135cb fix(storybook): remove unused modal classes from navbar 2019-11-05 14:11:23 +00:00
Łukasz Mierzwa
16cb976e81 fix(ci): update snapshots after font-awesome upgrade 2019-10-10 16:08:22 +01:00
Łukasz Mierzwa
87754cebf2 chore(ui): reduce padding for the filter input 2019-10-10 09:21:25 +01:00
Łukasz Mierzwa
2b86aaaedb chore(tests): update snapshots after font-awesome upgrade 2019-09-29 15:37:05 +01:00
Łukasz Mierzwa
80c30f1879 fix(ui): pass configured alertmanager headers when making requests from the browser
Right now configured headers are only set on requests made from the backend to alertmanager API.
With this change fetch() calls in the browser will use those headers if proxy mode is not enabled.
2019-09-26 20:37:23 +01:00
Łukasz Mierzwa
8a6244d8e8 fix(ui): set lower minimum height for Percy snapshots 2019-09-18 13:27:40 +01:00
Łukasz Mierzwa
465373ab2d fix(ci): force default font for percy 2019-09-13 12:35:11 +01:00
Łukasz Mierzwa
f8b233ae33 feat(ui): more storybooks 2019-09-10 10:25:43 +01:00
Łukasz Mierzwa
a3be6e9a7f fix(ui): cleanup scss variable imports
All scss imports needs to use App.scss, otherwise some overrides won't be present, like font swap Lato -> Open Sans
2019-08-03 18:29:27 +01:00
Łukasz Mierzwa
559870b861 chore(ui): switch to column render for navbar icons with only 1 filter 2019-07-19 16:25:46 +01:00
Łukasz Mierzwa
4734c9882c chore(ui): don't focus input on mobile
Focusing input on a mobile browser pulls in the keyboard view, which takes half of the screen. Let user click it manually if needed
2019-07-16 22:35:11 +01:00
Łukasz Mierzwa
0b7386f777 chore(ui): show navbar button indicator on hover 2019-07-10 22:39:17 +01:00
Łukasz Mierzwa
70e69fda09 feat(ui): add a modal with labels overview
Fixes #766
2019-07-10 22:39:17 +01:00
Łukasz Mierzwa
acc14d37a9 fix(ui): don't hide the navbar on idle when updates are paused
Updates are now paused when editing filters, so we shouldn't try to hide the entire navbar (including edited filter) when that happens
2019-06-10 23:14:12 +01:00
Łukasz Mierzwa
f2c24edff9 fix(ui): check for string className when handling clicks in filter input
For SVG elements there might be no className attribute so split() might raise an exception
2019-06-10 23:13:07 +01:00
Łukasz Mierzwa
78660cd374 feat(ui): animate alert counter on changes 2019-05-12 11:09:34 +01:00
Łukasz Mierzwa
884bbe8398 feat(ui): add shadows to dropdown menus 2019-05-09 22:56:27 +01:00
Łukasz Mierzwa
dc00ef86c8 fix(ui): cleanup css classes for labels 2019-05-03 19:14:29 +01:00
Łukasz Mierzwa
655f244f1b refactor(ui): use button instead of a badge for filter elements 2019-04-30 14:08:36 +01:00
Łukasz Mierzwa
b1c89858e8 feat(ui): allow configuring grid size 2019-04-14 23:05:11 +01:00
Łukasz Mierzwa
e2be71d458 feat(ui): collapse alert groups on mobile by default 2019-04-01 21:00:51 -07:00
Łukasz Mierzwa
3974315ccc feat(ui): add UI toggle for changing autohide settings
This adds a checkbox in the settings form to control if navbar autohide is on or off

Fixes #530
2019-03-15 14:57:27 +00:00
Łukasz Mierzwa
fc334ab4ac feat(ui): add settings for controlling navbar autohide
This allows to control if the navbar should hide on idle or not
2019-03-15 14:57:27 +00:00
Łukasz Mierzwa
b8f15819b8 chore(tests): update snapshots after fontawesome upgrade 2019-01-29 09:03:51 +00:00
Łukasz Mierzwa
e0ddf15d0e fix(ui): align autocomplete dropdown with the input 2019-01-18 20:08:51 +00:00
Łukasz Mierzwa
7adf1bbfd5 refactor(ui): move common modal code to a dedicated component 2018-10-08 21:54:22 +01:00
Łukasz Mierzwa
8bd27f8ff7 feat(ui): add tooltips to clickable components 2018-10-07 13:14:45 +01:00
Łukasz Mierzwa
19642a553f fix(ui): use more compatible body style setter
This works on Firefox 33, style[] syntax is only supported for FF >=35
2018-10-05 08:22:54 +01:00
Łukasz Mierzwa
7243cfc149 fix(ui): don't use a for elements without href 2018-10-03 11:14:45 +01:00
Łukasz Mierzwa
4e3635bc98 fix(tests): reset mocks between tests
Ensures that tests don't rely on previous tests mocking things
2018-10-03 10:16:31 +01:00
Łukasz Mierzwa
83aa8b9649 feat(tests): strict validation for props 2018-09-24 15:28:25 +01:00
Łukasz Mierzwa
ce92c89076 fix(ui): switch to fade animation on navbar, hook to correct show event 2018-09-23 19:17:33 +01:00
Łukasz Mierzwa
843118176f fix(ui): better navbar hiding when idle
Don't destroy navbar since modals are mounted on it + update visibility after transition so animations work as expected
2018-09-23 12:23:29 +01:00
Łukasz Mierzwa
bdbffd151f feat(ui): use different idle value for desktop and mobile
Very simple version, no resize handling, but it will cover 95% cases
2018-09-22 20:59:46 +01:00
Łukasz Mierzwa
cc01e07726 feat(ui): animate navbar show/hide 2018-09-22 20:18:34 +01:00
Łukasz Mierzwa
9e72198efe feat(ui): animate dropdown menus 2018-09-22 15:20:40 +01:00
Łukasz Mierzwa
9ba495bbe7 feat(ui): pause fetching when alert/group menu is open
This will prevent whack-a-mole when user clicks on an action menu and then grid re-renders moving it around
2018-09-20 14:25:13 +01:00