Coder Social home page Coder Social logo

Comments (2)

Martii avatar Martii commented on May 24, 2024

Make the 400 "missing license" page more informative

Status codes and status messages are limited on return values including lengths and content type. The "pretty" status page (Graceful failures) is a reflection of those limits. You may see those limits real time at your personal syncs page (You might recall this enhancement suggestion :) i.e. there aren't full pages in the "Messages" column.

The user may not know what they should do next.

https://openuserjs.org/user/add/scripts#user-block-license is available before a script is published... not to mention all the wiki's out there including GM's. e.g. https://sourceforge.net/p/greasemonkey/wiki/Metadata_Block/#license which is also linked at https://openuserjs.org/user/add/scripts#script-metadata

Allow scripts scripts without a license to be imported, but give them the MIT license by default.

Uh sorry but no. One should pick their OSI license from the drop up list at https://openuserjs.org/user/add/scripts/new which also links to https://openuserjs.org/user/add/scripts#user-block-license and this is part of the enforcement.

an example or two, and

While that looks pretty it's already implemented in pre-publish areas. See also first response here about Status codes and messages.

a link to more information.

Still considering migrating GM Port's documentation to the corresponding "user" account (Reserved) e.g. https://openuserjs.org/users/license and possibly doing a post hyperlink client-side JavaScript linkage to it... but that's a ton of work and definitely an upper Admin+ task which means nobody else can contribute directly (like images for our wiki but that is mitigated with GH adding files to an issue) ... hence the contemplation still.

from openuserjs.org.

Martii avatar Martii commented on May 24, 2024

Had an idea, or two, between now and then...

Don't use the accounts since they'll never be translated at any point in current site layout structure.
Do...

  • use a client side DOM script to expand the accordion with a synthetic click for https://openuserjs.org/user/add/scripts#user-block-license/https://openuserjs.org/user/add/lib#user-block-license if detects a supported @key. Been meaning to do this for Author Tools help links as well. So two birds with... as the saying goes.
  • Strip any HTML/MD that may have been added for the return value. NOTE There is still a limitation length on return values for GH... so no additional info should be added.

from openuserjs.org.

Related Issues (20)

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.