WikiEduDashboard icon indicating copy to clipboard operation
WikiEduDashboard copied to clipboard

Redesign /usage page

Open ragesoss opened this issue 5 years ago • 37 comments

The /usage page has a lot of useful data, but it has never had any intentional design thought put into it.

Come up with a better layout. (Coming up with a good design is all that is required for this issue; implementing the design would be a separate issue.)

Current layout: usage

ragesoss avatar Mar 15 '19 19:03 ragesoss

Created below layout for Usage screen Usage Stats

mariahajmal avatar Mar 16 '19 12:03 mariahajmal

@mariahajmal This looks pretty great! For the "Courses/Programs per Wiki", we will need to include numbers next to each list item. Additionally, it might be nice to incorporate a way to filter the usage by dates that would update the relevant information. (Realistically, I think this would be a feature that is not needed at the moment, but since we're just designing right now, might as well include it.)

bwreid avatar Mar 18 '19 16:03 bwreid

One thing to consider with this design: the courses/programs per wiki list needs to work when the list is very much longer than the one shown. Here's what it looks like now on Programs & Events Dashboard: https://outreachdashboard.wmflabs.org/usage

Currently, it's 103 wikis, and it'll grow a bit more over time. The count of programs per wiki is also key information, and that should factor into the design. I think the first thing I'd want to see is the option to sort that list of wikis alphabetically by language and then project (the current sort); by number of programs; or by project and then language (so that all the wikisource languages appear together, for instance).

Another thing to consider: is there anything that would be useful in understanding the overall usage stats that isn't here and ought to be added? What additional info would be interesting?

ragesoss avatar Mar 25 '19 19:03 ragesoss

Hello, I am new here! I would like to work on this issue, is it still open?

RiaJha02 avatar Feb 07 '21 16:02 RiaJha02

Yep, it's still open. go for it!

ragesoss avatar Feb 07 '21 17:02 ragesoss

Hello! I designed the layout attached below, please review it. Thanks!!

ss-1

RiaJha02 avatar Feb 12 '21 12:02 RiaJha02

This is nice! I assume the color scheme and fine styling here isn't meant to reflect the intended design, and the point is to separate the different parts of the page into Material-style components (as used elsewhere on the site). This basic layout concept looks good; definitely an improvement on the current design.

ragesoss avatar Feb 22 '21 17:02 ragesoss

Sure, I'll update it! Thanks

RiaJha02 avatar Feb 28 '21 09:02 RiaJha02

Hi! I'm currently participating in outreachy and wanted to check if i can claim this issue if it's still open. Thanks!

mariipia10 avatar Oct 08 '21 19:10 mariipia10

@mariipia10 yes. There are a few designs that others have contributed, so taking the ideas you like from those and incorporating them into another iteration might be a good way to do it. (And implementing the design would be a good next step for an Outreachy application.)

ragesoss avatar Oct 08 '21 19:10 ragesoss

@ragesoss perfect, i'll do my best. Thanks

mariipia10 avatar Oct 09 '21 14:10 mariipia10

@ragesoss Hello, Can i work on this issue if it is still available?

C-NikhilKarthik avatar Feb 26 '23 11:02 C-NikhilKarthik

@C-NikhilKarthik yes, go for it.

ragesoss avatar Feb 27 '23 22:02 ragesoss

@C-NikhilKarthik yes, go for it.

@ragesoss Can you please tell me where to find the jsx file for the /usage route

C-NikhilKarthik avatar Feb 28 '23 05:02 C-NikhilKarthik

There is no jsx for the current /usage route. It's rendered server-side with a .haml template. If you want to work on it in React, you have a blank canvas!

ragesoss avatar Feb 28 '23 17:02 ragesoss

@ragesoss can i try to work on this by creating a jsx file? Or should I continue with the .haml file

C-NikhilKarthik avatar Feb 28 '23 18:02 C-NikhilKarthik

@C-NikhilKarthik either one is fine. I think doing it in JSX will be a more flexible approach.

ragesoss avatar Feb 28 '23 18:02 ragesoss

Hello @ragesoss i am getting this error since i tried to update my linux. I had the server running properly before i tried to upgrade the linux version. Screenshot from 2023-03-01 10-21-30

C-NikhilKarthik avatar Mar 01 '23 04:03 C-NikhilKarthik

Looks like you're on the right track. This error is because the database credentials in database.yml don't provide access to your database server. You may need to manually add appropriate credentials to mysql. See the 'manual setup' section of setup.md for some guidance on how to fix that.

ragesoss avatar Mar 01 '23 19:03 ragesoss

Hello @ragesoss I was trying to use WSL, is this supposed to be the output for the commands yarn yarn build? Screenshot (225)

C-NikhilKarthik avatar Mar 02 '23 06:03 C-NikhilKarthik

That all looks normal. I assume there was a little more output and then the yarn build command finished, after you took the screenshot.

On Wed, Mar 1, 2023, 10:06 PM C-NikhilKarthik @.***> wrote:

Hello @ragesoss https://github.com/ragesoss I was trying to use WSL, is this supposed to be the output for the commands yarn yarn build? [image: Screenshot (225)] https://user-images.githubusercontent.com/100520932/222344933-a7ccd39b-a19a-45cd-a704-b709d7c520f1.png

— Reply to this email directly, view it on GitHub https://github.com/WikiEducationFoundation/WikiEduDashboard/issues/2637#issuecomment-1451348776, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAGPEYYHLUJ2ZIK2LDKIY4TW2A2HZANCNFSM4G64RLBA . You are receiving this because you were mentioned.Message ID: @.*** com>

ragesoss avatar Mar 02 '23 06:03 ragesoss

That all looks normal. I assume there was a little more output and then the yarn build command finished, after you took the screenshot. On Wed, Mar 1, 2023, 10:06 PM C-NikhilKarthik @.> wrote: Hello @ragesoss https://github.com/ragesoss I was trying to use WSL, is this supposed to be the output for the commands yarn yarn build? [image: Screenshot (225)] https://user-images.githubusercontent.com/100520932/222344933-a7ccd39b-a19a-45cd-a704-b709d7c520f1.png — Reply to this email directly, view it on GitHub <#2637 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAGPEYYHLUJ2ZIK2LDKIY4TW2A2HZANCNFSM4G64RLBA . You are receiving this because you were mentioned.Message ID: @. com>

yarn build command was not completing, it was only showing those 3 lines

C-NikhilKarthik avatar Mar 02 '23 06:03 C-NikhilKarthik

Hmm... that's a problem I haven't seen before. Do you get a stack trace if you kill the process? I'm not sure what it might be getting stuck on.

ragesoss avatar Mar 02 '23 16:03 ragesoss

i am not getting any interrput messages when i stop the execution of yarn build And can i ask doubts in Zulip or any other method (like discord or mails ) or should i discuss the doubts here only? Screenshot (228)

C-NikhilKarthik avatar Mar 02 '23 16:03 C-NikhilKarthik

If you let me know your email address, I can send you an invite to the slack chat for this project.

ragesoss avatar Mar 02 '23 17:03 ragesoss

If you let me know your email address, I can send you an invite to the slack chat for this project.

Sure sir, My email address is [email protected]

C-NikhilKarthik avatar Mar 02 '23 17:03 C-NikhilKarthik

Hello @ragesoss can you please tell me where to find the /usage haml file so that i can replace it on my local system with a jsx file ( i understood the routing mechanism in this project for jsx files), sorry i was not able to contribute alot due to my semester exams.

C-NikhilKarthik avatar Mar 06 '23 13:03 C-NikhilKarthik

It's app/views/analytics/usage.html.haml.

ragesoss avatar Mar 06 '23 15:03 ragesoss

hey @ragesoss , I am an outreachy applicant 2023, may i work on it??

satyadev2 avatar Mar 10 '23 09:03 satyadev2

@satyadev2: Nikhil is working on this currently, although it's an open-ended issue and I'd welcome seeing multiple takes on it.

ragesoss avatar Mar 10 '23 18:03 ragesoss