Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add per-command tracking to API out output detail page #1563

Merged
merged 17 commits into from Aug 19, 2015

Conversation

agjohnson
Copy link
Contributor

Sorry for another undigestable refactor, but no way to do this incrementally.

This adds per-command tracking inside build environments and on the build
detail page. Instead of lumping build output together, this starts to break out
output and errors into logical chunks that will be easier to understand by end
users. The front end pieces make use of KnockoutJS for data binding objects to
the DOM. It performs an ajax call to the build api to return updates on the
build object and commands that are attached to the build object.

The API has the following changes:

  • 馃敟 API v1 build endpoint
  • Makes API v2 build endpoint usable
  • Adds API v2 command endpoint for adding commands
  • API v2 build endpoint returns nested commands for easier API calls
  • Adds necessary permissions to allow admin creation and authed/anonymous user
    read-only access

screen shot 2015-08-14 at 3 52 05 pm

@gregmuellegger
Copy link
Contributor

Other than the inline comments: awesome!
That will make the build page so much better.

I haven't tried this locally, only looked at your screenshot. Can the output be scrolled horizontally?

@ericholscher ericholscher added the PR: work in progress Pull request is not ready for full review label Aug 18, 2015
@agjohnson
Copy link
Contributor Author

And yeah, command/output elements are all independently horizontally scrollable

@agjohnson agjohnson added PR: ready for review and removed PR: work in progress Pull request is not ready for full review labels Aug 19, 2015
@ericholscher
Copy link
Member

Looks good to me. 馃殺

agjohnson added a commit that referenced this pull request Aug 19, 2015
Add per-command tracking to API out output detail page
@agjohnson agjohnson merged commit 457823d into master Aug 19, 2015
@agjohnson agjohnson deleted the build-ux-refactor branch August 19, 2015 23:37
@gregmuellegger
Copy link
Contributor

The UI really looks good in production :)

I noticed that the builds for the tickets #1028 #1572 do not contain any output:
https://readthedocs.org/projects/treeherder/builds/3256997/
https://readthedocs.org/projects/mongooseim/builds/3256523/

However, the users were able to provide a error message (stating something about wrong parameters to init). I wonder if the informational output got less after the deploy of this change.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants