Michael Lange
96b91ff6ec
Merge pull request #6274 from hashicorp/f-ui/restore-headless-testing
...
UI: Restore local headless testing
2019-09-17 00:15:41 -07:00
Mahmood Ali
16f7a3f31b
ui: protect against nil services
...
Protect against case where an alloc has no services and avoid
dereferencing null.
Here, we ensure that the model and test serializers mimic the API by
having nil TaskGroup.Services instead of an empty array.
2019-09-16 16:50:30 -04:00
Buck Doyle
4ca5662895
UI: Remove Connect proxy tag tests again ( #6284 )
...
This semi-reverts #6275 , as the tests are intermittently
failing in CI.
2019-09-05 14:34:47 -05:00
Buck Doyle
dc43dbdad2
UI: Restore Connect proxy tag tests ( #6275 )
...
These are the tests skipped in #6271 .
2019-09-05 14:09:32 -05:00
Buck Doyle
ee0e74186f
UI: Move kind property to task ( #6271 )
...
I put this property in the wrong place.
I’ve found how to fix the mock API in the tests but
they’re failing to pass with headless Chrome only,
so they’re skipped for now.
2019-09-05 13:14:54 -05:00
Buck Doyle
24b0be1625
Restore local headless testing
...
I’ve been unable to use ember test without --server for a
while. This brings in the fix from ember-cli/ember-cli#8774
2019-09-05 11:24:05 -05:00
Buck Doyle
ec65c8e260
Add handling for not-running task filesystem query ( #6267 )
2019-09-04 17:38:26 -05:00
Buck Doyle
b5e5798e54
UI: add Consul Connect features ( #6108 )
2019-09-04 09:39:56 -05:00
Buck Doyle
49b9dd5b9b
UI: Add creation time to evaluations table ( #6050 )
2019-08-22 08:11:24 -05:00
Michael Lange
74c9b1ac60
Merge pull request #5871 from hashicorp/f-ui/alloc-fs
...
UI: Allocation file system explorer
2019-08-20 10:18:23 -07:00
Michael Lange
1e620953e4
Remove the temporary allocationFileExplorer mirage scenario
2019-08-20 09:40:49 -07:00
Buck Doyle
ed652051d4
Add ability to control Mirage logging via query ( #6105 )
...
This lets us turn Mirage logging on without editing any
files, which makes it easier to switch between branches.
2019-08-20 08:36:08 -05:00
Michael Lange
9b669d7e38
Use the standard empty state when a dir is empty
2019-08-19 17:16:26 -07:00
Michael Lange
fd6d5b274f
Merge pull request #6048 from hashicorp/f-ui/alloc-fs-files
...
UI: Alloc FS: File Viewer
2019-08-19 10:36:28 -07:00
Michael Lange
836e7426b8
Encode characters in file paths to ensure proper URIs
2019-08-14 12:54:11 -07:00
Michael Lange
38fce53936
Prevent a change in height when switching from a dir to a file
2019-08-08 15:41:47 -07:00
Michael Lange
2ed18864df
Limit the width of the right page layout column
...
This was causing elements to flow off the page, since the element was
assuming 100% but also had a 250px margin for the left column.
This had previously been "fixed" by setting overflow-x: auto, but that
resulted in tooltips from being clipped.
This is a better solution to the same problem.
2019-08-08 10:00:48 -07:00
Buck Doyle
58f6e5d286
Fix navigation via clicking recent allocation row ( #6087 )
...
This fixes the recent allocation rows to navigate when clicking within them
rather than just on the link, which matches the cursor behaviour.
2019-08-08 09:26:46 -05:00
Michael Lange
ee079a1220
Test that the client is contacted correctly, and the server is used as a fallback
2019-08-07 17:35:43 -07:00
Michael Lange
ae8913910c
Always preload the alloc node so the client can be dialed first
2019-08-07 17:35:15 -07:00
Michael Lange
8cb6a20f8f
Include all client fs endpoints in the hosts block
2019-08-07 17:34:41 -07:00
Michael Lange
02c9ab1582
Add additional troublesome characters to the alloc-file name factory
2019-08-07 15:29:57 -07:00
Michael Lange
3dc7dec246
Make a dedicated fs-breadcrumbs component
2019-08-07 15:29:14 -07:00
Michael Lange
2ff4027496
Minor fixes from code review
2019-08-07 15:11:32 -07:00
Michael Lange
992fa8f741
Use a data-uri instead of an image for the image-file-test
2019-08-07 15:08:38 -07:00
Buck Doyle
2bfbc2b41b
Remove transition animation from sort arrows ( #6067 )
...
It may be an Ember bug: in some circumstances, the
ember-transitioning-in class was persisting in table
sort links even after the transition completed. This
changes the transition animations to be targeted only
for breadcrumbs and directory links.
2019-08-06 09:55:35 -05:00
Buck Doyle
88b708f188
Add page titles to filesystem routes ( #6024 )
2019-08-01 11:17:46 -05:00
Michael Lange
e84604fcdb
Update factory-based fs tests to sort properly
2019-07-31 01:41:00 -07:00
Michael Lange
7780713bfa
Remove errant server logging line
2019-07-31 01:40:39 -07:00
Michael Lange
951570e72a
fixup-integrate-file-component
2019-07-31 01:39:59 -07:00
Michael Lange
6f519c9037
Add file mocks to every mirage scenario
2019-07-30 17:25:50 -07:00
Michael Lange
fb0428fef3
Test coverage for task-file component
2019-07-30 17:25:49 -07:00
Michael Lange
fcbd92704a
Test coverage for streaming file component
2019-07-30 17:25:48 -07:00
Michael Lange
ed9982aa98
Integration tests for the image-file component
2019-07-30 17:25:47 -07:00
Michael Lange
e347d76c24
Refactor existing fs tests to use new mirage factories
2019-07-30 17:25:46 -07:00
Michael Lange
cae543bdbb
Add unsupported file type state
2019-07-30 17:25:45 -07:00
Michael Lange
ddd35edb19
Add hollow variation to empty-message
2019-07-30 17:25:44 -07:00
Michael Lange
6325c78b1e
cat, stream, and readat mocks for alloc fs
2019-07-30 17:25:44 -07:00
Michael Lange
e6d1314254
Use the alloc file factory for the fs stat and fs ls end points
2019-07-30 17:25:43 -07:00
Michael Lange
c8977c18ba
Mirage factory for file system fixtures
2019-07-30 17:25:42 -07:00
Michael Lange
290d967222
Fix a bug where tail calls for files weren't getting the correct params
2019-07-30 17:25:41 -07:00
Michael Lange
c110a4ab62
Integrate the task-file component with the fs explorer pages
2019-07-30 17:25:40 -07:00
Michael Lange
2a3806b4c1
Always escape < and > to avoid inadvertently rendering html
2019-07-30 17:22:54 -07:00
Michael Lange
2f2dca9212
Custom Log instance to deal with API quirks
2019-07-30 17:22:53 -07:00
Michael Lange
bd8770d175
Add a plainText mode
2019-07-30 17:22:53 -07:00
Michael Lange
f2d31fdf1a
Refactored and image support of the task-file component
2019-07-30 17:22:52 -07:00
Michael Lange
29dacd0c2a
Markup for the image-file component
2019-07-30 17:22:51 -07:00
Michael Lange
153218183b
Address WindowResizable refactor
2019-07-30 17:22:50 -07:00
Michael Lange
3ba05a7eb7
Styles for the image-file component
2019-07-30 17:22:49 -07:00
Michael Lange
30d61fc9fc
image-file component for showing an image and image metadata
2019-07-30 17:22:49 -07:00
Michael Lange
5bd9296194
Extract a streaming-file component from the task-log component
...
The new streaming-file component takes an arbitrary logger component
along with some mode flags and handles things like polling, DOM updates,
and scroll position.
2019-07-30 17:22:48 -07:00
Michael Lange
c5ff121981
New task-file component
...
Based on the task-log component. Commonalities will be refactored.
2019-07-30 17:22:47 -07:00
Michael Lange
4c064a8f72
Tweak log window math
2019-07-30 17:22:46 -07:00
Michael Lange
c3b33b8420
Use the stream decode util and never opt to use the plain query param
2019-07-30 17:22:45 -07:00
Michael Lange
862d6f6da6
Move common stream frame decoding to a util
2019-07-30 17:22:44 -07:00
Buck Doyle
34603b8bdf
UI: Add IPv6 bracket-wrapping to network serializer ( #6007 )
...
This addresses the issue raised by @pznamensky in #5966 .
2019-07-30 16:58:01 -05:00
Buck Doyle
9f3754b46b
Merge branch 'master' into f-ui/alloc-fs
...
# Conflicts:
# ui/app/templates/allocations/allocation/task/index.hbs
# ui/app/templates/allocations/allocation/task/logs.hbs
2019-07-26 14:49:36 -05:00
Buck Doyle
5efedb35d1
UI: Add allocation directory sorting ( #5914 )
...
When sorting by size, directories are sorted by name, as size
isn’t displayed.
This includes a change to the positioning of sort arrows for all tables,
moving them closer to the text, because in some cases, the arrows
for right-aligned columns were ambiguously positioned.
2019-07-23 15:37:34 -05:00
Buck Doyle
b2a4ee17de
UI: Remove unused route ( #5925 )
...
This is an extraneous addition from #4612 .
2019-07-23 14:48:39 -05:00
Buck Doyle
354b4c830f
UI: Remove ember-native-dom-helpers ( #5959 )
...
This also includes migration of some tests to async.
2019-07-23 14:40:32 -05:00
Buck Doyle
90c9b89b5e
UI: Add page titles ( #5924 )
...
This uses ember-page-title to add dynamic page titles throughout the
route hierarchy. When there’s more than one region, the current
current region is added before the final entry of “- Nomad”.
2019-07-17 15:02:58 -05:00
Buck Doyle
9322dfc46f
UI: Add copy button for client/allocation UUIDs ( #5926 )
...
The button shows a success icon and tooltip on click, and resets
after two seconds.
2019-07-15 12:14:32 -05:00
Buck Doyle
4edd1d78c1
Remove superfluous test attributes ( #5927 )
...
I found while working on #5926 that x-icon already adds
assertion-compatible selectors, so these wrappers are
unnecessary.
2019-07-08 10:36:56 -05:00
Michael Lange
1eb689aca9
Merge remote-tracking branch 'origin/master' into f-ui/alloc-fs
...
* origin/master: (32 commits)
Added additional test cases and fixed go test case
update changelog
Add Mirage-toggling via environment variable (#5899 )
changelog: Add entries for windows fixes
fifo: Safer access to Conn
run post-run/post-stop task runner hooks
Fail alloc if alloc runner prestart hooks fail
address review comments
changelog
Missed one revert of backwards compatibility for node drain
Improve test cases for detecting content type
Undo removal of node drain compat changes
Updated with suggestions.
fifo: Close connections and cleanup lock handling
logmon: Add windows compatibility test
client: defensive against getting stale alloc updates
Infer content type in alloc fs stat endpoint
appveyor: Run logmon tests
fifo: Require that fifos do not exist for create
vendor: Use dani fork of go-winio
...
2019-07-02 16:40:09 -07:00
Buck Doyle
595eb480ba
UI: Add allocation directory rendering ( #5873 )
...
This lets users navigate the allocation filesystem. It doesn’t
support viewing actual files yet.
2019-07-02 16:42:38 -05:00
Buck Doyle
100433b08a
Add Mirage-toggling via environment variable ( #5899 )
...
I’m finding myself having to revert my change to this
variable when I switch branches, so this would let me
affect the variable without code changes.
2019-07-02 08:58:43 -05:00
Michael Lange
aedeeadebd
Account for the search icon within the is-compact modifer
2019-06-27 12:32:26 -07:00
Buck Doyle
0907edf099
Merge branch 'master' into f-ui/alloc-fs
2019-06-27 12:25:07 -05:00
Buck Doyle
4aae981699
Add ember-qunit-nice-errors ( #5869 )
...
This shows the entire assertion that’s failing. This is
especially useful in combination with page objects.
For an assertion like this:
assert.equal(PageLayout.flashMessages.length, 1)
The failure displayed normally is just “failed” with the
expected of 1 and the result of undefined. With this addon,
the expected and result remain the same, but “failed” is
replaced with the text of the assertion.
The typical way to address this is to supply the optional
final argument to the assertion function that customises the
failure message. That still works with this addon, but most
of the time it becomes unnecessary.
2019-06-21 14:12:28 -05:00
Michael Lange
a29ed35811
Test support and coverage for fs routing
2019-06-20 15:20:15 -07:00
Michael Lange
e440edfea4
Some placeholder templates and routes for new feature
2019-06-20 15:20:01 -07:00
Michael Lange
7935527020
Add new menu item to the task subnav
2019-06-20 12:02:25 -07:00
Michael Lange
3e40fcf147
Add new routes to the router
2019-06-20 12:02:06 -07:00
Michael Lange
af6daf34d2
Give the allTheThings scenario a better name
2019-06-19 17:18:43 -07:00
Michael Lange
6201003f3f
New Mirage scenario for puppeteer script to use
2019-06-19 17:18:40 -07:00
Buck Doyle
a2b80bebe6
Update client list to combine statuses ( #5789 )
...
The draining, eligibility, and status fields now all show under a combined
state column. Draining takes precedence, then (in)eligibility; if neither of
those is true, the status displays.
2019-06-19 10:11:17 -07:00
Buck Doyle
2d96e37390
Change sort arrow to pass through pointer events ( #5833 )
...
Without this, clicking on the sort arrow didn’t change the
sort direction.
2019-06-13 16:14:35 -05:00
Michael Lange
b0d6517297
Include the _ prefix separator in both regexes
...
And include all prefix types in the test data
2019-05-21 14:20:40 -07:00
Michael Lange
b330321e44
Use the TwoStepButton page object for integration testing too
2019-05-21 09:24:19 -07:00
Michael Lange
c485bc64fb
Acceptance testing for allocation lifecycle
2019-05-21 09:24:19 -07:00
Michael Lange
d485c040e3
Restart a single task from the task detail page
2019-05-21 09:24:18 -07:00
Michael Lange
416e9895d6
Don't cancel watchers when transitioning to a sub-route
2019-05-21 09:24:18 -07:00
Michael Lange
e40a01456b
Watch the next allocation on the allocation index page
2019-05-21 09:24:17 -07:00
Michael Lange
8d31474fdc
Support task restarting in the allocation adapter
2019-05-21 09:24:17 -07:00
Michael Lange
ffadcf5a25
Add stop and restart buttons to the allocation index page
2019-05-21 09:24:16 -07:00
Michael Lange
a00bc8befc
Allocation methods for stopping and restarting
2019-05-21 09:24:16 -07:00
Michael Lange
d3e919a2c8
New with-headroom modifier for titles
2019-05-21 09:24:15 -07:00
Michael Lange
7933a41782
Add cancel on click outside and disabled behaviors to two-step-button
2019-05-21 09:24:14 -07:00
Michael Lange
96a1a5e812
Move addToPath to its own util
2019-05-20 11:52:47 -07:00
Michael Lange
084c4cc95f
Standardize on Abort over Cancel
2019-05-20 11:08:16 -07:00
Michael Lange
c9220cb929
Replace the adapter cancellation methods with a cancellation token system
2019-05-20 10:29:22 -07:00
Buck Doyle
e40197a7a5
Merge pull request #5715 from hashicorp/b-precommit-linting
...
Restore precommit linting
2019-05-15 16:44:19 -05:00
Buck Doyle
16ba41101b
Restore precommit linting
...
The two pairs of quotes were causing no files to match.
2019-05-15 14:48:16 -05:00
Buck Doyle
da65595db0
Change clients/jobs facets to always right-align
...
This changes the templates so the element that contains
the search box is always present, instead hiding only
the box itself when there’s nothing to search. Keeping
the empty element lets it take up its flexbox space so
the facets will no longer be in the centre.
2019-05-15 13:25:30 -05:00
Michael Lange
14dca3830a
Fixed flaky client-detail test
...
Since one allocation is preempted, the alloc factory creates a new alloc
that wasn't guaranteed to be running. When it is the first alloc row in
the table, then the alloc row detail test fails because non-running
allocs don't have metrics. The fix was to manually update all the alloc
clientStatuses.
2019-05-09 10:26:55 -07:00
Conor Mongey
49afa42af3
Return a htmlSafe string rather than use triple curlies
2019-05-02 21:47:24 +01:00
Conor Mongey
9ab4ef52c0
Converts ANSI terminal codes to HTML in logs
2019-05-02 21:47:23 +01:00
Michael Lange
f530c2f5c1
Updated serializer unit tests
2019-04-22 17:20:52 -07:00
Michael Lange
35e34fea8b
Test coverage for preemption on the client detail page
2019-04-22 16:40:10 -07:00
Michael Lange
b7860a9bca
Test coverage for preemption on the allocation detail page
2019-04-22 16:40:09 -07:00
Michael Lange
29ccd8bcc5
Preemption modeling as page objects
2019-04-22 16:40:08 -07:00
Michael Lange
5124dfe30f
Integration test for the alloc row icon
2019-04-22 16:40:07 -07:00
Michael Lange
000bfce30f
Add preemption properties to Mirage allocation factory
2019-04-22 16:40:07 -07:00
Michael Lange
4c7e350e84
Show which allocations an allocation preempted on the alloc page
2019-04-22 16:40:06 -07:00
Michael Lange
42a4793d9d
Show which alloc, if any, preempted an alloc on the alloc detail page
2019-04-22 16:40:05 -07:00
Michael Lange
a5a659a98a
Preemptions count and filtering on client detail page
...
Show the count in the allocations table next to the existing total alloc
count badge. Clicking either will filter by all or by preemptions.
2019-04-22 16:40:04 -07:00
Michael Lange
1266567098
Add preempted icon to alloc row
2019-04-22 16:40:04 -07:00
Michael Lange
e35139e453
Make sure tooltips show up over the top of the side bar
2019-04-22 16:40:03 -07:00
Michael Lange
d12d5f9163
Add wasPreempted bool to allocs
2019-04-22 16:40:02 -07:00
Michael Lange
dcc219fe73
Show preemptions on the job plan phase of job submission
2019-04-22 16:40:01 -07:00
Michael Lange
cb11f46ecf
Data modeling for preemptions
2019-04-22 16:40:00 -07:00
Michael Lange
9358713560
Speed up slow acceptance tests with shallow jobs and generally less models
2019-04-11 20:08:43 -07:00
Michael Lange
6988dc1b5c
Introduce the concept of 'shallow' job models in Mirage
2019-04-11 20:08:09 -07:00
Michael Lange
243adeb165
Reduce the number of task groups and task events that are made
2019-04-11 18:15:35 -07:00
Michael Lange
1816f02dd6
Upgrade to Node 10, latest LTS
2019-04-10 14:54:38 -07:00
Michael Lange
d29a66a0db
Don't remove viewBox from svgs as part of svgo
2019-04-10 14:54:38 -07:00
Michael Lange
12d7bab720
Upgrade ember-concurrency
2019-04-10 14:54:38 -07:00
Michael Lange
b27c088918
Major upgrade, ember-cli-sass; swiches to sass-dart
2019-04-10 14:54:38 -07:00
Michael Lange
2a11d2904f
Upgrade third party packages
2019-04-10 14:54:37 -07:00
Michael Lange
353a491527
Upgrade eslint to v5
2019-04-10 14:54:37 -07:00
Michael Lange
733fbb83b0
Upgrade ember addons
2019-04-10 14:54:37 -07:00
Michael Lange
c723f3f02b
Manually upgrade fringe dependencies
2019-04-10 14:54:37 -07:00
Michael Lange
fa90590462
Update everything to work with the mirage backwards incompat
2019-04-10 14:54:37 -07:00
Michael Lange
499435d7c7
Auto-upgrade packages
2019-04-10 14:54:36 -07:00
Michael Lange
4b87e216ab
Rethink the adapter job unit tests to avoid notifyPropertyChange
2019-04-10 14:54:36 -07:00
Michael Lange
4736803a24
ES5 getters codemod
2019-04-10 14:54:36 -07:00
Michael Lange
660906597f
Kind of address the sendAction deprecation
2019-04-10 14:54:35 -07:00
Michael Lange
346a55a093
Address the Ember.Logger deprecations
2019-04-10 14:54:35 -07:00
Michael Lange
b6b2fd2114
Address the copy/copyable deprecation
2019-04-10 14:54:35 -07:00
Michael Lange
96ef93ca5f
Commit the deprecation workflow to prevent fixed deprecations from creeping back in
2019-04-10 14:54:35 -07:00
Michael Lange
4636a9b612
Address inflector deprecations
2019-04-10 14:54:35 -07:00
Michael Lange
55ea01c1cc
Address test failures
2019-04-10 14:54:35 -07:00
Michael Lange
aeeca356bd
Address template linting issues
2019-04-10 14:54:34 -07:00
Michael Lange
f775fa564e
Override default template lintrc (borrowed this one from vault)
2019-04-10 14:54:34 -07:00
Michael Lange
3c51579498
Upgrade miscellaneous packages
2019-04-10 14:54:34 -07:00
Michael Lange
8d2ea9b03a
Update ember-data-model-fragments
2019-04-10 14:54:34 -07:00
Michael Lange
4dcc8aba3d
Upgrade to Ember 3.4
2019-04-10 14:54:34 -07:00
Michael Lange
064f126e14
Remove all andThen and .then usages (except for integration tests)
...
Since a future ember version does way with the need to manually
making runloop runs, I'm holding off on those tests
2019-04-10 14:54:34 -07:00
Michael Lange
fdcc99674d
Fix bug in the stats-tracker-frame-mising behavior
2019-04-10 14:54:33 -07:00
Michael Lange
c367fb186a
Fix integration tests that had test failures
2019-04-10 14:54:33 -07:00
Michael Lange
5008ab4b8d
Fix page object issues with acceptance tests that couldn't be codemodded
2019-04-10 14:54:33 -07:00
Michael Lange
ea3243569a
Adapt the codemirror helper for the hooks model
2019-04-10 14:54:33 -07:00
Michael Lange
a793235f6a
Fix scoping issue with the jobs list page object
2019-04-10 14:54:33 -07:00
Michael Lange
f68f13acbe
Update the test index.html file
2019-04-10 14:54:32 -07:00
Michael Lange
e17a12aba8
Upgrade ember-power-select
2019-04-10 14:54:32 -07:00
Michael Lange
e6b808f17a
Update serializer unit tests to use module instead of custom code
2019-04-10 14:54:32 -07:00
Michael Lange
3145f7ac32
Update adapter tests to use module instead of custom code
2019-04-10 14:54:32 -07:00
Michael Lange
8cf3e369f0
Update test-helper to new testing style
2019-04-10 14:54:32 -07:00
Michael Lange
3b2cdb426d
Update environment to 3.0 conventions
2019-04-10 14:54:32 -07:00
Michael Lange
3c31bbf393
Critical peer dependency upgrades
2019-04-10 14:54:31 -07:00
Michael Lange
e69d16b78d
Use mirage test hooks
2019-04-10 14:54:31 -07:00
Michael Lange
c1369c001d
Fix a bunch of snowflake situations the codemod missed
2019-04-10 14:54:31 -07:00
Michael Lange
517ef97343
Ember test-helpers codemod
2019-04-10 14:54:31 -07:00
Michael Lange
a356ab5477
Ember QUnit Codemod
2019-04-10 14:54:30 -07:00
Michael Lange
5befd8b85d
Modules codemod + prettier
2019-04-10 14:46:55 -07:00
Michael Lange
55924ec616
Fix eslint error and add lint script to package.json
2019-04-10 14:46:55 -07:00
Michael Lange
6dc560519d
Upgrade to Ember 3.0
2019-04-10 14:46:54 -07:00
Michael Lange
a9fd8517d1
Fix deprecations
2019-04-10 14:46:53 -07:00
Michael Lange
9a10780d47
Replaces .columns with .toolbar on the clients page
2019-04-10 10:34:10 -05:00
Michael Lange
09907078bd
Replace the columns pattern with the new toolbar pattern on the jobs page
2019-04-10 10:34:10 -05:00
Michael Lange
6e3a27f9e7
New toolbar CSS component
2019-04-10 10:34:10 -05:00
Michael Lange
e400698905
Make the search box more elastic
...
1. Set a higher max-width
2. Set a min-width
3. Remove the min-width on mobile, including the invisible size="20" in
the markup
2019-04-10 10:34:10 -05:00
Michael Lange
6a0f5b5a4d
Fixes a few minor issues with the multiselect dropdown
...
1. Label no longer bleeds into the downward arrow icon
2. The selection number no longer breaks onto its own line
3. Options have a min-width so short labels can't result in small click
targets
2019-04-10 10:34:10 -05:00
Michael Lange
e73add100c
Change breakpoints to match Nomad/Bulma widths
2019-04-10 10:34:10 -05:00
Michael Lange
602df55ae0
Add the ember-responsive addon
2019-04-10 10:34:10 -05:00
Michael Lange
afecab1071
Improve the search box component to make it fluid and iconed
2019-04-10 10:34:10 -05:00
Michael Lange
e52b6be10f
Test coverage for clients faceted search
2019-04-10 10:34:10 -05:00
Michael Lange
243982562a
Implement faceted search on the clients page
2019-04-10 10:34:10 -05:00
Michael Lange
4464c473e5
Add nodeClass to the node model
2019-04-10 10:34:10 -05:00
Michael Lange
ddc577ccca
Refactor qp helpers from the jobs faceted search
2019-04-10 10:34:10 -05:00
Michael Lange
ff98a744c1
Changes from code review
2019-04-10 10:34:10 -05:00
Michael Lange
06e718387c
Make the facet filter function clearer with more brackets
2019-04-10 10:34:10 -05:00
Michael Lange
80abb8d8a0
Simplify options and selection names
2019-04-10 10:34:10 -05:00
Michael Lange
5e05408ae3
Test coverage for job list facets
2019-04-10 10:34:10 -05:00
Michael Lange
3f6bbfa8ff
Model facets in the page object
2019-04-10 10:34:10 -05:00
Michael Lange
5ae2f38c4e
Introduce encode/decode for array query params
2019-04-10 10:34:10 -05:00
Michael Lange
40b1857632
Support for the no options case
2019-04-10 10:34:10 -05:00
Michael Lange
09ae9fbfa3
Implement the job list filtering based on facet selection
2019-04-10 10:34:10 -05:00
Michael Lange
8015605041
Implement the dynamic facet lists (datacenters and prefixes)
2019-04-10 10:34:10 -05:00
Michael Lange
46c6a3e4c2
Scaffold the facets and facet options for the jobs list page
2019-04-10 10:34:10 -05:00
Michael Lange
b93977f61f
Remove the includes helper in favor of the contains helper
2019-04-10 10:34:10 -05:00
Michael Lange
7a183b40ac
Harden dropdown styles to avoid accidental cascading
2019-04-10 10:34:10 -05:00
Michael Lange
22225b3436
Add the right-alignment case to freestyle
2019-04-10 10:34:10 -05:00
Michael Lange
573f03d8e9
Always left-align the dropdown position to the trigger
2019-04-10 10:34:10 -05:00
Michael Lange
fd34f7aa2c
Test coverage for the multi-select-dropdown component
2019-04-10 10:34:10 -05:00
Michael Lange
8a07ef2cc6
Tab and keyboard navigation for multi-select
2019-04-10 10:34:10 -05:00
Michael Lange
a2bcc59963
Round out the freestyle entry
2019-04-10 10:34:10 -05:00
Michael Lange
fa10e72e2b
Multi-select button-bar support
2019-04-10 10:34:10 -05:00
Michael Lange
cf5f77fe4c
Color alias for tags
2019-04-10 10:34:10 -05:00
Michael Lange
6160d8af84
Persistence and onSelect handler for the multi-select-dropdown
2019-04-10 10:34:10 -05:00
Michael Lange
17ab2c22cc
Templating and styling the multi-select-dropdown component
2019-04-10 10:34:10 -05:00
Michael Lange
8166e43e8c
Simple includes helper that works like Array#includes
2019-04-10 10:34:10 -05:00
Michael Lange
22ce6cfe36
Freestyle entry for the new multi-select-dropdown component
2019-04-10 10:34:10 -05:00
Michael Lange
5bfd1d0ddd
Reattach resources to stats trackers in the event they were destroyed
2019-03-29 16:09:14 -07:00
Jacek Jagiello
364f7acbb5
5303 make logs view full width to better support large screens
2019-03-06 23:29:24 +01:00
Michael Schurter
d74755900e
Generate files for 0.9.0-beta3 release
2019-02-26 09:44:49 -08:00
Michael Lange
91d8baa64e
Update tests that check time and date formatting
2019-02-01 09:19:28 -08:00
Michael Lange
dfd3b097d1
Apply new date and timestamp helpers e'rywhere
2019-02-01 09:19:28 -08:00
Michael Lange
50bf9d392a
New helpers to standardize date and timestamp formats
2019-02-01 09:19:28 -08:00
Michael Lange
c3eb0b2493
Always show an absolute timestamp tooltip when showing relative dates
2019-01-30 09:59:41 -08:00
Michael Lange
fa4333056c
Merge pull request #4981 from hashicorp/b-ui-hide-stats-graphs-for-non-running-resources
...
UI: Hide stats graphs for non running resources
2018-12-18 11:15:39 -08:00
Michael Lange
d83be97d78
Don't use Ember.get in conjunction with dynamic strings in the job-plan serializer
2018-12-13 07:53:37 -08:00
Michael Lange
5902842d6b
Don't use Ember.get in conjunction with dynamic strings in the allocation serializer
2018-12-13 07:53:37 -08:00
Michael Lange
7b466f9f60
Don't use Ember.get in conjunction with dynamic strings in the node serializer
2018-12-13 07:53:37 -08:00
Michael Lange
13b7434eca
Don't use Ember.get in conjunction with dynamic strings in the deployment serializer
2018-12-13 07:53:37 -08:00
Michael Lange
a00544e302
Don't use Ember.get in conjunction with dynamic strings in the job-summary serializer
2018-12-13 07:53:37 -08:00
Michael Lange
b5c11b4e43
Don't use Ember.get in conjunction with dynamic strings in the evaluation serializer
2018-12-13 07:53:37 -08:00
Michael Lange
7d76b6a59f
Test coverage for resource graph empty states
2018-12-13 07:53:17 -08:00
Michael Lange
6f2e5d49f0
Test coverage for allocation rows
2018-12-13 07:53:17 -08:00
Michael Lange
76a9d7ad7c
Conditionally show the utilization graphs on the allocation and task detail pages
2018-12-13 07:53:17 -08:00
Michael Lange
71a06a6b7f
Conditionally show utilization metrics on alloc and task rows
2018-12-13 07:53:17 -08:00
Michael Lange
0005b1fca2
Task isRunning is based on both the task state and the allocation state
2018-12-13 07:53:17 -08:00
Michael Lange
076ae5046b
Model isRunning based on the client status of the allocation
2018-12-13 07:53:17 -08:00
Michael Lange
3b044816ac
Always create a running allocation when testing task state
2018-12-13 07:39:16 -08:00
Michael Lange
795ea7eade
Grow the default 0 to 1 bounds to the domain of the data when necessary
2018-12-05 22:07:44 -08:00
Michael Lange
fd35d37f43
Merge pull request #4860 from hashicorp/b-ui-allocation-detail-empty-state
...
UI: Allocation detail empty state
2018-11-19 12:43:39 -08:00
Michael Lange
796967c58d
Add an empty state to the allocation detail task list
2018-11-19 12:18:14 -08:00
Michael Lange
b252ede5b6
Merge pull request #4850 from hashicorp/f-ui-links-on-error-pages
...
UI: Escape hatch links on error pages
2018-11-19 12:17:36 -08:00
Michael Lange
aa0cbadb30
Improve mirage modeling of allocations
...
Pending allocations never have tasks
2018-11-09 17:11:47 -08:00
Michael Lange
4e21366714
Merge pull request #4852 from hashicorp/b-ui-dispatched-job-page
...
UI: Show the correct template for dispatched jobs
2018-11-09 14:36:35 -08:00
Michael Lange
ec21bab24d
Merge pull request #4833 from hashicorp/b-ui-gracefully-handle-stat-errors
...
UI: Gracefully handle stat errors
2018-11-09 14:35:48 -08:00
Michael Lange
7c9c099bf0
Add missing module dependencies to the node adapter tests
2018-11-09 14:25:32 -08:00
Michael Lange
cf93e1a40c
Get error messages closer to Structure designs
2018-11-09 13:23:44 -08:00
Michael Lange
8e18903996
Show the correct template for parameterized job children
2018-11-07 21:04:27 -08:00
Michael Lange
5057574c69
Correctly mark parameterized children as parameterized: true
2018-11-07 17:07:40 -08:00
Michael Lange
f3110f978e
Test coverage for error page escape hatch links
2018-11-07 16:19:45 -08:00
Michael Lange
177a998b1d
Add escape hatch links to the error page
2018-11-07 16:09:23 -08:00
Michael Lange
738efdfb04
Fix a bug where with-watchers wasn't bubbling the willTransition event
...
The impact was the application error was no longer being nulled out,
causing the application error to continue to be shown after
transitioning.
This never happened in apps since it's not possible to transition away
from the error screen.
2018-11-07 16:08:26 -08:00
Michael Lange
777d693632
Add support for link in error containers
2018-11-07 16:08:05 -08:00
Michael Lange
ab06a22954
Merge pull request #4841 from hashicorp/f-ui-error-handling-on-all-pages
...
UI: Error handling on all pages
2018-11-07 11:16:06 -08:00
Michael Lange
46fd35c84c
Merge pull request #4801 from hashicorp/b-ui-proper-task-group-breadcrumb
...
UI: Proper task group breadcrumb on the allocation pages
2018-11-06 16:41:46 -08:00
Michael Lange
dbb9662dbe
Make your tests orders of magnitude faster with One Neat Trick™
2018-11-06 16:17:21 -08:00
Michael Lange
80ab0f56cf
Test coverage for frame misses
2018-11-06 16:17:21 -08:00
Michael Lange
19abb7b605
Clean up the remaining routes
2018-11-05 16:33:33 -08:00
Michael Lange
d4c6a698c3
Handle the job 404 error case on the other job sub pages
2018-11-05 16:06:08 -08:00
Michael Lange
af24546644
Handle the job 404 error case in versions
2018-11-05 15:42:04 -08:00
Michael Lange
2925285f00
Handle the job 404 case in the job definition route
2018-11-05 15:20:31 -08:00
Michael Lange
8ef22a06fe
Handle the job 404 case in task group routes
2018-11-02 19:25:50 -07:00
Michael Lange
964c93e07f
Guard against the element already being destroyed
...
Since DOM code is in a run.next, it's possible that between the DOM
code being queued and running the element is destroyed. So the DOM
code needs to guard against this using the isDestroyed API.
2018-11-02 17:08:02 -07:00
Michael Lange
174dc02025
Improve client stat simulation and add a chance for requests to error
2018-11-01 22:11:56 -07:00
Michael Lange
3d7d7310a1
Gracefully handle response errors in stat trackers
...
1. Check if the response is a 4xx/5xx
2. If it is, skip the append step and track a frame miss
3. If enough frame misses occur in a row, treat it as a pause
A "pause" is when a null data frame is added, which shows up as a
gap in line charts.
2018-11-01 22:08:57 -07:00
Michael Lange
36fed0919d
Move jsonWithDefault to a util
2018-11-01 22:07:58 -07:00
Michael Lange
00ba1412b8
Merge pull request #4829 from hashicorp/f-ui-build-perf
...
UI: build time performance improvements
2018-11-01 15:04:30 -07:00
Michael Lange
f4813d49ba
Remove unused bourbon dependency
2018-11-01 14:37:39 -07:00
Michael Lange
be77e3d981
Speed up builds by cutting corners given config and env
2018-11-01 14:19:22 -07:00
Michael Lange
7cd8179637
Test coverage for breadcrumb qp change
2018-10-31 13:27:35 -07:00
Michael Lange
0a4242eb13
Provide the namespace query param to the task group link
2018-10-31 12:50:39 -07:00
Michael Lange
b2acd381f9
Test coverage for resetPagination
2018-10-30 14:17:23 -07:00
Michael Lange
c6afcb4499
Add the resetPagination hook to search boxes across the app
2018-10-30 10:52:54 -07:00
Michael Lange
571e5c35c3
Add a resetPagination method to the searchable mixin
...
Searchable can be used without pagination, but reseting pagination
is more a function of search than pagination insofar as if you
add search to a page, you are also going to want automatic pagination
resetting.
2018-10-30 10:51:31 -07:00