GithubHelp home page GithubHelp logo

bearbin1215 / itg-web-enhance Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 266 KB

Enhance script for websites of Xiamen ITG Group Corp., Ltd.

License: MIT License

JavaScript 21.33% TypeScript 62.42% SCSS 16.24%

itg-web-enhance's Introduction

ITG-Web-Enhance

Enhancement script for websites of Xiamen ITG Group Corp., Ltd.

开发说明

  1. 使用typescript开发,开发过程中建议打开编辑器的类型检查。
  2. 样式表使用scss编写。为避免不同站点样式互串,使用形如iwe-<sitename>-foo的形式给类命名。
  3. 对于直接修改原有内容样式的页面,使用scss编写后通过import styles from './foo.scss' assert { type: 'string' };的格式导入,styles会被读取为字符串,然后通过DOM操作添加到文档;如果不使用断言,webpack则会通过css-loader和style-loader将其直接加到文档。

关于发布

  • 工具打包通过脚本生成油猴脚本头部,版本号和匹配网站会从package.json中读取。
  • 版本的发布使用github actions进行,每当dist/itg-web-enhance.js发生变化时触发推送npm,因此需要注意每次构建时更改package.json中的版本号,否则会推送失败。

TODO

更新日志

2024-03-29 v1.1.7

  • 修复OA粘贴实际不生效的问题。
  • 修正弹窗等样式的错误。

2024-03-27 v1.1.5

  • 新增对物流中台的样式优化;
  • rancher和jenkins支持通过Ctrl+G快捷键聚焦到搜索框。

2024-03-26 v1.1.4

  • 修复rancher重复生成设置按钮的问题。

2024-03-25 v1.1.1

  • 新增jenkins的构建页和详情页复制镜像链接功能;
  • 修复rancher在错误页面生成按钮的问题。

2024-03-25 v1.1.0

  • 新增对CODING的样式优化。

2024-03-24 v1.0.0

  • 初版发布。

itg-web-enhance's People

Contributors

bearbin1215 avatar

Watchers

 avatar

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.