silverwind and GitHub
9d3e69e867
Move dropzone.js to npm/webpack ( #10645 )
...
- unvendor dropzone and upgrade it from 4.2.0 to 5.7.0
- make `csrf` available on window.config
2020-03-07 21:06:15 +00:00
silverwind and GitHub
062f35109d
move vue and vue-calendar-heatmap to webpack ( #10188 )
...
- unvendor vue and vue-calendar-heatmap
- remove unused moment.js leftover from previous heatmap version
- ensure webpack loads the full version of vue
- fix vue devmode warning related to 'searchLimit' type
I wanted to name the chunk heatmap.js but adblockers don't like that
filename [1].
[1] https://github.com/easylist/easylist/blob/3899d5dff33216c0bc64f09ff15d376f346d3e33/easyprivacy/easyprivacy_general.txt#L2095
2020-02-23 21:34:28 +00:00
d67e9b9629
SVG Octicon fixes ( #10237 )
...
* SVG fixes
Signed-off-by: jolheiser <[email protected] >
* Colorize span->svg only
Signed-off-by: jolheiser <[email protected] >
* @silverwind suggestions
Signed-off-by: jolheiser <[email protected] >
* Alphabetical
Signed-off-by: jolheiser <[email protected] >
* Convert suburl and staticPrefix to window.config
Signed-off-by: jolheiser <[email protected] >
* De-structure
Signed-off-by: jolheiser <[email protected] >
Co-authored-by: Antoine GIRARD <[email protected] >
2020-02-11 20:53:18 -05:00
7d8a2d05cf
Allow emoji on popup label ( #10166 )
...
* allow emoji on popup label
* Make emojify work
* Remove unnecessary class
Co-Authored-By: silverwind <[email protected] >
Co-authored-by: silverwind <[email protected] >
2020-02-08 12:48:17 +01:00
4721d45c2a
move clipboard.js to npm/webpack ( #10183 )
...
- created lazy-loaded webpack chunk for clipboard.js
- upgraded clipboard.js from 1.5.9 to 2.0.4
- parallelize initialization of all lazy-loaded features
Co-authored-by: Antoine GIRARD <[email protected] >
2020-02-08 00:03:42 +01:00
fdf6d25915
Reorganize frontend files and tooling ( #10168 )
...
- move "vendor" files to js/vendor and less/vendor
- move swagger to js/standalone (meant for standalone pages)
- move gitgraph to features and streamline its loading
- add linting configs to webpack dependencies in make
- set ignored files for eslint/stylelint directly in their configs
Co-authored-by: Lunny Xiao <[email protected] >
Co-authored-by: zeripath <[email protected] >
Co-authored-by: Antoine GIRARD <[email protected] >
2020-02-07 18:09:30 +01:00
b9690d7c0b
move highlight.js to npm/webpack ( #10011 )
...
- introduced window.config to help with js-based lazy-loading
- adjusted webpack chunk naming to avoid 'vendors~name.js' that webpack
defaults to for vendor chunks.
- added theme class to html and prefixed all selectors. this is
neccesary so that the theme styles win over the lazy-loaded ones.
Co-authored-by: zeripath <[email protected] >
2020-01-28 23:57:20 +02:00
7d7ab1eeae
Issue/PR Context Popups ( #9822 )
...
* Add data-index attribute to issue anchors
Signed-off-by: jolheiser <[email protected] >
* Init JS
Signed-off-by: jolheiser <[email protected] >
* Add required data to anchor
Signed-off-by: jolheiser <[email protected] >
* Finish popup
Signed-off-by: jolheiser <[email protected] >
* Revert changes to html.go
Signed-off-by: jolheiser <[email protected] >
* Better octicon contexts
Signed-off-by: jolheiser <[email protected] >
* Split out popup function for re-use
Signed-off-by: jolheiser <[email protected] >
* Style changes, test fixes, and cross-reference support
Signed-off-by: jolheiser <[email protected] >
* Prefer em to px
Signed-off-by: jolheiser <[email protected] >
* Move label margin to base CSS
Signed-off-by: jolheiser <[email protected] >
* Move JS to separate file.
Signed-off-by: jolheiser <[email protected] >
* Move JS to features and fix module
Signed-off-by: jolheiser <[email protected] >
* Remove query-string and hash
Co-Authored-By: silverwind <[email protected] >
Co-authored-by: Lauris BH <[email protected] >
Co-authored-by: Antoine GIRARD <[email protected] >
Co-authored-by: silverwind <[email protected] >
Co-authored-by: Lunny Xiao <[email protected] >
Co-authored-by: zeripath <[email protected] >
2020-01-19 23:39:21 -05:00