GithubHelp home page GithubHelp logo

scpwiki / tag-list Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 1.0 221 KB

Tech Hub Tag List

Home Page: https://05command.wikidot.com/tech-hub-tag-list

License: MIT License

TypeScript 91.37% HTML 4.59% CSS 1.14% JavaScript 2.89%

tag-list's People

Contributors

emmiegit avatar rossjrw avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

hoah2333

tag-list's Issues

Multiple conflict conditions

Right now it's only possible to specify a single conflict condition, even if that condition is vague enough to cover all use cases. Multiple conflict conditions may be required.

For example, a tag may need to conflict with a page that is tagged both t1 and t2, and with a page that is tagged t3 and t4, but other combinations are fine.

Get defaults from URL query

Default constants for the tool are currently hardcoded:

tag-list/src/index.ts

Lines 39 to 41 in 00ed447

const numberOfTagFiles = 14
const site = "http://05command.wikidot.com"
const page = "tag-list-manifest"

This was never a permanent solution, which requires changing the base code in order to change these defaults (e.g. I had to decrease the constant from 15 to 14 when merging two tag categories on EN). It's not strictly necessary to change them, because all values can be adjusted in the UI at runtime, but it is inconvenient.

Getting these constants from the URL of the iframe seems like the ideal solution - the constants for a given site's tags could then be changed from the page containing the documentation generator. It would also allow other sites e.g. international branches other than EN) to use the tag documentation generator without needing to fork it (although the copy would still be in English).

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.