कारतोफ्फेलस्क्रिप्ट™
1821bb0699
fix: Lint typescript stories (no-changelog) ( #4723 )
...
* fix: Lint typescript stories (no-changelog)
* import StoryFn as type
2022-11-25 13:00:59 +01:00
कारतोफ्फेलस्क्रिप्ट™
55c201eb21
refactor: Improve typings for element-ui imports (no-changelog) ( #4678 )
...
* convert all stories to typescript
* stricter typing for element-ui imports
2022-11-25 10:51:51 +01:00
कारतोफ्फेलस्क्रिप्ट™
13659d036f
ci: Ensure that eslint runs on all frontend code (no-changelog) ( #4602 )
...
* ensure that eslint runs on all frontend code
* remove tslint from `design-system`
* enable prettier and eslint-prettier for `design-system`
* Delete tslint.json
* use a single editorconfig for the repo
* enable prettier for all code in `design-system`
* more linting fixes on design-system
* ignore coverage for git and prettier
* lintfix on editor-ui
2022-11-15 18:20:54 +01:00
Alex Grozav
27e2ce0470
feat: migrate editor-ui to Vite.js and various DX improvements (N8N-2277) ( #4061 )
...
* feat: Added vite.js dependencies.
* chore: Removed tests folder to follow same structure as design-system
* chore: Removed unused testing config.
* chore: Created vite.js index.html
* refactor: Updated scss structure and imports.
* refactor: Updated workflow building.
* fix: Cleared up all workflow dependency cycles. Added proper package.json imports config.
* feat: Got a working build using Vite. Need to fix issues next.
* fix: Progress! Getting process.env error.
* fix: Changed process.env to import.meta.env.
* fix: Fixed circular imports that used require(). Fixed monaco editor.
* chore: Removed commented code.
* chore: Cleaned up package.json
* feat: Made necessary changes to replace base path in css files.
* feat: Serve CSS files for `editor-ui` Vite migration (#4069 )
⚡ Serve CSS files for Vite migration
* chore: Fixed package-lock.json.
* fix: Fixed build after centralized tsconfig update.
* fix: Removed lodash-es replacement.
* fix: Commented out vitest test command.
* style: Fixed linting issues.
* fix: Added lodash-es hotfix back.
* chore: Updated package-lock.json
* refactor: Renamed all n8n scss variables to no longer be defined as private.
* feat(editor): add application-wide el-button replacement.
* fix(editor): Fix import in page alert after merge.
* chore(editor): update package-lock.json.
* fix: Case sensitive lodash-es replacement for vue-agile.
* fix: add alias for lodash-es camelcase import.
* fix: add patch-package support for fixing quill
* feat: add patch-package on postinstall
* fix: update quill patch path.
* refactor: rename quill patch
* fix: update quill version.
* fix: update quill patch
* fix: fix linting rules after installing eslint in design-system
* fix: update date picker button to have primary color
* test: update callout component snapshots
* fix(editor): fix linting issues in editor after enabling eslint
* fix(cli): add /assets/* to auth ignore endpoints in server
* chore: update package-lock.json
* chore: update package-lock.json
* fix(editor): fix linting issues
* feat: add vite-legacy support
* fix: update workflow package interface imports to type imports.
* chore: update package-lock.json
* fix(editor) fix importing translations other than english
* fix(editor): remove test command until vitest is added
* fix: increase memory allocation for vite build
* fix: add patch-package patches to n8n-custom docker build
* fix: add performance and load time improvements
* fix: add proper typing to setNodeType
* chore: update package-lock.json
* style: use generic type for reduce in setNodeType
Co-authored-by: Iván Ovejero <ivov.src@gmail.com>
2022-09-23 17:14:28 +03:00
Alex Grozav
0a69a9eb9c
test(editor): Add first frontend unit-test and update notice component design ( #3166 )
...
* ✨ Added basic Vue 2 + Vite.js setup.
* 🚧 Improved typescript support.
* ✨ Added N8nNotice component to design system with stories and unit tests.
* ✨ Migrated design system build to Vite.js.
* ♻️ Updated typescript definitions. Moved some interface types to remove reliance from design system on editor-ui user and validation types.
* ♻️ Changed prop name from type to theme. Updated truncation props.
* ♻️ Moved user response types back. Added n8n-notice component to editor-ui.
* 🐛 Fixed global vitest types.
* ✨ Added this. vue type extension to editor-ui
* ♻️ Removed circular import.
* ✅ Fixed failing n8n-notice tests.
* feat: Added support for notice truncation via typeOptions.
* ✨ Updated warning color variables and notice warning colors.
* 🐛 Fixed n8n-notice parameter input spacing.
2022-04-29 15:23:41 +02:00
Mutasem Aldmour
5bd8f7c93e
✨ Implement design system ( #2050 )
...
* split up main, sass imports, import new nds
* migrate most buttons
* update sizes based on feedback
* update copy buttons
* update executions list
* fix issues
* force message box buttons
* update warning color
* update more buttons
* wrap message box buttons
* update last component
* lint fixes
* add build report step
* breakout imports
* set package.json
* fix notification bug
* clean up imports
* use build directories directly
* update imports
* remove xl size
* update number inputs
* fix input width
* update line height, fix icon bug
* fix up editor
* fix spacing between buttons
* Reset line height
* revert changes to this
* revert changes
* clean up button sizes
* change to outline
* update select height
* update tooltip
* remove build report step
* clean up impl
* remove regenerator runtime
* add design system repo
* apply editorconfig
* apply editor config prettier
* lint issue
* switch to tabs
* switch to single space
* update eslintrc
* remove git modules
* update sass package
* support dart sass
* add build
* update dependency
* update contributing.md
* set repo
* update versions
* add tslint step
* update spacing to spaces, add dev step
* add test step
* add test step
* update browser lint rc
* remove .github
* delete .gitignore
* set comment for icons
* remove preview link
* update button interface
* update types
* set types
* clean up intro
* update intro
* remove assets
* move into preview
* remove headline comment
* reduce theme build
* loading executions
* match deps versions
* match deps versions
* fix lint issues
* fix lint issues
* update callback
* disable codacy for docs.css
* fix storybook issues
* add design system to docker image
* update spacing around delete sort button
* set line height to stop juggling headline
* update sizes
* clean up vars
* fix scss issues
* update button vars
* add shade color
* fix button without click
* fix buttons bug
* fix bug with executions list
* clean up theme
* update link styling
* fix typo
* run prettier
* 🎨 code format
* 🎨 code format
* 🔥 remove empty files
* ✨ N8n 2284 new inputs (#2075 )
* implement inputs
* prettier fixes
* revert unnessary change
* move input components and tooltip
* remove form elements
* move select
* update input placements
* update sizes
* update credentails
* clean up select size
* fix caret issue
* update inputs
* clean up select
* fix tags dropdown border
* clean up tags input
* fix workflow name bug
* clean up select here
* add sizes template
* fix option caret
* fix input sizes
* update date input size
* remove tags input override
* update prop
* update input size
* center run data inputs
* update disabled colors
* update execution header
* update scrollbar
* update text area spacing
* fix items in header
* update run data tooltip
* remove popover
* update prefix positions
* add filterable demo
* address design issues
* fix input issues, flip boolean input to text
* update input sufffix colors
* remove override
* speed up switch, fix toggle spacing issue
* update icon
* remove icon classes
* clean up inputs
* clean up inputs with icons
* update input spacing again
* update suffix position
* build
* Add support for xlarge inputs
* fix input issues
* fix input issue
* update listeners
* update number inputs for settings
* update append/prepend spacing
* clean up inputs, set expression input as text
* fix type errors
* fix workflow number input
* fix tags dropdown bug
* fix bugs
* fix menu item bug
* remove font weight from link element
* remove default
* fix select option
* fix contrast issues
* allow overflow x for multi selects
* fix icon
* update options select
* fix issue that resolves expression to null
* update how actions are centered
* fix up selects
* update selects to support limiting size
* update option styles
* ⚡ Apply suggestions BHesseldieck
Co-authored-by: Ben Hesseldieck <1849459+BHesseldieck@users.noreply.github.com>
* 🎨 code format
Co-authored-by: Jan <janober@users.noreply.github.com>
Co-authored-by: Ben Hesseldieck <1849459+BHesseldieck@users.noreply.github.com>
Co-authored-by: Ben Hesseldieck <b.hesseldieck@gmail.com>
* ⏪ Revert "🔥 remove empty files"
This reverts commit e91ace4e52
.
* ⚡ Remove private from n8n-design-system package
* 🎨 Change to spaces to stay consistent with editorconfig & others
package files
* ⚡ Fix year in license
Co-authored-by: Ben Hesseldieck <1849459+BHesseldieck@users.noreply.github.com>
Co-authored-by: Ben Hesseldieck <b.hesseldieck@gmail.com>
Co-authored-by: Jan <janober@users.noreply.github.com>
Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
2021-08-29 13:36:17 +02:00