Closed Bug 1111817 Opened 10 years ago Closed 7 years ago

Add 'Top' Button that scrolls to the top

Categories

(Content Services Graveyard :: Interest Dashboard, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: emtwo, Assigned: garganmol1993, Mentored)

Details

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

Attachments

(1 file)

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.
Design guide for "Top" button on page 10 of this attached document.
Whiteboard: [good first bug][lang=js]
I would like to work on this bug. Can you guide as to how to get started?
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
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
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.
Is this still unresolved? I would like to work on it as well.
Hi Abhishek, it's still unresolved but it's assigned to Anmol. Are you still working on this bug, Anmol?
Flags: needinfo?(garganmol1993)
May i know if this bug is fixed or shall i work on it?
Hi Manikandan, it's unresolved and it seems no one is actively working on it, so you may take it.
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
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.
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)
Hi Marina,

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

Regards,
Wasim
hey,is this bug still unresolved? i want to work on it.
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
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
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.
Sorry, this project is no longer active. You can find other js bugs here: https://www.joshmatthews.net/bugsahoy/?js=1
Status: NEW → RESOLVED
Closed: 7 years 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.

Attachment

General

Created:
Updated:
Size: