Commit Graph

1011 Commits

Author SHA1 Message Date
Buck Doyle
dfb88cc787 UI: add Consul Connect features (#6108) 2019-09-04 09:39:56 -05:00
Buck Doyle
2364fb2da1 UI: Add creation time to evaluations table (#6050) 2019-08-22 08:11:24 -05:00
Michael Lange
c29d836dd9 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
7b038acdb7 Remove the temporary allocationFileExplorer mirage scenario 2019-08-20 09:40:49 -07:00
Buck Doyle
02f6a71dae 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
65aa4757b8 Use the standard empty state when a dir is empty 2019-08-19 17:16:26 -07:00
Michael Lange
354da0f60c 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
a321145457 Encode characters in file paths to ensure proper URIs 2019-08-14 12:54:11 -07:00
Michael Lange
a728ed13e1 Prevent a change in height when switching from a dir to a file 2019-08-08 15:41:47 -07:00
Michael Lange
0fad368fe9 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
a8c90f5352 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
ed55a7b09a 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
038fc27ef0 Always preload the alloc node so the client can be dialed first 2019-08-07 17:35:15 -07:00
Michael Lange
186a620ef1 Include all client fs endpoints in the hosts block 2019-08-07 17:34:41 -07:00
Michael Lange
55d8ff4b0b Add additional troublesome characters to the alloc-file name factory 2019-08-07 15:29:57 -07:00
Michael Lange
26e74fe2e2 Make a dedicated fs-breadcrumbs component 2019-08-07 15:29:14 -07:00
Michael Lange
55039b6b82 Minor fixes from code review 2019-08-07 15:11:32 -07:00
Michael Lange
e97c91191c Use a data-uri instead of an image for the image-file-test 2019-08-07 15:08:38 -07:00
Buck Doyle
34213f4c85 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
473ef7a662 Add page titles to filesystem routes (#6024) 2019-08-01 11:17:46 -05:00
Michael Lange
e277cc5308 Update factory-based fs tests to sort properly 2019-07-31 01:41:00 -07:00
Michael Lange
be5c88fd4f Remove errant server logging line 2019-07-31 01:40:39 -07:00
Michael Lange
a465046d9c fixup-integrate-file-component 2019-07-31 01:39:59 -07:00
Michael Lange
0471f28e9e Add file mocks to every mirage scenario 2019-07-30 17:25:50 -07:00
Michael Lange
c4516158b0 Test coverage for task-file component 2019-07-30 17:25:49 -07:00
Michael Lange
6bd54f7343 Test coverage for streaming file component 2019-07-30 17:25:48 -07:00
Michael Lange
7294f38a32 Integration tests for the image-file component 2019-07-30 17:25:47 -07:00
Michael Lange
8f496e8b65 Refactor existing fs tests to use new mirage factories 2019-07-30 17:25:46 -07:00
Michael Lange
55349dccee Add unsupported file type state 2019-07-30 17:25:45 -07:00
Michael Lange
4b037bde7f Add hollow variation to empty-message 2019-07-30 17:25:44 -07:00
Michael Lange
33f1da9bbd cat, stream, and readat mocks for alloc fs 2019-07-30 17:25:44 -07:00
Michael Lange
97c45096df Use the alloc file factory for the fs stat and fs ls end points 2019-07-30 17:25:43 -07:00
Michael Lange
c4dd61d1cd Mirage factory for file system fixtures 2019-07-30 17:25:42 -07:00
Michael Lange
bd9d73ba5d Fix a bug where tail calls for files weren't getting the correct params 2019-07-30 17:25:41 -07:00
Michael Lange
fea3731068 Integrate the task-file component with the fs explorer pages 2019-07-30 17:25:40 -07:00
Michael Lange
ccbe31f0d6 Always escape < and > to avoid inadvertently rendering html 2019-07-30 17:22:54 -07:00
Michael Lange
c335aced9b Custom Log instance to deal with API quirks 2019-07-30 17:22:53 -07:00
Michael Lange
a609606901 Add a plainText mode 2019-07-30 17:22:53 -07:00
Michael Lange
8403cbaa53 Refactored and image support of the task-file component 2019-07-30 17:22:52 -07:00
Michael Lange
6ec7fafaa5 Markup for the image-file component 2019-07-30 17:22:51 -07:00
Michael Lange
0698e119c8 Address WindowResizable refactor 2019-07-30 17:22:50 -07:00
Michael Lange
8966bc0830 Styles for the image-file component 2019-07-30 17:22:49 -07:00
Michael Lange
45c8f37157 image-file component for showing an image and image metadata 2019-07-30 17:22:49 -07:00
Michael Lange
caf48ee3e6 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
a993a305cd New task-file component
Based on the task-log component. Commonalities will be refactored.
2019-07-30 17:22:47 -07:00
Michael Lange
871fe105a2 Tweak log window math 2019-07-30 17:22:46 -07:00
Michael Lange
07f1c89cc5 Use the stream decode util and never opt to use the plain query param 2019-07-30 17:22:45 -07:00
Michael Lange
a21ae52783 Move common stream frame decoding to a util 2019-07-30 17:22:44 -07:00
Buck Doyle
2152d57df3 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
c0ba4eeac9 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