Add 'Top' Button that scrolls to the top

RESOLVED WONTFIX

Status

Content Services Graveyard
Interest Dashboard
RESOLVED WONTFIX
3 years ago
4 months ago

People

(Reporter: emtwo, Assigned: Anmol Garg, Mentored)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [good first bug][lang=js])

Attachments

(1 attachment)

(Reporter)

Description

3 years ago
This button should appear when a category list is open and a user has scrolled down the list a little bit. Clicking 'Top' should bring users back to the original view where the graphs are visible at the top.
(Reporter)

Comment 1

3 years ago
Created attachment 8536805 [details]
UP-Cleo_Interface_STYLE_GUIDE_V1.pdf

Design guide for "Top" button on page 10 of this attached document.
(Reporter)

Updated

3 years ago
Whiteboard: [good first bug][lang=js]
(Assignee)

Comment 2

3 years ago
I would like to work on this bug. Can you guide as to how to get started?

Comment 3

3 years ago
Hey Anmol, below are some general instructions for the interest dashboard.

The interest dashboard is an add-on and the code base lives here:
https://github.com/mozilla/interest-dashboard

You will need to install the add-on sdk to run/test it. Details here: https://developer.mozilla.org/en-US/Add-ons/SDK

You can find more detailed help on setup, testing, etc. Here:
https://wiki.mozilla.org/Content_Services/Interest_Dashboard/Get_Involved

And specifically for this bug, you'll probably want to add the button to this html page:
https://github.com/mozilla/interest-dashboard/blob/master/data/about-you.html
Assignee: nobody → garganmol1993
(Assignee)

Comment 4

3 years ago
Hi Ed!

Its my first time solving a bug so I am sorry if the questions are too silly or simple.
I have cloned the repository and installed the add-on sdk. Can you guide me as to how to view the changes locally?

Thanks
(Reporter)

Comment 5

3 years ago
Hi Anmol,

You can view your changes locally by doing the following:

1) Run the command `cfx run -p ~/path/to/firefox/profile`
2) Click the ID icon that is generated on your toolbar to take you to the about:you page where you can view your changes

If you don't know where your profile directory lives, you can go to about:support and click on the button next to 'Profile Folder' in blue to show it.

Comment 6

3 years ago
Is this still unresolved? I would like to work on it as well.
(Reporter)

Comment 7

3 years ago
Hi Abhishek, it's still unresolved but it's assigned to Anmol. Are you still working on this bug, Anmol?
Flags: needinfo?(garganmol1993)

Comment 8

3 years ago
May i know if this bug is fixed or shall i work on it?
(Reporter)

Comment 9

3 years ago
Hi Manikandan, it's unresolved and it seems no one is actively working on it, so you may take it.

Comment 10

3 years ago
I m trying to fix a bug in interest-dashboard addon..i have cloned the repo...i installed the sdk.if i run the html page(data->about you.html)...i dont get a complete html page!!!
whats the issue
(Reporter)

Comment 11

3 years ago
Hi Manikandan, did you do the 'cfx run' command to run the addon from source code?

Once you've done that, you need to type "about:you" into the url bar to get to the Interest Dashboard. Alternatively, you can click the "ID" button which should appear on your toolbar once you have successfully installed the add-on.

Comment 12

3 years ago
I started working on it. The design looks good, but as I have no experience in AngularJS, it doesn't scroll. Could you tell me, what is wrong?

$scope.gotoTop = function() {
      console.log("working..");
      window.scrollTo(0, 0);
  };

log is working, scrollTo not.
Flags: needinfo?(msamuel)

Comment 13

a year ago
Hi Marina,

I would like to work on this bug and resolve it as soon as I can.

Regards,
Wasim

Comment 14

a year ago
hey,is this bug still unresolved? i want to work on it.

Comment 15

a year ago
i would like to help.but i don't have any idea where is the source code and how this works.i am new to open source

Comment 16

a year ago
i would like to help.but i don't have any idea where is the source code and how this works.i am new to open source

Comment 17

4 months ago
I am new to open source and have a basic knowledge of javascript, python, and html/css.  This is my first attempt at a bug fix.  Is this a good starting point? I want to contribute, but will probably need some assistance. If you can guide me I will try my best to resolve this issue.

Comment 18

4 months ago
Sorry, this project is no longer active. You can find other js bugs here: https://www.joshmatthews.net/bugsahoy/?js=1
Status: NEW → RESOLVED
Last Resolved: 4 months ago
Flags: needinfo?(msamuel)
Flags: needinfo?(garganmol1993)
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.