Giter Site home page Giter Site logo

snaacky / theindex Goto Github PK

View Code? Open in Web Editor NEW
130.0 8.0 26.0 26.74 MB

The frontend, editor panel, and API of TheIndex.moe

Home Page: https://theindex.moe

License: The Unlicense

CSS 2.78% JavaScript 8.21% Dockerfile 0.39% TypeScript 88.62%
index tables website

theindex's Issues

[BUG] Ping system for checking site status fails and doesn't report error to the user

When looking at the root, the ping indicator remains pulsing yellow. Users have no indication that it is not simply waiting.

What I believe is the error
Uncaught Error: Minified React error #418; visit https://reactjs.org/docs/error-decoder.html?invariant=418 for the full message or use the non-minified dev environment for full errors and additional helpful warnings.
    at sa (framework-4556c45dd113b893.js:1:48561)
    at xi (framework-4556c45dd113b893.js:1:122126)
    at bs (framework-4556c45dd113b893.js:1:109368)
    at gs (framework-4556c45dd113b893.js:1:109296)
    at vs (framework-4556c45dd113b893.js:1:109159)
    at ls (framework-4556c45dd113b893.js:1:104263)
    at S (framework-4556c45dd113b893.js:1:138450)
    at MessagePort.T (framework-4556c45dd113b893.js:1:138984)

React's page explains this as "Hydration failed because the initial UI does not match what was rendered on the server."

Full page log after 10s execution: theindex.moe-1696827382218.log

Quick fix: add try/catch block and update the UI to reflect that there was a caught Javascript error. There already exists an error state for the display, can simply update that in the catch block and properly fix later if necessary.

Question

Where can I recommend a anime website that can be on that list?

license?

i dont see a license file anywhere, but i would have liked to use some a lot of the code for displaying and filling tables in a different project of mine, thats licensed under gplv3.
would something like that be ok?

[BUG] Issue with data types and DeepDiff results in some edits not registering

Describe the bug
https://github.com/ranimepiracy/index/blob/d2f27527b2118ecdea1c2d636fefde5d3eec2f9e/piracymoe/utils.py#L74

DeepDiff returns two different entries: values_changed and types_changed depending on whether the value was changed or the type was changed. Right now, we only handle values_changed so when the type changes (i.e ? -> Y/N), the webhook breaks, and the change doesn't complete.

To Reproduce
Steps to reproduce the behavior:

  1. Go to the editor.
  2. Click on change any entry from ? (nothing) to Y or N

Expected behavior
The webhook to send the diff correctly and to submit the change.

[FEAT] Request to open link in new tab when clicking the website links in piracy.moe

Basically, whenever i click a website link, it redirects the piracy.moe website to the clicked website.

It would be better if it opens the streaming site in a new tab since we can always close the opened anime site in the case that we felt it wasn't good enough. We can simply go back to the piracy.moe site rather than reloading it which uses up internet data.

[BUG] Issue with Tabulator column/table width and height

Describe the bug
Tabulator will constantly keep trying to set the width and height of various elements causing a jarring visual bug.

To Reproduce
Steps to reproduce the behavior:

  1. Open two windows on Windows
  2. Snap one window to the left side and the index to the right at about ~50% width for each window
  3. Refresh the window and click the applications tab
  4. Look at Android table

Screenshots
https://cdn.discordapp.com/attachments/623361648098410516/843323849072312340/2021-05-15_20-06-13.mp4

Desktop (please complete the following information):

  • OS: [e.g. iOS] Windows
  • Browser [e.g. chrome, safari] Brave
  • Version [e.g. 22] Version 1.24.85 Chromium: 90.0.4430.212 (Official Build) (64-bit)

Could you add full link of a source in the Export function?

I was thinking about exporting periodically the list in case the site goes down, and a full link will prevent users from going to scam sites with same name.
(I also considered web.archive, but unfortunately it doesn't work very well on this site)
Also I don't know if it's intended, but it will be exported only what is selected by the columns filter, and one Export-all would be quite awesome!

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.