Closed
Bug 1083736
Opened 10 years ago
Closed 10 years ago
Filters dropdown panel doesn't update UI correctly
Categories
(Tree Management :: Treeherder, defect, P2)
Tree Management
Treeherder
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: jgraham, Assigned: koddsson)
References
Details
Attachments
(2 files)
Using the filters dropdown an adding a field like "group symbol" "W" causes the URL to be updated to contain &field-job_group_symbol=w but hides all jobs. Reloading the page then causes the filter to apply, but the fact that the filter is applied doesn't get reflected in the dropdown UI. This makes the filtering functionality very painful to use.
Assignee | ||
Comment 1•10 years ago
|
||
I'm not sure if I have to state this directly but I'd like to work on this bug if possible.
Assignee | ||
Comment 2•10 years ago
|
||
In any case I made a PR here. https://github.com/mozilla/treeherder-ui/pull/240
Comment 3•10 years ago
|
||
Cameron or Mauro, could you take a look at Kristján's PR? :-)
Assignee: nobody → koddsson
Status: NEW → ASSIGNED
OS: Linux → All
Hardware: x86_64 → All
Updated•10 years ago
|
Blocks: treeherder-dev-transition, 1059359
Priority: -- → P2
Comment 4•10 years ago
|
||
Thanks for helping out Kristján! I've added your same PR as a 'text' attachment (the path to the PR on Github), and flagged a review request for both Cameron and Mauro, whoever gets to it first.
Attachment #8510827 -
Flags: review?(mdoglio)
Attachment #8510827 -
Flags: review?(cdawson)
Updated•10 years ago
|
Attachment #8510827 -
Flags: review?(cdawson)
Comment 5•10 years ago
|
||
Just a quick update, I'm reviewing this patch
Comment 6•10 years ago
|
||
@koddsson thanks for looking into this. I tried your PR locally and I still see the issue. Does it work for you locally?
Assignee | ||
Comment 7•10 years ago
|
||
Let me double check that and get back to you :)
Assignee | ||
Comment 8•10 years ago
|
||
Assignee | ||
Comment 9•10 years ago
|
||
Still works for me! It´s entierly possible that I misunderstood the issue though so I made a gif and attached it to this bug report.
Reporter | ||
Comment 10•10 years ago
|
||
I can't tell from that gif if it's working or not. It shows that some things are removed when the filter was applied, but in the original bug everything was removed, not just the things that don't match the filter.
Assignee | ||
Comment 11•10 years ago
|
||
Oh man, I completely skipped trough that part when I was reading it and therefor thought that this was just about the missing tag from the UI. My PR does not address the issue of the jobs being all cleared out on filtering but I've got some time this weekend to sort that out if that's cool.
Assignee | ||
Comment 12•10 years ago
|
||
I just pushed a change that should have this all cleaned up and fixed.
Flags: needinfo?(mdoglio)
Flags: needinfo?(james)
Reporter | ||
Comment 14•10 years ago
|
||
OK, I don't know if I can usefully help here without learning the whole treeherder frontend code. Which I would really prefer not to do ;)
Flags: needinfo?(james)
Updated•10 years ago
|
Attachment #8510827 -
Flags: review?(mdoglio) → review?(cdawson)
Comment 15•10 years ago
|
||
Commits pushed to master at https://github.com/mozilla/treeherder-ui
https://github.com/mozilla/treeherder-ui/commit/2b384378c5e313b8b6100b4261678eabd6aa132e
[fix bug 1083736] Add emit with query on load.
https://github.com/mozilla/treeherder-ui/commit/5b2de77df4f085061c77035ddee32c3d131d9227
Merge pull request #240 from koddsson/fix-1083736
[fix bug 1083736] Add emit with query on load.
Comment 16•10 years ago
|
||
This is partially addressed in the merged PR, but needs more work. That work will continue in this bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1095184
Updated•10 years ago
|
Attachment #8510827 -
Flags: review?(cdawson) → review+
Updated•10 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Comment 17•10 years ago
|
||
Commits pushed to master at https://github.com/mozilla/treeherder
https://github.com/mozilla/treeherder/commit/51ad30dd1b2c26762147493850dd76428ecaedc8
[fix bug 1083736] Add emit with query on load.
https://github.com/mozilla/treeherder/commit/b06d041f9c22d6bfacecdf2ecc0ccada64b9ce73
Merge pull request #240 from koddsson/fix-1083736
[fix bug 1083736] Add emit with query on load.
You need to log in
before you can comment on or make changes to this bug.
Description
•