Closed Bug 1553681 Opened 6 years ago Closed 6 years ago

Reundant confirmation dialog for reloading the page

Categories

(Tree Management :: Treeherder: Frontend, defect, P3)

defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: botond, Assigned: shavindra)

Details

(Keywords: good-first-bug, outreachy, Whiteboard: [lang=js])

Attachments

(2 files)

STR:

  1. Have a Treeherder page open.
  2. Wait for a site update, which causes a blue header bar to appear that says something like "Reload to update the page", with a red "Reload" button.
  3. Click the red "Reload" button.

Actual results:

I get a dialog asking if I want to reload the page.

Expected results:

I think my intentions are pretty clear when I press the red "Reload" button; no need for a dialog.

Yeah, that makes sense. :)

Priority: -- → P3
Whiteboard: [lang=js]

Hi, I am an outreachy applicant, can I start work on this issue?

Hi Janeln-- We actually closed down this project to new applicants late this morning. We have more folks than we can manage at the moment. My apologies.

Assignee: nobody → clc_80

Claudia, since you inquired yesterday, I have assigned this bug to you. Please let me know if you have any questions. :)

Status: NEW → ASSIGNED

Claudia, were you still planning to work on this bug?

Flags: needinfo?(clc_80)
Assignee: clc_80 → nobody
Status: ASSIGNED → NEW
Flags: needinfo?(clc_80)

I would like to look in to this if its ok?

Flags: needinfo?(botond)

Hi shavindra, yes, it looks like this bug is available for taking. I'm not the right person to mentor it though, let's ask Sarah.

Flags: needinfo?(botond) → needinfo?(sclements)

I'll assign this bug to you Shavindra (if you later decide you don't want to work on it, please remove your name from "assignee"). Please take a look at our docs before you get started: https://treeherder.readthedocs.io/index.html

camd will be able to answer questions and review your pull request - you'll need to mention him in the github pr.

Flags: needinfo?(sclements)
Assignee: nobody → shavindra
Attached image firefox_lktNbXpxaw.png

I cannot see a red button. Initial Text says "Treeherder update available" It's only the Title when you hover that says "reload...".

When I click on the text "Treeheder update available" button I get the confirmation window.

Is the purpose of this is to just remove the confirmation dialog? Or something else?

Flags: needinfo?(cdawson)

Shavindra: Yes, it's just a matter of removing that confirmation dialog in the screenshot and doing the reload as soon as you click the first button.

Flags: needinfo?(cdawson)
Attached file GitHub Pull Request

It's ready for review. I could also add a test for App_test.jsx too. But might require more changes to the _test file. Wasn't sure if it's necessary. Let me know if it's need to be done?

Flags: needinfo?(cdawson)

I will review your changes in github.

Flags: needinfo?(cdawson)

I can't seem have option change the Status: Resolved > Fixed. I only seem to get WORKSFORME?. I've read the docs but seems nothing in there that suggest to help me to say finalize application / Trigger a release or anything like that?

Status: NEW → RESOLVED
Closed: 6 years ago
Flags: needinfo?(cdawson)
Resolution: --- → WORKSFORME
Flags: needinfo?(cdawson)
Resolution: WORKSFORME → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: