Git with a cup of tea, painless self-hosted git service
Mirror for internal git.with.parts use
https://git.with.parts
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.
zeripath
10c9f96a1e
Fixed colour transparency regex matching in project board sorting ( #22092 ) ( #22437 )
...
Backport #22092
As described in the linked issue (#22091 ), semi-transparent UI elements
would result in JS errors due to the fact that the CSS `backgroundColor`
element was being matched by the pattern
`^rgb\((\d+),\s*(\d+),\s*(\d+)\)$`, which does not take the alpha
channel into account.
I changed the pattern to `^rgba?\((\d+),\s*(\d+),\s*(\d+).*\)$`. This
new pattern accepts both `rgb` and `rgba` tuples, and ignores the alpha
channel (that little `.*` at the end) from the sorting criteria. The
reason why I chose to ignore alpha is because when it comes to kanban
colour sorting, only the hue is important; the order of the panels
should stay the same, even if some of them are transparent.
Alternative solutions were discussed in the bug report and are included
here for completeness:
1. Change the regex from ^rgb\((\d+),\s*(\d+),\s*(\d+)\)$ to
^rgba?\((\d+),\s*(\d+),\s*(\d+)(,\s*(\d+(\.\d+)?))?\)$ (alpha channel is
a float or NaN on 5th group) and include the alpha channel in the
sorting criteria.
2. Rethink on why you're reading colours out of the CSS in the first
place, then reformat this sorting procedure.
Fix #22091
Co-authored-by: MisterCavespider <deler.urist@tutanota.de>
2 years ago
..
admin
Add system setting table with cache and also add cache supports for user setting ( #18058 )
2 years ago
comp
Add team member invite by email ( #20307 )
2 years ago
aria.js
Remove customized (unmaintained) dropdown, improve aria a11y for dropdown ( #19861 )
3 years ago
aria.md
Remove customized (unmaintained) dropdown, improve aria a11y for dropdown ( #19861 )
3 years ago
clipboard.js
Replace fomantic popup module with tippy.js ( #20428 )
3 years ago
codeeditor.js
Quick fixes monaco-editor error: "vs.editor.nullLanguage" ( #21734 ) ( #21738 )
2 years ago
colorpicker.js
…
common-global.js
Prevent NPE if trying to restore an already restored deleted branch ( #21940 ) ( #21944 )
2 years ago
common-issue.js
Add a checkbox to select all issues/PRs ( #20177 )
3 years ago
common-organization.js
…
contextpopup.js
Refactor from Vue2 to Vue3 ( #20044 )
2 years ago
dropzone.js
…
emoji.js
…
eventsource.sharedworker.js
Fix the JS error "EventSource is not defined" caused by some non-standard browsers ( #20584 )
3 years ago
file-fold.js
…
formatting.js
Localize all timestamps ( #21440 )
2 years ago
heatmap.js
Refactor from Vue2 to Vue3 ( #20044 )
2 years ago
imagediff.js
Fix viewed images not loading in a PR ( #19919 )
3 years ago
install.js
…
mcaptcha.js
Add support mCaptcha as captcha provider ( #20458 )
3 years ago
notification.js
Enable contenthash in filename for dynamic assets ( #20813 )
3 years ago
org-team.js
…
pull-view-file.js
Replace unstyled meter with progress ( #19968 )
3 years ago
repo-branch.js
…
repo-code.js
Ignore line anchor links with leading zeroes ( #21728 ) ( #21776 )
2 years ago
repo-code.test.js
Ignore line anchor links with leading zeroes ( #21728 ) ( #21776 )
2 years ago
repo-commit.js
Improve commit status icons ( #21124 )
2 years ago
repo-common.js
Rework repo buttons ( #20602 )
3 years ago
repo-diff-filetree.js
Refactor from Vue2 to Vue3 ( #20044 )
2 years ago
repo-diff.js
Restore function to "Show more" buttons ( #22399 ) ( #22426 )
2 years ago
repo-editor.js
…
repo-findfile.js
Use weighted algorithm for string matching when finding files in repo ( #21370 )
2 years ago
repo-findfile.test.js
Remove vitest globals ( #21505 )
2 years ago
repo-graph.js
…
repo-home.js
A minimal change to replace data calls with attr as per guidelines ( #19900 )
3 years ago
repo-issue-content.js
Multiple improvements for comment edit diff ( #21990 ) ( #22007 )
2 years ago
repo-issue-pr-form.js
Refactor from Vue2 to Vue3 ( #20044 )
2 years ago
repo-issue.js
Improve code comment review on mobile ( #21461 )
2 years ago
repo-legacy.js
Support Issue forms and PR forms ( #20987 )
3 years ago
repo-migrate.js
…
repo-migration.js
…
repo-projects.js
Fixed colour transparency regex matching in project board sorting ( #22092 ) ( #22437 )
2 years ago
repo-release.js
Enable spellcheck for EasyMDE, use contenteditable mode ( #19776 )
3 years ago
repo-settings.js
Remove customized (unmaintained) dropdown, improve aria a11y for dropdown ( #19861 )
3 years ago
repo-template.js
…
repo-unicode-escape.js
…
repo-wiki.js
Enable spellcheck for EasyMDE, use contenteditable mode ( #19776 )
3 years ago
serviceworker.js
Remove useless `appVer` from JS `window.config` ( #21445 )
2 years ago
sshkey-helper.js
…
stopwatch.js
Don't display stop watch top bar icon when disabled and hidden when click other place ( #22374 ) ( #22387 )
2 years ago
tablesort.js
…
tribute.js
Correctly escape within tribute.js ( #20831 )
3 years ago
user-auth-webauthn.js
…
user-auth.js
…
user-settings.js
…