Code Monkey home page Code Monkey logo

ka-notifications's Introduction

Top Langs

Hi There, I'm Elias!

Welcome to my Github profile! Here you will find some cool projects and solutions for coding competitions or challenges.

About Me

I'm a second-year Computer Science student at California Baptist University. Interned at Amazon (Summer 2023), Google (Summer 2024). Learning Vim and C currently. I main TypeScript.

ka-notifications's People

Contributors

bhavjitchauhan avatar eliasmurcray avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

ka-notifications's Issues

Extension Error in background.js

After a certain amount of time this error occurs in the background script.

Error code 2: Error in GraphQL getNotificationsForUser call: Server responded  with status 403 and body "routes._validatePermission: [unauthorized error] Operation not found in safelist, hash = 414885102, operation = getNotificationsForUser"

[Question] Caching notifications

Do you do this, and is this even possible? It would greatly decerease loading time when opening & closing again, it's kind of annoying to wait even after a little time. Like 25 message buffer would be nice to have.

Firefox caching issue

There appears to be a problem in Firefox where the prefetch data is either not being retrieved at all or the data is not being cached in storage. It is possible the background script is not running as well.

Replies Not Rendering

Khan Academy recently updated their feedback queries to include the isLocked property but kept backward compatibility with the older request. This wasn't an issue until recently when Khan broke rendering replies that don't have the isLocked property.

You can either

  • update the getFeedbackRepliesPage, or
  • change how you handle modifying the request itself

Improve Firefox host permission request pipeline

Upon downloading the extension, the notifications do not immediately work because the user must turn on host permissions. The current process goes like this:

  1. Right click extension icon
  2. Click "Manage Extension"
  3. Click the "Permissions" tab
  4. Turn on host permissions for Khan Academy

This pipeline is not intuitive, so to retain users we will need to improve the pipeline. One possible solution is detailing the pipeline if the fetch fails on Firefox. Another possible solution is finding a method to asynchronously request the permission directly.

[Feature Request] Clickable Users

Though a small feature, it might be nice to be able to click on someone's avatar or username (a username might be accidentally clicked, but both work) and go straight to their profile. I assume you already have their KAID within the message history as well.

[Bug] Permanent Loading

I've noticed for the past few days, the notifications never load. Just keep on loading in forever. This may be tied to another separate issue I've had on Khan Academy in which I cannot see replies to comments, just that there are some. Are there any files that would be useful to see?

Dark mode text isn't always white

As the title suggests, I see half the text being black in dark mode. This doens't happen often, and I believe it specifically is for texts after code snippets.

Screenshot 2023-03-10 at 5 30 54 PM

Extension not compatible with Firefox

This extension is not compatible with Firefox due to using chrome type and global object as main browser API.

The code will need to be converted using browser API instead of chrome.

You can use if(typeof chrome !== undefined) as well as if(typeof browser !== undefined) to declare supported APIs.

Light mode code snippets

In Dark mode, the code looks pretty good, though the container could be more distinct. However, in light mode, there is still a black box, which looks really strange.

Screenshot 2023-03-10 at 5 29 29 PM

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.