prometheus/web
Drumil Patel 687a962bd1 Add conditional rendering of Navlink for Consoles (#6761)
* Add conditional rendering of Navlink for Consoles

Signed-off-by: Drumil Patel <drumilpatel720@gmail.com>

* Replacing if else with only if conditional rendering

Signed-off-by: Drumil Patel <drumilpatel720@gmail.com>

* Add tests and removing global declaration in Navbar

Signed-off-by: Drumil Patel <drumilpatel720@gmail.com>

* Correct Navbar Testcases and add types for ConsolesLink

Signed-off-by: Drumil Patel <drumilpatel720@gmail.com>

* Change names for Console link as per-naming convention

Signed-off-by: Drumil Patel <drumilpatel720@gmail.com>

* Change prop names to AppProps and NavbarProps respectively

Signed-off-by: Drumil Patel <drumilpatel720@gmail.com>
2020-02-08 11:00:47 +01:00
..
api rules: Cleanup unused function alert.Duration (#6734) 2020-02-01 07:31:37 +00:00
ui Add conditional rendering of Navlink for Consoles (#6761) 2020-02-08 11:00:47 +01:00
federate.go *: enable all default linters (#5504) 2019-05-03 15:11:28 +02:00
federate_test.go PromQL: Make parser completely generated (#6548) 2020-01-08 11:04:47 +00:00
web.go Add conditional rendering of Navlink for Consoles (#6761) 2020-02-08 11:00:47 +01:00
web_test.go Cleanup after merging tsdb into prometheus 2019-08-13 14:04:14 +05:30