380 Commits

Author SHA1 Message Date
Sybren A. Stüvel
0e92004f2a OAPI: regenerate code 2022-07-16 15:59:48 +02:00
Sybren A. Stüvel
120db29351 Web: show "Last seen: never" when worker has never been seen
Show "Last Seen: never" in the Worker details, if the Worker has never
been seen.
2022-07-16 15:35:07 +02:00
Sybren A. Stüvel
32f4ceedf3 Web: use backendURL() function to construct API and Add-on URLs
Use `backendURL()` function to construct API and Add-on URLs, so that they
work regardless of what is serving the webapp (Flamenco Manager or the
Vite development server).
2022-07-16 15:34:32 +02:00
Sybren A. Stüvel
b3701ef493 Web: style task log buttons
Style the task log buttons like the other buttons.
2022-07-16 13:23:06 +02:00
Sybren A. Stüvel
a97913bebb Web: add "Follow Task Log" button
The "Follow Task Log" button should make it easier to discover the task
log viewer in the footer pop-over.
2022-07-16 13:22:11 +02:00
Sybren A. Stüvel
726129446d T99730: Allow access to full task log
The web interface has a button that opens the task log in a new window.
This might need some restyling ;-)
2022-07-16 12:55:41 +02:00
Sybren A. Stüvel
e4627daf4b OAPI: regenerate code 2022-07-16 12:54:11 +02:00
Sybren A. Stüvel
f19d800e35 Web: fix task log loading
Not sure how this ever worked before. It did though ;-)
2022-07-16 11:28:45 +02:00
Sybren A. Stüvel
e2434b44f2 OAPI: regenerate code 2022-07-16 11:11:34 +02:00
Sybren A. Stüvel
9cebcc9f7c Fix T99391: get rid of the last occasional scrollbar in the middle column
My way to get things working (I wouldn't call this a "solution" as I don't
know the root cause) was to emit two consecutive "reshuffled" events when
changing tabs in the job details, and to recalculate the table height when
the job type (so not the job itself, but its type info) is loaded.
2022-07-16 10:51:43 +02:00
Sybren A. Stüvel
73f98f93a0 First-Time Wizard: reload the webpage after a succesful save
After saving the configuration, show a message & restart the webapp.

The restarting is done after 2 seconds, to give the Manager some time to
restart after receiving the new config.
2022-07-14 18:01:57 +02:00
Sybren A. Stüvel
10f56148d4 Allow saving configuration from the first-time wizard
This just updates the config and saves it to `flamenco-manager.yaml`.

Saving the configuration doesn't restart the Manager yet, that's for
another commit.
2022-07-14 17:27:17 +02:00
Sybren A. Stüvel
f9a3d3864a OAPI: regenerate code 2022-07-14 17:26:26 +02:00
Sybren A. Stüvel
f68c4860f4 First-time wizard: tweak some wording 2022-07-14 13:34:02 +02:00
Sybren A. Stüvel
aec5ee49e0 First-Time Wizard: allow selecting Blender executables
The wizard now finds Blender in various ways, and lets the user select
which one to use.

Doesn't save anything yet, though.
2022-07-14 12:22:56 +02:00
Sybren A. Stüvel
898019cf1d OAPI: regenerate code 2022-07-14 12:22:13 +02:00
Sybren A. Stüvel
20f13257f7 Move "blender finder" from Worker-specific to common location
Manager's first-time wizard will have to be able to find Blender as well.
2022-07-14 11:17:03 +02:00
Sybren A. Stüvel
aa9837b5f0 First incarnation of the first-time wizard
This adds a `-wizard` CLI option to the Manager, which opens a webbrowser
and shows the First-Time Wizard to aid in configuration of Flamenco.

This is work in progress. The wizard is just one page, and doesn't save
anything yet to the configuration.
2022-07-14 11:17:03 +02:00
Sybren A. Stüvel
e4a38f071c OAPI: regenerate code 2022-07-14 11:16:59 +02:00
Sybren A. Stüvel
cf2d0b553f Manager: fix mime type for JavaScript files
Go on Windows doesn't know `.js` files should be served with
`application/javascript` mime type, and thus uses the generic `text/plain`
type.
2022-07-13 18:49:35 +02:00
Sybren A. Stüvel
e576c5669f README-static.md: some extra info about running flamenco.io locally 2022-07-12 11:04:22 +02:00
Nate Rupsis
0f196b211a Website: Add macOS to Getting Started doc
Reviewed By: sybren

Differential Revision: https://developer.blender.org/D15426
2022-07-12 11:01:09 +02:00
Nate Rupsis
480269364b Add website devserver instructions to web/README-static.md
Add instructions to `web/README-static.md`, describing how to run the
static flamenco.io website locally.

Reviewed By: sybren

Differential Revision: https://developer.blender.org/D15426
2022-07-12 11:00:17 +02:00
Pablo Vazquez
5c17286e98 Add site.webmanifest
This way, on OS that allow it, Flamenco can be added as home shortcut
and have the proper shortcut name, icon, theme color, and browser buttons.

Needs testing on how 'standalone' display looks on Android tablets. Perhaps
a more minimal version of the browser can be used instead ('minimal-ui').
2022-07-08 15:26:44 +02:00
Pablo Vazquez
db01c640f5 Update favicon images and add theme color tag
Use the more easily recognizable Flamenco logo shape without the socket.
2022-07-08 15:24:06 +02:00
Sybren A. Stüvel
ae2cb281b4 OAPI: regenerate code 2022-07-08 11:35:57 +02:00
Francesco Siddi
8aa7c58d27 Website: Layout tweaks 2022-07-07 21:32:27 +02:00
Francesco Siddi
16b15ac8de Website: Update navigation 2022-07-07 21:32:18 +02:00
Francesco Siddi
926d039db1 Website: Disable breadcrumbs
Currently the navigation is simple enough, and the breadcrumbs were
exposing top level pages with no content.
2022-07-07 21:32:05 +02:00
Francesco Siddi
a41002766f Website: Update copyright text 2022-07-07 21:31:13 +02:00
Pablo Vazquez
204d9d1156 Footer: Add arrow icon to indicate that can be expanded 2022-07-07 17:49:23 +02:00
Pablo Vazquez
b8c49acf71 Cleanup: Rename window-footer to app-footer
Follow the naming used in other places like app-version or #app.
2022-07-07 17:49:23 +02:00
Francesco Siddi
06eb422286 Website: Design and content updates to flamenco.io 2022-07-07 17:08:28 +02:00
Pablo Vazquez
47110f437b JobDetails: Show message when job has no settings or metadata
Avoid an empty tab by displaying a message if there's no data.
2022-07-07 16:35:17 +02:00
Pablo Vazquez
d4fbad971c TaskDetails: Only show Type if defined 2022-07-07 16:13:07 +02:00
Pablo Vazquez
356c9b969d TaskDetails: Fix some details not showing when failed workers
Error introduced when the fields were sorted.
2022-07-07 16:13:07 +02:00
Pablo Vazquez
c718183e86 TaskDetails: Fix broken layout when multiple failed workers 2022-07-07 16:13:07 +02:00
Sybren A. Stüvel
7bceaf5b10 Web: reload window 60 minutes after user activity
Reload the webapp 60 minutes after keyboard/mouse activity.

Previously this was a hard 60 minutes after the webapp was loaded, which
means that it could happen while someone was actively working in the web
interface. This should now be prevented.
2022-07-07 16:08:54 +02:00
Pablo Vazquez
f8c49981f6 WorkersView: Add missing class to footer 2022-07-07 16:00:04 +02:00
Pablo Vazquez
8b7bcb9779 LastRenderedImage: Fix image not showing up in Firefox 2022-07-07 15:49:58 +02:00
Pablo Vazquez
23e752b351 LastRenderedImage: Fix nothing-rendered-yet image size 2022-07-07 15:40:50 +02:00
Pablo Vazquez
5ff5a4f141 JobDetails: Style preview container
* Limit preview container size to 16:9 aspect ratio.
* Use `-small` size of the last-rendered image, tiny is too small.
2022-07-07 15:34:30 +02:00
Pablo Vazquez
5501f86215 LastRenderedImage: Center image and limit width 2022-07-07 15:32:46 +02:00
Pablo Vazquez
29311417df UI: Prevent scrollbars showing up unnecessarily on some browsers
Use overlay overflow for compatible browsers (e.g. Chromium),
fallback to auto for non-compatible browsers (e.g. Firefox).

There should be no visible changes for Firefox users (tested on 101.0.1).
2022-07-07 12:39:14 +02:00
Pablo Vazquez
2712f565f0 UI: Remove extra bottom padding on page
The padding is added by the grid gap so it was duplicate.
2022-07-07 12:36:46 +02:00
Pablo Vazquez
7032c1ad0b Workers: Color status indicators
Match Jobs and Tasks.
2022-07-07 12:20:43 +02:00
Pablo Vazquez
d072e2c146 UI: Style transition arrow tweaks
* Replace font-size with transform and inline-block display, this way the arrow
scales without making the line taller (which leads to misalignments or jumpy
UI when switching between transitional statuses.

* Do not use accent color, it gets lost with the surrounding colors in status names.
  If we need to make this transition more prominent, we can use a subtle animation.
2022-07-07 12:20:43 +02:00
Pablo Vazquez
ff4a4e8aa0 Cleanup CSS
* Use variable instead of fixed value
* Remove unnecessary calc()
2022-07-07 12:20:43 +02:00
Pablo Vazquez
58d9ab9fb5 Workers: Style action bar 2022-07-07 12:20:43 +02:00
Pablo Vazquez
4f4af4029a UI: Update style of connection status 2022-07-06 19:29:19 +02:00