Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request]: Add Dropdown Menu to the "Impact Report" Button #21592

Open
PrettyNneoma opened this issue Jan 2, 2025 · 5 comments
Open
Labels
enhancement Label to indicate an issue is a feature/improvement triage needed

Comments

@PrettyNneoma
Copy link

PrettyNneoma commented Jan 2, 2025

Is your feature request related to a problem? Please describe.

This feature is needed to upload the recently completed 2023 Impact Report to the website.

Describe the solution (or solutions) you'd like

The platform's current "impact report" button takes users directly to "Impact report for 2022".
Screenshot 2025-01-02 at 05 39 05

We would like users who click on the "Impact Report" button to see a dropdown menu displaying a list of available years. This will allow users to easily select and view the specific year's report they are interested in.

Describe alternatives you've considered and rejected

N/A

Additional context

Link to the 2022 report - https://drive.google.com/file/d/1zowwvv1bXdvZ9295c7QqK4n4P_iKMEcc/view?usp=drive_link

@PrettyNneoma PrettyNneoma added enhancement Label to indicate an issue is a feature/improvement triage needed labels Jan 2, 2025
@kajalchaudhary07
Copy link

Hi team,

I would like to work on this issue. Could you please assign it to me?

Steps to Implement the Dropdown Menu for Impact Reports :
Identify the file where the "Impact Report" button is currently implemented. This will likely be an Angular component template or HTML file.
Locate the Angular component and template file associated with the "Impact Report" button.
Replace the "Impact Report" button with a dropdown menu in the template.

Update the Routing Logic.

Verify that the dropdown menu displays correctly and functions as expected.
Ensure that selecting a year from the dropdown navigates to the correct impact report page.
Thanks!

@seanlip
Copy link
Member

seanlip commented Jan 5, 2025

@kajalchaudhary07 Per the guidance at https://github.com/oppia/oppia/wiki/Contributing-code-to-Oppia#choosing-a-good-first-issue, please provide a video showing that the changes work correctly on your local machine. If it looks good, we can assign you to this issue.

Please also follow the other instructions on that wiki page if you have not yet done so. Thanks!

@kajalchaudhary07
Copy link

Hi @seanlip

Thank you for the guidance. I will follow the instructions on the Contributing Code to Oppia page and provide a video showing that the changes work correctly on my local machine.

I will proceed with the steps outlined in the wiki and share the video once I have completed the implementation.

Thanks!

@kajalchaudhary07
Copy link

Hi @seanlip ,

I am new to open source contribution and I am interested in working on the feature request to add a dropdown menu to the "Impact Report" button. This is my first contribution to the project, and I am having trouble locating the exact file where I need to make the changes.

I have been working since morning and have searched extensively to find the right file, but I am still unable to locate it. Could someone please guide me to the right file or provide some pointers on where to start looking?

Thank you for your help!

Best regards.

@seanlip
Copy link
Member

seanlip commented Jan 5, 2025

Figuring out which file to change is an important skill to learn. You might want to try this and other tutorials in the wiki to see how to do so in practice.

If you are still stuck, then you will need to show your work. You might want to create a debugging doc and post it to GitHub Discussions to explain where you've gotten to so far, and what exactly you are stuck with.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Label to indicate an issue is a feature/improvement triage needed
Projects
None yet
Development

No branches or pull requests

3 participants