Wykres commitów

746 Commity (3bf9b65c06671b9a2c9a6715a18b2fced6a992e1)

Autor SHA1 Wiadomość Data
Steve Stein 3bf9b65c06
Tailwind package setup (#8003)
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2022-02-27 16:08:38 +00:00
Steve Stein 5417982b8c
Design tokens setup (#8005)
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2022-02-25 13:34:04 +00:00
Thibaud Colas d149a27392 Upgrade Storybook setup, with latest release, less boilerplate 2022-02-24 21:22:45 +10:00
Thibaud Colas b3e5f751e4 Add icons loading and demo to Storybook 2022-02-24 21:22:45 +10:00
Thibaud Colas 3aae7d0583 Add base pattern library setup with Storybook 2022-02-24 21:22:45 +10:00
Thibaud Colas 939fa98ef0 Move storybook configuration to a dotless folder, for linting 2022-02-24 21:22:45 +10:00
Gianluca De Cola aaee9b8c81 Remove IE11 warning message and related files
- resolves #7993
2022-02-22 17:22:39 +10:00
Thibaud Colas fd8277bcf7 remove modernizr & usage 2022-02-15 16:31:57 +00:00
Thibaud Colas 81b2c56df3 Remove all focusable="false" definitions for IE11 2022-02-15 16:31:57 +00:00
Thibaud Colas c5d2f98205 Remove redundant noopener from noreferrer rel attributes 2022-02-15 16:31:57 +00:00
Thibaud Colas ae14fa6e76 Remove JS compatibility code for IE11 2022-02-15 16:31:57 +00:00
Thibaud Colas 9ae8204a1b Remove fallback elements for IE11 support in comment headers 2022-02-15 16:31:57 +00:00
Thibaud Colas 9acce41fec Remove IE11-only Draftail configuration 2022-02-15 16:31:57 +00:00
Thibaud Colas 9ecc105178 Remove legacy browser styles 2022-02-15 16:31:57 +00:00
Thibaud Colas d2d4651853 Remove polyfills only installed for IE11 2022-02-15 16:31:57 +00:00
Steve Stein f968aac038
Update system font stack value for compatibility. Fix #7724 (#7972)
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>

- `-apple-system, BlinkMacSystemFont` - These are used to target modern iOS Safari, macOS Safari, macOS Firefox and macOS Chrome's system fonts. 
- ` 'Segoe UI',  system-ui,` - These fonts target windows machines on Windows 7+ [reference](https://markdotto.com/2018/02/07/github-system-fonts/#the-stack). Having system-ui placed after Segoe UI allowed Segoe UI to take precedence when used on Windows machines set to Chinese ( Simplified ) language. There are some known language issues around `system-ui` being used: [This github article](https://infinnie.github.io/blog/2017/systemui.html). However, the purpose of `system-ui` [(reference here)](https://drafts.csswg.org/css-fonts-4/#valdef-font-family-system-ui) is to allow web content to integrate with the look and feel of the native OS. Which makes this font-family a good choice for other devices _if_ the problem is solved by putting Segoe UI first. 
- `Roboto,` - This is our fallback font for androids devices. Having Segoe set before this allows windows to use its system default font even if you have installed Roboto for development reasons. 
- `Helvetica Neue,` - This is a fallback for older macOS
- `Arial` - Using this to catch any of the very old Windows versions (shoutout windows 95)
- `sans-serif` - Our last resort to get a font without serifs
- `  'Apple Color Emoji',  'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';` - All the emoji's for the OS's mentioned above. 😁
2022-02-14 15:17:02 +00:00
LB Johnston ddcdd3e57f slim sidebar - use sameSite lax by default
- this will ensure that the cookie will work as expected in future browser changes on HTTP or HTTPS setups
- fixes #7910#
2022-02-10 15:24:54 +00:00
LB (Ben Johnston) f2257acc2e
Remove dateformat library usage (#7907). Fix #7904
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2022-02-04 14:13:48 +00:00
Thibaud Colas af942a27e4
Reformat codebase with Prettier (#7912)
- Automated reformatting
- Manually change code where Prettier reformatting causes issues
- Revert "Disable Prettier formatting in CI for now"
2022-02-04 11:57:55 +00:00
Thibaud Colas ee15eec511 Switch all Node tooling from Gulp to Webpack, with needed code changes
- Remove gulp code and docs
- Add base CSS & SCSS processing in Webpack
- Make sure Sass files use paths that can be resolved by Webpack
- Use faster source map generation
- Clean up build scripts
- Make sure Storybook can process Sass
- Switch away from web fonts (more work needed)
2022-02-01 07:36:17 +10:00
Thibaud Colas 0d0584bdbd Update snapshots for latest Jest upgrade 2022-02-01 07:36:17 +10:00
Thibaud Colas 81ec3244d3 Upgrade ESLint configuration, with needed refactorings
- Change ESLint configuration syntax for ease of editing
- Autofix basic issues picked up by ESLint
- Make sure JS linting runs on TypeScript files
2022-02-01 07:36:17 +10:00
Thibaud Colas 23bc6b2670 Upgrade to latest Sass and stylelint configuration, with needed refactorings
- Tweak stylesheets for compatibility with latest stylelint configuration
- Move stylelint config to JS for ease of copying rules with main config
- Enforce scss/no-global-function-names by refactoring code with sass-migrator
- Run Sass code through sass-migrator
- Change stylelint configuration and code to enforce font-family-no-missing-generic-family-keyword
- Manually switch to math.div where migrator used * 0.5
2022-02-01 07:36:17 +10:00
Jérôme Lebleu e1ecca2f3c Display the select option's text instead of value in telepath (#7629) 2022-01-21 10:52:47 +00:00
Thibaud Colas 42f140a8b9 Switch sidebar props to a JSON script tag for ease of testing 2022-01-21 10:24:02 +00:00
Dan Braghis 76ad7da450 Update move page breadcrumb 2022-01-19 22:22:40 +00:00
Dan Braghis 9c6dace720 Tidy up breadcrumb display in a .tab-merged context
e.g. the ModelAdmin InspectView
2022-01-19 22:22:40 +00:00
Dan Braghis 411d3b00d3 Make breadcrumbs styling backwards compatible 2022-01-19 22:22:40 +00:00
Dan Braghis a8c4d578fe
Add locale switcher in the page chooser 2022-01-19 13:13:33 +00:00
Matt Westcott 8f91a86c38 Use form.serialize for posting the search form 2022-01-16 14:27:59 +10:00
Matt Westcott d69f73aa37 replace ajax_pagination_nav with pagination_nav 2022-01-16 14:27:59 +10:00
Matt Westcott 05fdea0394 Use standard form styling for 'create task' form 2022-01-16 14:27:59 +10:00
Matt Westcott d8b81df487 Move 'create' form handling into its own view that only renders that one tab 2022-01-16 14:27:59 +10:00
Matt Westcott 5ce89f11ff Split ajaxify code for the 'new' tab into its own function
This will be useful shortly when we move the form handling into its own view that renders that tab independently
2022-01-16 14:27:59 +10:00
Jason Attwood 10f9de2459 Fix Dropdown issues in windows High contrast mode
- Fixes #7450
2022-01-16 14:09:45 +10:00
Jason Attwood a0e55cedee Fix comment buttons not displaying correctly in high contrast mode
- fixes #7459
2022-01-15 23:41:42 +10:00
Shariq Jamil 28d9ded998 Add border to help/warning blocks for high contrast mode
- ensures the content has visible separation in windows high contrast mode
- fixes #7447
2022-01-15 23:37:05 +10:00
Krzysztof Jeziorny 8fa614eaf7 Render horizontal listing as a flex container
- Don't set fixed height on listed images
- Improve display of image listing for long image titles
2022-01-15 22:21:46 +10:00
Thibaud Colas 1c2ef89957 Support changing which origin the integration tests are run on 2022-01-15 21:44:36 +10:00
Thibaud Colas 7630bcf231 Fix package-lock.json package name 2022-01-15 21:44:36 +10:00
Thibaud Colas 60fe493999 Skip editbird tests 2022-01-15 21:44:36 +10:00
Thibaud Colas 44fd1852ee Trial browser tests in CircleCI 2022-01-15 21:44:36 +10:00
Jake Howard 0a9b23979b Update links to wagtail.io website to point to wagtail.org
This covers only links to the website, not other sites
2022-01-15 20:23:44 +10:00
LB (Ben Johnston) 1deed5f5af
Rename admin/expanding-formset.js (using kebab-case file) (#7833) 2022-01-15 01:00:02 +00:00
LB (Ben Johnston) a7aabf76ac
modal-workflow - block additional opens & add trigger focus management (#7568). Fix #4006
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2022-01-15 00:47:23 +00:00
Tidiane Dia bc7e116c75 Style move breadcrumb 2022-01-14 17:07:50 +00:00
Thibaud Colas 1547f0a6d3 Add borders to critical sidebar components for high-contrast mode 2022-01-14 15:59:37 +00:00
Thibaud Colas df47d8650e Improve focus outline styles within sidebar 2022-01-14 15:59:37 +00:00
Thibaud Colas 1341b3c9c9 Implement support for branding_logo sidebar customisation in slim sidebar 2022-01-14 15:59:37 +00:00
Thibaud Colas 036fd3a4ac Fix visible scrollbars in new slim sidebar. Fix #7742 2022-01-14 15:59:37 +00:00