70 Commits

Author SHA1 Message Date
renovate[bot]
96e3429fa2
chore(deps): update dependency stylelint-config-recommended to v7 (#6228) 2022-03-02 17:50:16 +00:00
Joe Previte
ad85514cba
fix(netlify-cms-ui-default): use grayDark for button (#6069)
* fix(netlify-cms-ui-default): use grayDark for button

This PR is a fix for
https://github.com/netlify/netlify-cms/issues/1333#issuecomment-998115794
because it changes the background color used by `button` to `grayDark`
so that it is accessible.

* chore: update AuthenticationPage test snapshot
2021-12-21 11:54:34 +02:00
Andi Pabst
05d89230dc
fix: remove "Don't fork the repo"-Button - fixes #5723 (#5872) 2021-10-15 16:45:47 +03:00
Taine Riley
97de9da948
fix: make 'now' button consistent (#5716) 2021-08-17 12:48:29 +03:00
Josian Godard
db560cc082
fix(widget-list): add missing translations in widget list top bar (#5471) (#5679) 2021-08-04 14:56:38 +03:00
Brady Stroud [SSW]
4b566a78f4
feat: disable 'Save' button when there are no changes (#5595) 2021-08-03 13:14:29 +03:00
Brady Stroud [SSW]
1822815118
feat(open-authoring): add hover tooltip (#5567) 2021-07-06 16:43:51 +03:00
Vladislav Shkodin
dbf2920254
chore: introduce imports ordering (#5463) 2021-05-31 17:46:41 +03:00
renovate[bot]
f0725a8379
fix(deps): update dependency react-transition-group to v4 (#5385) 2021-05-16 15:30:57 +03:00
Tom
2143cd30fd
fix: buttons use inherited font stack (#5344) 2021-05-09 15:23:42 +03:00
Arpad Gabor
dde1a9db54
fix(widget-markdown): improve UX in Markdown editor - link editing and selected heading underline (#5104) 2021-04-01 17:32:10 +03:00
Vladislav Shkodin
141a2eba56
refactor: convert function expressions to declarations (#4926) 2021-02-08 20:01:21 +02:00
Ben Hulan
4e6dc88efb
feat: add azure devops backend (#4427) 2020-11-26 12:55:24 +02:00
Erez Rokah
cb2ad687ee
Feat: multi content authoring (#4139) 2020-09-20 20:30:46 +03:00
Erez Rokah
af7bbbd9a9
Feat: nested collections (#3716) 2020-06-18 10:11:37 +03:00
Shashank Bairy R
c28cc0c9e7
feat: add filter to collection view (#3741) 2020-05-24 20:37:08 +03:00
Erez Rokah
0504c584fc
Test(widgets-list): add tests (#3697) 2020-05-04 15:17:19 +03:00
Tom Claes
79b8469337
feat(widget-datetime): add now to datepicker (#3484) 2020-04-12 18:17:01 +03:00
Przemysław Ścigała
7fcdaef1c9
fix: increase DropdownList z-index (#3579) 2020-04-12 12:41:43 +03:00
Erez Rokah
174d86f0a0
Feat: entry sorting (#3494)
* refactor: typescript search actions, add tests avoid duplicate search

* refactor: switch from promise chain to async/await in loadEntries

* feat: add sorting, initial commit

* fix: set isFetching to true on entries request

* fix: ui improvments and bug fixes

* test: fix tests

* feat(backend-gitlab): cache local tree)

* fix: fix prop type warning

* refactor: code cleanup

* feat(backend-bitbucket): add local tree caching support

* feat: swtich to orderBy and support multiple sort keys

* fix: backoff function

* fix: improve backoff

* feat: infer sortable fields

* feat: fetch file commit metadata - initial commit

* feat: extract file author and date, finalize GitLab & Bitbucket

* refactor: code cleanup

* feat: handle github rate limit errors

* refactor: code cleanup

* fix(github): add missing author and date when traversing cursor

* fix: add missing author and date when traversing cursor

* refactor: code cleanup

* refactor: code cleanup

* refactor: code cleanup

* test: fix tests

* fix: rebuild local tree when head doesn't exist in remote branch

* fix: allow sortable fields to be an empty array

* fix: allow translation of built in sort fields

* build: fix proxy server build

* fix: hide commit author and date fields by default on non git backends

* fix(algolia): add listAllEntries method for alogolia integration

* fix: handle sort fields overflow

* test(bitbucket): re-record some bitbucket e2e tests

* test(bitbucket): fix media library test

* refactor(gitgateway-gitlab): share request code and handle 404 errors

* fix: always show commit date by default

* docs: add sortableFields

* refactor: code cleanup

* improvement: drop multi-sort, rework sort UI

* chore: force main package bumps

Co-authored-by: Shawn Erquhart <shawn@erquh.art>
2020-03-31 23:13:27 -04:00
Manish Giri
a91e8316f7
refactor(ui): use variables for z-index values (#3453) 2020-03-24 15:46:47 +02:00
Erez Rokah
50837b0068
fix: ja locale labels (#3367) 2020-03-05 16:35:24 +01:00
tiuweehan
7c45a3cda9
fix(locale): Remove hard coded string literals (#3333) 2020-02-28 11:12:10 +01:00
Erez Rokah
ab685e8594
fix: change getAsset to not return a promise (#3232)
* fix: change getAsset to not return a promise

* fix: update markdown widget per getAsset changes

* test: fix editor component image test

* docs: update getAsset docs
2020-02-12 19:12:36 -05:00
Erez Rokah
97bc0c8dc4
feat: field based media/public folders (#3208) 2020-02-10 11:05:47 -05:00
Shawn Erquhart
fe097202f0
fix: avoid nested select widget z-index conflicts (#2990) 2019-12-20 15:40:09 -05:00
Erez Rokah
2b41d8a838 feat: bundle assets with content (#2958)
* fix(media_folder_relative): use collection name in unpublished entry

* refactor: pass arguments as object to AssetProxy ctor

* feat: support media folders per collection

* feat: resolve media files path based on entry path

* fix: asset public path resolving

* refactor: introduce typescript for AssetProxy

* refactor: code cleanup

* refactor(asset-proxy): add tests,switch to typescript,extract arguments

* refactor: typescript for editorialWorkflow

* refactor: add typescript for media library actions

* refactor: fix type error on map set

* refactor: move locale selector into reducer

* refactor: add typescript for entries actions

* refactor: remove duplication between asset store and media lib

* feat: load assets from backend using API

* refactor(github): add typescript, cache media files

* fix: don't load media URL if already loaded

* feat: add media folder config to collection

* fix: load assets from API when not in UI state

* feat: load entry media files when opening media library

* fix: editorial workflow draft media files bug fixes

* test(unit): fix unit tests

* fix: editor control losing focus

* style: add eslint object-shorthand rule

* test(cypress): re-record mock data

* fix: fix non github backends, large media

* test: uncomment only in tests

* fix(backend-test): add missing displayURL property

* test(e2e): add media library tests

* test(e2e): enable visual testing

* test(e2e): add github backend media library tests

* test(e2e): add git-gateway large media tests

* chore: post rebase fixes

* test: fix tests

* test: fix tests

* test(cypress): fix tests

* docs: add media_folder docs

* test(e2e): add media library delete test

* test(e2e): try and fix image comparison on CI

* ci: reduce test machines from 9 to 8

* test: add reducers and selectors unit tests

* test(e2e): disable visual regression testing for now

* test: add getAsset unit tests

* refactor: use Asset class component instead of hooks

* build: don't inline source maps

* test: add more media path tests
2019-12-18 11:16:02 -05:00
Shawn Erquhart
18c579d0e9 feat: Code Widget + Markdown Widget Internal Overhaul (#2828)
* wip - upgrade to slate 0.43

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* finish list handling logic

* add plugins directory

* tests wip

* setup testing

* wip

* add selection commands

* finish list testing

* stuff

* add codemirror

* abstract codemirror from slate

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* codemirror mostly working, some bugs

* upgrade to slate 46

* upgrade to slate 47

* wip

* wip

* progress

* wip

* mostly working links with surrounding marks

* wip

* tests passing

* add test

* fix formatting

* update snapshots

* close self closing tag in markdown html output

* wip - commonmark

* hold on commonmark work

* all tests passing

* fix e2e specs

* ignore tests in esm builds

* break/backspace plugins wip

* finish enter/backspace spec

* fix soft break handling

* wip - editor component deletion

* add insertion points

* make insertion points invisible

* fix empty mark nodes output to markdown

* fix pasting

* improve insertion points

* add static bottom insertion point

* improve click handling at insertion points

* restore current table functionality

* add paste support for Slate fragments

* support cut/copy markdown, paste between rich/raw editor

* fix copy paste

* wip - paste/select bug fixing

* fixed known slate issues

* split plugins

* fix editor toggles

* force text cursor in code widget

* wip - reorg plugins

* finish markdown control reorg

* configure plugin types

* quote block adjacent handling with tests

* wip

* finish quote logic and tests

* fix copy paste plugin migration regressions

* fix force insert before node

* fix trailing insertion point

* remove empty headers

* codemirror working properly in markdown widget

* return focus to codemirror on lang select enter

* fix state issues for widgets with local state

* wip - vim working, just need to work out distribution

* add settings pane

* wip - default modes

* fix deps

* add programming language data

* implement linguist langs in code widget

* everything built in

* remove old registration code, fix focus styling

* fix/update linting setup

* fix js lint errors

* remove stylelint from format script

* fix remaining linting errors

* fix reducer test failures

* chore: update commitlint for worktree support

* chore: fix remaining tests

* chore: drop unused monaco plugin

* chore: remove extraneous global styles rendering

* chore: fix failing tests

* fix: tests

* fix: quote/list nesting (tests still broken)

* fix: update quote tests

* chore: bring back code widget test config

* fix: autofocus

* fix: code blocks without the code widget

* fix: code editor component state issues

* fix: error

* fix: add code block test, few fixes

* chore: remove notes

* fix: [wip] update stateful shortcodes on undo/redo

* fix: support code styled links, handle unknown langs

* fix: few fixes

* fix: autofocus on insert, focus on all clicks

* fix: linting

* fix: autofocus

* fix: update code block fixture

* fix: remove unused cypress snapshot plugin

* fix: drop node 8 test, add node 12

* fix: use lodash.flatten instead of Array.flat

* fix: remove console logs
2019-12-16 19:17:37 +02:00
Bartholomew
d180bffb44 feat: duplicate entry (#2956) 2019-12-10 20:33:02 -05:00
Christian Fritsch
78face334f feat(widget-markdown): add headings dropdown (#2879) 2019-11-18 17:16:33 -05:00
Erez Rokah
6515dee871
feat: commit media with post (#2851)
* feat: commit media with post - initial commit

* feat: add draft media indication

* feat: sync UI media files with GitHub on entry load

* feat: bug fixes

* feat: delete media files from github when removed from library

* test: add GitHub backend tests

* test: add unit tests

* fix: meta data object files are not updated

* feat: used nested paths when update a tree instead of recursion

* feat(test-backend): update test backend to persist media file with entry

* test(e2e): re-record fixtures data

* chore: code cleanup

* chore: code cleanup

* fix: wait for library to load before adding entry media files

* chore: code cleanup

* fix: don't add media files on entry when not a draft

* fix: sync media library after draft entry was published

* feat: update media library card draft style, add tests

* test: add Editor unit tests

* chore: test code cleanup

* fix: publishing an entry from workflow tab throws an error

* fix: duplicate media files when using test backend

* refactor: fix lodash import

* chore: update translations and yarn file after rebase

* test(cypress): update recorded data

* fix(test-backend): fix mapping of media files on publish
2019-11-17 11:51:50 +02:00
Bartholomew
0df21598ab fix: media assets modal (#2880) 2019-11-16 15:21:53 -05:00
Bartholomew
28ca8a9493 fix authentication page (#2832) 2019-11-03 10:23:11 +02:00
Patryk Niedźwiedziński
f206e7e5a1 feat: add go back to site button (#2538) 2019-10-28 15:20:41 -04:00
Shawn Erquhart
5dc7ee2a9c
fix: swap out svg plugin causing node 12 failures (#2710) 2019-09-30 11:52:26 -04:00
Benaiah Mischenko
edf0a3afdc feat(backend-github): Open Authoring (#2430)
* Make filterPromises resolve entries before filtering

* Add filterPromisesWith & onlySuccessfulPromises to utility library

* Memoize user method in GitHub API

* Make storeMetadata safe to call concurrently in GitHub API

* Fork workflow: startup and authentication

* Fork workflow: backend support

* Fork workflow: disable unused UI elements

* Fork workflow: docs

* Fork workflow: fix deploy previews

* Suggested edits for fork workflow doc

* Change future tense to present

* Fork workflow: add beta status to docs

* remove debug statement

* rename fork workflow to Open Authoring
2019-07-24 18:20:41 -04:00
Derek Nguyen
d2601615dc fix(ui): typos in color vars (#2444) 2019-07-24 17:46:46 -04:00
Peter Olds
5f807d7ac5 fix(widget-markdown): keep markdown widget dropdowns on top (#2326) 2019-05-10 10:25:52 -04:00
Tony Alves
82cc7941cc feat: provide usable UMD builds for all packages (#2141) 2019-03-16 18:44:29 -04:00
Shawn Erquhart
ccef446d72
feat: upgrade to Emotion 10 (#2166) 2019-03-15 10:19:57 -04:00
Shea Daniels
a6c20cf688 enhancement(media-library): use checkerboard pattern as background (#2152) 2019-03-14 14:52:40 -04:00
Alexander Nanberg
518f6fb1c0 feat(netlify-cms-widget-relation): use react-select and add support for multiple entries (#1936) 2019-02-19 14:11:38 -05:00
Shawn Erquhart
15d221d4a4
feat(workflow): add deploy preview links (#2028) 2019-02-08 12:26:59 -05:00
Simon Hanukaev
8ddc168197 feat(netlify-cms-widget-list): add variable type definitions to list widget (#1857) 2018-12-26 23:51:35 -05:00
Alexander Nanberg
955f94f72b fix(a11y): correct label "for" references to fields (#1904) 2018-11-26 11:56:41 -05:00
Alexander Nanberg
9706b3cac7 chore(netlify-cms-core): remove unnecessary wrapper elements (#1888) 2018-11-21 17:18:26 -05:00
Bartholomew
c6ae1e8fc0 feat: allow custom logo on auth page (#1818) 2018-11-02 13:25:36 -04:00
Caleb
bc5b155cde improvement: fix backend login buttons not showing login progress (#1658) 2018-08-27 12:25:32 -04:00
Caleb
922b1846cb chore: add missing react prop types (#1651) 2018-08-27 12:23:21 -04:00
David Francoeur
e215f6889c fix(list-widget): use the sortable handle (#1655) 2018-08-27 11:14:03 -04:00