Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[WebProfilerBundle] Append new ajax request to the end of the list#27763

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
fabpot merged 1 commit intosymfony:masterfromBoShurik:append-ajax-requests
Aug 2, 2018
Merged

[WebProfilerBundle] Append new ajax request to the end of the list#27763

fabpot merged 1 commit intosymfony:masterfromBoShurik:append-ajax-requests
Aug 2, 2018

Conversation

@BoShurik
Copy link
Contributor

Append new ajax request to the end of the list instead of adding it to the beginning

QA
Branch?master
Bug fix?no
New feature?yes/no
BC breaks?no/yes
Deprecations?no
Tests pass?yes
Fixed tickets-
LicenseMIT
Doc PR-

Didn't find why this behavior was changed with web profiler design.
In current version it is hard to click to the latest ajax request.

Koc reacted with thumbs up emoji
@BoShurik
Copy link
ContributorAuthor

Not sure that failed build is related to the changes...

@nicolas-grekasnicolas-grekas added this to thenext milestoneJul 1, 2018
@javiereguiluz
Copy link
Member

Let's ask some heavy users of Ajax requests (like@ostrolucky) what do they think of this proposal. I "remember" that in the past we did the opposite change ... but I'm not sure at all. Thanks!

@ostrolucky
Copy link
Contributor

I don't remember this being at bottom ever

@BoShurik
Copy link
ContributorAuthor

@ostrolucky this behaviour was at the first (light) profiler design with symfony <=2.7

@BoShurik
Copy link
ContributorAuthor

Before:

ajax-before

After:

ajax-after

@stof
Copy link
Member

stof commentedJul 3, 2018

The past change was done in#17457, based on discussion in#16831

@stof
Copy link
Member

stof commentedJul 3, 2018

btw, your GIF shows that you are reintroducing the behavior which was asked for removal: having to scroll to be able to see the latest requests.

@BoShurik
Copy link
ContributorAuthor

@stof missed that one. Is this the only reason?

What about this behavior:

ajax-after-2

apfelbox, Kynno, gharlan, and Kocal reacted with thumbs up emoji

@ostrolucky
Copy link
Contributor

I think that would be best. It mimics behaviour of browser network inspectors

@fabpot
Copy link
Member

Thank you@BoShurik.

@fabpotfabpot merged commit45d4559 intosymfony:masterAug 2, 2018
fabpot added a commit that referenced this pull requestAug 2, 2018
… of the list (BoShurik)This PR was squashed before being merged into the 4.2-dev branch (closes#27763).Discussion----------[WebProfilerBundle] Append new ajax request to the end of the listAppend new ajax request to the end of the list instead of adding it to the beginning| Q             | A| ------------- | ---| Branch?       | master| Bug fix?      | no| New feature?  | yes/no| BC breaks?    | no/yes| Deprecations? | no| Tests pass?   | yes| Fixed tickets | -| License       | MIT| Doc PR        | -Didn't find why this behavior was changed with web profiler design.In current version it is hard to click to the latest ajax request.Commits-------45d4559 [WebProfilerBundle] Append new ajax request to the end of the list
row.className='sf-ajax-request sf-ajax-request-loading';
tbody.insertBefore(row,tbody.firstChild);
tbody.insertBefore(row,null);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

isn't thattbody.appendChild(row) ?

Copy link
ContributorAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

@stof oh, missed that one. Is it worth a new PR?

@nicolas-grekasnicolas-grekas modified the milestones:next,4.2Nov 1, 2018
This was referencedNov 3, 2018
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@stofstofstof left review comments

@fabpotfabpotfabpot approved these changes

+1 more reviewer

@vudaltsovvudaltsovvudaltsov approved these changes

Reviewers whose approvals may not affect merge requirements

Assignees

No one assigned

Projects

None yet

Milestone

4.2

Development

Successfully merging this pull request may close these issues.

8 participants

@BoShurik@javiereguiluz@ostrolucky@stof@fabpot@vudaltsov@nicolas-grekas@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp