Wykres commitów

205 Commity (a7ddb056b82c449753e44f09849ba0696750340a)

Autor SHA1 Wiadomość Data
Coen van der Kamp eed16e0034 Add SVG Icons and include in admin menu
* This commit only covers the migration of the icons in the menu and draftail editor. All
other admin menu icons remain implemented as before.
* Existing font based icon support still exists.
* Convert menu icons to SVG
* This could be considered a breaking change for any Wagtail sites or
packages that are leveraging Wagtail's Button and Icon React components.
* Remove references to unused `submenu-trigger` class
* Prefix icon `id`s with `icon-` to prevent `id` collisions
* Add hooks support (not yet documented) for adding custom icons
2020-05-21 07:36:33 +10:00
Thibaud Colas 7eeb44ad04 Replace gulp-sass with gulp-dart-sass
* Rewrite Sass code that relies on deprecated or removed features in Dart Sass
* Remove unneeded rebuild of node-sass
* Update lockfile
2020-05-17 21:00:20 +10:00
Thibaud Colas 471823f238 Upgrade to Jest 23
* Jest 24 is out but upgrading to it would require us to also update our Webpack tooling to Babel 7, which is quite significant work.
* Rewrite Draftail initialisation tests to stop relying on jsdom script parsing
2020-05-17 20:35:00 +10:00
saeed 44c1f1cab2 Remove sticky footer on small devices 2020-05-07 22:55:25 +10:00
Karran Besen 7565248438 Add the ability to view users in a group
* adds users view to group view (users filtered by that group)
* adds the ability to go to the users list for the group currently being edited (via header link)
* fix issue where the link to add a new user (when no users found) was broken
* resolves #5801
2020-04-26 17:55:09 +10:00
Karl Hobley 92c2cedb67 Implement filtering on reports 2020-04-22 14:54:31 +01:00
nmorduch 7cca89f67c Make only the list part of the nav submenu scroll
- Fixes #5358
- Make classes on the nav submenu adhere to BEM a little better
- Make nav submenu footer match the styles of the things around it a little better (other submenu items on mobile, and the other menu footer on larger screens)
2020-04-20 11:16:31 +01:00
nmorduch 2b4103728b Move and rename nav variables
- Move to variables file
- Rename to be more specific
2020-04-20 11:16:30 +01:00
jacobtoppm b3e5278a1b Remove spreadsheet export setting, and allow a user to select format via a dropdown instead 2020-03-13 17:33:22 +00:00
Matt Westcott c76447246d Fix Javascript alerts reported by LGTM 2020-03-05 09:59:18 +00:00
Jack Paine 70da204eb1 Reduce contrast of rich text toolbar. Fix #4997 (#5740) 2020-01-25 00:05:27 +00:00
Thibaud Colas 14a6561223 Use data- attribute instead of class 2020-01-24 20:56:18 +00:00
Simon Evans 9aaed8db4c Refactor logo SVG partials and update bg colour 2020-01-24 20:56:18 +00:00
Brian Edelman e0672d60b3 adds new image for accessible logo background, updates html and css for desktop and mobile to account for new image 2020-01-24 20:56:18 +00:00
Sævar Öfjörð Magnússon 9b64b39f4b Show 'Close Explorer' button on mobile viewports. Fix #5396 (#5773)
* Rework 'Close Explorer' button css so that it does not rely on u-hidden. Fixes issue #5396
* Update tests due to changed css classes on 'close explorer' button
2020-01-23 16:18:14 +00:00
Matt Westcott 590bea3b7b Revert "Fix submenu footer blocking items in admin" (#5606)
This change causes the footer to no longer be bottom-aligned when the menu is shorter than window height.

This reverts commit a459e91692.
2020-01-17 12:58:20 +00:00
Matt Westcott ee8eda8353 Merge branch 'author-specific-locking' of https://github.com/kaedroho/wagtail into kaedroho-author-specific-locking 2020-01-08 15:02:19 +00:00
Benedikt Willi 233e7f5189 Add ability to filter image index by a tag
- Fixed error when searching and filtering by tag at the same time
2019-12-02 09:54:35 +10:00
Karl Hobley 33b6d82033 Rename Admin API endpoint to "main" 2019-11-28 09:00:35 +00:00
Karl Hobley 5f68627950 Merge branch 'master' into author-specific-locking 2019-11-26 15:55:49 +00:00
dependabot[bot] 01caaa0dc2 Bump eslint from 2.13.1 to 4.18.2 (#5665)
* Bump eslint from 2.13.1 to 4.18.2

Bumps [eslint](https://github.com/eslint/eslint) from 2.13.1 to 4.18.2.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v2.13.1...v4.18.2)

Signed-off-by: dependabot[bot] <support@github.com>

* fix up linting issues
2019-11-06 18:16:10 +00:00
Nick Smith 1c1341e477 Improve contrast of disabled inputs
Fixes #5649
2019-11-03 07:41:08 +10:00
jacobtm 430b50424e Include scss formatting and add bold formatting to locking messages 2019-10-30 11:58:50 +00:00
Igoranze a459e91692 Fix submenu footer blocking items in admin
- items longer then the page height are no longer broken by the submenu footer
- long lists of submenu items are no longer blocked by the footer (version number)
2019-10-24 08:17:55 +10:00
kevinhowbrook 7db44c71b3 Break listing titles by word so action buttons are visible on smaller screens (#5429) 2019-08-29 14:06:16 +01:00
kevinhowbrook 48c82516db Allow content to define the tab width on xs screens to stop cutting off text (#5392) 2019-08-29 12:27:32 +01:00
Bertrand Bordage 1a4c157ec8 Updates to react-streamfield 0.9.5. 2019-08-23 14:55:27 +01:00
Bertrand Bordage ec60b02ea0 Updates broken JS tests. 2019-08-23 14:55:27 +01:00
Matt Westcott 725b01c809 Replace streamfield CSS with react-streamfield CSS 2019-08-23 14:55:26 +01:00
Mikael Engström 7e7ca39821
Merge branch 'master' into support-phone-number-links 2019-08-21 21:36:12 +02:00
Mikalai Radchuk d2d8b2c9e3 Fixes layout for the FileField 2019-08-18 16:55:36 +10:00
Iman Syed 794d40b86b Add ability to create anchor link tab within rich text link
- add tests

- Update changelog & release notes
2019-08-18 15:56:20 +10:00
Jonny Scholes c0af26b076 Move and refactor upgrade notification JS 2019-08-04 17:39:55 +10:00
mien 4a343a5523
Add support for phone links in rich text
This is mainly copy paste of Liam Brenner work (#3776) but with
a few fixes to make it work with Draftail. Since mailto:-links
is supported i think it is reasonable to support tel:-links as
well
2019-08-01 16:12:22 +02:00
Iman Syed d3f720995a Make image fallback work for images with big/small aspect ratios. Fix #5472 (#5474) 2019-08-01 11:46:34 +01:00
Catherine Farman f53dd95696 Change StreamField group labels color so labels are visible. Fix #5455 (#5462)
* use lighter grey for streamfield group label for accessible contrast
2019-07-26 16:39:11 -04:00
Helen Chapman 3bd058f9d8 Rename _utilities.hidden.legacy.scss to _utilities.visuallyhidden.scss (#5404)
We will always need visuallyhidden styles for screen readers.
2019-06-24 12:45:02 +01:00
Helen Chapman 1e85ff454c Move focus to the pages explorer menu when open (#5336, #5394)
* Ensure that when you open the explorer the focus moves to the first link of the menu, and add a label for the explorer navigation
* Add dialog role to pages explorer popup, and ensure that there is an option to close the dialog window when tabbing by making the close button visually hidden rather than display none
2019-06-20 18:02:28 +01:00
Helen Chapman e33732cc63 Add more contextual information for screen readers in the explorer menu’s links (#5335, #5386) 2019-06-19 15:19:41 +01:00
Jonny Scholes 4ef9919240 Refactor submenu JS to remove jquery dep and move to wagtail-client (#5254) 2019-06-19 12:30:39 +01:00
Coen van der Kamp 3eb71d702e
Merge pull request #5378 from thibaudcolas/bug/icon-help-inverse-5359
Fix help-inverse icon regression introduced by icon refactorings in #5359
2019-06-18 14:06:01 +02:00
jordan-bauer 998440cfa9 Remove buggy tab order customisations in CMS admin (#5383, #5351) 2019-06-18 12:49:16 +01:00
Helen Chapman 98d3ef4743 Ensure the 'add child page' button displays when focused (#5274, #5382) 2019-06-17 18:11:04 +01:00
Helen Chapman 4b4db7d771 Adds screen-reader-only text to the close button for modals (#5274, #5377)
* Adds clearer text to the close button for modals
* Use existing wagtailConfig.STRINGS to store the new translatable string for JS, rather than introducing a new library.
* Update list of string constants for translation in the tests file
* Remove aria-hidden on modal dialog close button
2019-06-17 15:56:48 +01:00
Thibaud Colas c5e60ca1d4 Fix help-inverse icon regression introduced by icon refactorings in #5359 2019-06-12 18:41:51 +01:00
Thibaud Colas 5adda1af43 Fix regression for unpublished pages styles & revision index item 2019-06-12 18:31:32 +01:00
Beth Menzies 1e5612ff90 adjust heading structure to be more accessible 2019-06-12 18:31:32 +01:00
Thibaud Colas 8cd384ec1f Switch legacy icon implementations to use variables instead of hard-coded characters 2019-06-06 18:00:57 +01:00
Thibaud Colas 5e19ce89f1 Remove unneeded icon overrides from icon styles 2019-06-06 18:00:22 +01:00
Thibaud Colas 431782c7ae Switch all icons to be defined with private use codepoints instead of ASCII letters 2019-06-06 17:58:01 +01:00