Commit Graph

111 Commits

Author SHA1 Message Date
Michael Lange
c9bd7c89ed Use max-width to ensure the width rule is observed in Firefox 2019-10-10 10:34:33 -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
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
Michael Lange
55039b6b82 Minor fixes from code review 2019-08-07 15:11:32 -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
Michael Lange
4b037bde7f Add hollow variation to empty-message 2019-07-30 17:25:44 -07:00
Michael Lange
8966bc0830 Styles for the image-file component 2019-07-30 17:22:49 -07: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
Buck Doyle
f046ec31e5 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
596b5aaf7e 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
Michael Lange
44fc18e54a 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
ee07bab099 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
Michael Lange
35c45e61ca Account for the search icon within the is-compact modifer 2019-06-27 12:32:26 -07:00
Buck Doyle
6c0080a252 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
b33ff625db New with-headroom modifier for titles 2019-05-21 09:24:15 -07:00
Michael Lange
7ae2081282 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
dca386ca70 Make sure tooltips show up over the top of the side bar 2019-04-22 16:40:03 -07:00
Michael Lange
c456c5eed0 Show preemptions on the job plan phase of job submission 2019-04-22 16:40:01 -07:00
Michael Lange
9d4756f732 New toolbar CSS component 2019-04-10 10:34:10 -05:00
Michael Lange
e28fe37a1c 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
b650b4f84e 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
738ceda8f2 Improve the search box component to make it fluid and iconed 2019-04-10 10:34:10 -05:00
Michael Lange
2808671c78 Support for the no options case 2019-04-10 10:34:10 -05:00
Michael Lange
ca6a6a2910 Harden dropdown styles to avoid accidental cascading 2019-04-10 10:34:10 -05:00
Michael Lange
b4a921f511 Tab and keyboard navigation for multi-select 2019-04-10 10:34:10 -05:00
Michael Lange
6909d3a8c9 Multi-select button-bar support 2019-04-10 10:34:10 -05:00
Michael Lange
a85a11dc42 Color alias for tags 2019-04-10 10:34:10 -05:00
Michael Lange
eae97d992c Persistence and onSelect handler for the multi-select-dropdown 2019-04-10 10:34:10 -05:00
Michael Lange
3cef4286ad Templating and styling the multi-select-dropdown component 2019-04-10 10:34:10 -05:00
Jacek Jagiello
27d5d3ea64 5303 make logs view full width to better support large screens 2019-03-06 23:29:24 +01:00
Michael Lange
b0028237d5 Get error messages closer to Structure designs 2018-11-09 13:23:44 -08:00
Michael Lange
feb133bc28 Add support for link in error containers 2018-11-07 16:08:05 -08:00
Michael Lange
3c75bd49eb Merge pull request #4727 from hashicorp/f-ui-improved-stats-charts
UI: Improved stats charts
2018-10-17 10:55:54 -07:00
Michael Lange
0e563e505b Make the global logo link to the jobs page (home page) 2018-09-26 11:19:24 -07:00
Michael Lange
58349199c6 Style the primary-metric pattern 2018-09-14 10:20:33 -07:00
Michael Lange
a3e858e27e Updates to the styleguide 2018-09-13 16:45:56 -07:00
Michael Lange
db6ad98eb4 Make the tooltip animation snappier for line charts
When data is coming in live, the tooltip can get bogged down by updates
causing the tooltip to never make it under the mouse, which looks like
either lag or a bug.
2018-09-13 16:45:13 -07:00
Michael Lange
48df4d2d29 New line chart component 2018-09-13 16:45:08 -07:00
Michael Lange
dc63be2a8f Add support for non-list tooltips in charts 2018-09-07 09:57:54 -07:00
Michael Lange
5b927d3654 Add chart color swatches based on css colors 2018-09-07 09:57:33 -07:00
Michael Lange
b68ba61105 Fix bug where scrolling wasn't using the document
Instead it was using the page-layout is-right div
2018-08-21 16:44:59 -07:00
Michael Lange
da1e179704 Parse and Plan API and UI workflows 2018-08-14 17:29:51 -07:00
Michael Lange
53f2ca3127 New layout helper for associating two elements vertically
By default, blocks have a margin of 1.5em to create a consistent
vertical rhythm. However, sometimes elements need to be associated with
the element above them. In this cases, the gap between elements needs to
be tighter. There are many ways to do this, but this approach asks the
latter content to be marked as associative. The implication is that the
association is with the previous block.
2018-08-14 12:47:28 -07:00
Michael Lange
751b6e2fd6 Enforce a min-height for the code editor component 2018-08-14 12:46:55 -07:00
Michael Lange
dcd8133461 Remove the old json viewer 2018-08-13 17:04:15 -07:00
Michael Lange
8291373d24 Theme CodeMirror
Borrowed heavily from Vault
2018-08-13 17:04:14 -07:00
Michael Lange
d77504c539 Never show the menu divider for the first menu item 2018-08-09 18:22:38 -07:00
Michael Lange
95fcbda60a Line breadcrumbs up flush with section content 2018-08-09 18:22:38 -07:00
Michael Lange
610db7c8c7 Make the dropdown ever so slightly off-white 2018-08-09 18:22:38 -07:00