Michael Lange
3d89cb503b
Unit test coverage for adding the region param to requests
2018-08-09 20:27:54 -07:00
Michael Lange
8631fecc37
Update tests to handle region switching
2018-08-09 18:22:39 -07:00
Michael Lange
93f41278b1
Clear up the data flow for namespaces
...
This is incredibly tricky with query params, since there is a bundle of
timing issues, lifecycle issues, missing features, and all around
gotchas with query params.
This solution has no observers and no instances of the system service
being set from the jobs controller.
The upside to this is no observers, much easier to follow logic, no more
dependent key chain reactions.
2018-08-09 18:22:38 -07:00
Michael Lange
35250117cf
Account for the service:system dependency due to region
2018-08-09 18:22:38 -07:00
Michael Lange
8a9cd74cce
Unit tests for the breadcrumbs service
2018-07-06 11:12:12 -07:00
Michael Lange
82e0fdbd27
A test to assert the bug
2018-07-05 13:49:27 -07:00
Michael Lange
8c1849fafe
Don't put namespace logic in the catch-all buildQuery method
2018-07-05 12:29:29 -07:00
Michael Lange
e472d918cf
Account for the 0 case in format-duration
2018-05-30 14:30:45 -07:00
Michael Lange
cdbca8dcd2
Duration formatting utility
...
The cloest Moment.js has is "homanize" which isn't precise enough.
2018-05-30 11:27:21 -07:00
Michael Lange
52e6c1e551
Merge pull request #4319 from hashicorp/b-ui-errant-acl-error
...
UI: XHR keys need to include the method as well
2018-05-25 12:24:17 -07:00
Michael Lange
5f9632bee8
Acceptance tests for node driver and node events
2018-05-25 10:15:24 -07:00
Michael Lange
9c6b060de9
Add a test to assert that canceling GETs can't instead cancel DELETEs
2018-05-25 09:13:18 -07:00
Michael Lange
603da9b4ea
Test coverage for the changes to the searchable mixin
2018-04-23 16:49:04 -07:00
Michael Lange
a226021a05
Track multiple xhrs per URL rather than overriding
...
It was possible for a url to be overridden then canceled, leaving the
open connection open and forgotten about.
2018-03-29 14:40:57 -07:00
Michael Lange
fc5c4ff093
The initial index value should be 1, not 0
2018-03-21 13:28:56 -07:00
Michael Lange
86f73320a2
Patch tests
2018-03-05 09:32:05 -08:00
Michael Lange
2d0a3a15ad
Add tests for findHasMany store culling
2018-03-02 16:21:37 -08:00
Michael Lange
762a82702a
Add tests for findAll store culling
2018-03-02 16:21:37 -08:00
Michael Lange
80c8db559b
Tests for watching and canceling requests
2018-03-02 16:21:37 -08:00
Michael Lange
553c69cc32
Fix existing tests
2018-03-02 16:21:36 -08:00
Michael Lange
1107798da6
Use the new ember modules imports
...
Generated with a codemode:
https://github.com/ember-cli/ember-modules-codemod
2018-01-17 09:02:04 -08:00
Michael Lange
072efb665e
Unit tests for the log util
2017-11-21 11:22:43 -08:00
Michael Lange
af870eeb32
Merge pull request #3428 from hashicorp/b-ui-missed-the-deployment-allocs
...
Add modified and version headers to deployment allocation table
2017-10-25 10:31:20 -07:00
Michael Lange
afcfba0910
Treat namespace and job name as a composite primary key
2017-10-23 17:42:36 -07:00
Michael Lange
44acb58f8c
Handle the not a number case
2017-10-19 17:35:58 -07:00
Michael Lange
635263b8aa
Disable fuzzy search
...
It doesn't work well for highly precise values, or small datasets, or prefixes.
Which are our three use cases.
2017-10-18 12:52:24 -07:00
Michael Lange
352cf6dc77
Tests (and bug fixes!) for the format-bytes helper
2017-10-17 10:17:42 -07:00
Michael Lange
2959f03806
Test coverage for namespaces
2017-10-11 14:06:46 -07:00
Alex Dadgar
e5ec915ac3
sync
2017-09-19 10:08:23 -05:00