Git with a cup of tea, painless self-hosted git service
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
bircni c8545033cc
Add summary to action runs view (#36883)
2 days ago
..
README.md Add `<overflow-menu>`, rename webcomponents (#29400) 2 years ago
index.ts Support dark/light theme images in markdown (#36922) 3 days ago
origin-url.ts Enable TypeScript `strictNullChecks` (#35843) 4 months ago
overflow-menu.ts Prevent navigation keys from triggering actions during IME composition (#36540) 1 month ago
polyfill.test.ts Polyfill WeakRef (#34025) 1 year ago
polyfills.ts Vendor relative-time-element as local web component (#36853) 2 weeks ago
relative-time.test.ts Vendor relative-time-element as local web component (#36853) 2 weeks ago
relative-time.ts Add summary to action runs view (#36883) 2 days ago

README.md

Web Components

This webcomponents directory contains the source code for the web components used in the Gitea Web UI.

https://developer.mozilla.org/en-US/docs/Web/Web_Components

Guidelines

  • These components are loaded in <head> (before DOM body) in a separate entry point, they need to be lightweight to not affect the page loading time too much.
  • Do not import svg.js into a web component because that file is currently not tree-shakeable, import svg files individually insteat.
  • All our components must be added to webpack.config.js so they work correctly in Vue.