Guillaume Chau
1fcd2d0d76
fix(ui): IPC conflict
2018-06-10 21:21:08 +02:00
Guillaume Chau
292c35fed3
fix(ui): increase terminal output scrollback
2018-06-10 20:17:51 +02:00
Guillaume Chau
6e1f7357a3
fix(ui): save db in user home
2018-06-10 17:59:45 +02:00
Guillaume Chau
caf31a17d0
fix(ui): reset apollo store on reconnect
2018-06-10 15:54:45 +02:00
Guillaume Chau
e35ee2500d
feat(ui): PluginApi: notify
2018-06-10 15:03:39 +02:00
Guillaume Chau
dbef5e9fed
feat(ui): config improvements ( #1487 )
...
BREAKING CHANGES:
- The configuration API has changed.
- The `files` options now accept an object of different config files:
```js
api.describeConfig({
/* ... */
// All possible files for this config
files: {
// eslintrc.js
eslint: {
js: ['.eslintrc.js'],
json: ['.eslintrc', '.eslintrc.json'],
// Will read from `package.json`
package: 'eslintConfig'
},
// vue.config.js
vue: {
js: ['vue.config.js']
}
},
})
```
- The `onWrite` api has changed: `setData` and `assignData` have now `fileId` as the first argument:
```js
api.describeConfig({
onWrite: async ({ api, prompts }) => {
const eslintData = {}
const vueData = {}
for (const prompt of prompts) {
// eslintrc
if (prompt.id.indexOf('vue/') === 0) {
eslintData[`rules.${prompt.id}`] = await api.getAnswer(prompt.id, JSON.parse)
} else {
// vue.config.js
vueData[prompt.id] = await api.getAnswer(prompt.id)
}
}
api.setData('eslint', eslintData)
api.setData('vue', vueData)
}
})
```
Other changes
- Config tabs (optional):
```js
api.describeConfig({
/* ... */
onRead: ({ data, cwd }) => ({
tabs: [
{
id: 'tab1',
label: 'My tab',
// Optional
icon: 'application_settings',
prompts: [
// Prompt objects
]
},
{
id: 'tab2',
label: 'My other tab',
prompts: [
// Prompt objects
]
}
]
})
})
```
2018-06-10 14:01:45 +02:00
Guillaume Chau
e258f5a3c9
feat(ui): dark mode ( #1512 )
...
* feat(ui): dark mode
* fix(ui): ansi colors in dark mode
* refactor(ui): dark mode in apollo state
* feat(ui): xterm dark mode
* feat(ui): custom srcrollbar (chrome/safari)
* fix(ui): lower density
* feat(ui): client state mixin
* feat(ui): webpack analyzer dark-mode support
* fix(ui): status bar
2018-06-10 13:59:43 +02:00
Guillaume Chau
b361473e7e
fix(ui): create: first feature removed if 'use config files' not checked
2018-06-10 13:58:21 +02:00
Guillaume Chau
5984a0d3ad
fix(ui): bail access denied folders
2018-06-10 13:46:43 +02:00
Guillaume Chau
98b6d268e3
feat(ui): update all plugin to wanted version button ( #1456 )
2018-06-05 10:59:28 +02:00
Guillaume Chau
f42632bee4
feat(ui): Display cli-service in plugins view (so it can be upgraded) ( #1422 )
...
* feat(ui): display cli-service in plugins view (so it can be upgraded)
* test: fix plugins list
* fix(ui): mark cli-service as official
2018-06-05 10:59:02 +02:00
Guillaume Chau
1c8f1953e7
refactor(ui): Config & task icons ( #1450 )
...
BREAKING CHANGE:
- `file-icon` for the configurations is removed
- Configuration objects `icon` option changed and is now working differently: you can either use a material icon code or a custom image (see Public static files in the UI Plugin docs).
- Task objects have a new `icon` option wich works exactly the same
- By default, if no icon is provided for either the config or the task, the corresponding vue-cli plugin logo will be used instead (if any).
2018-06-05 10:58:00 +02:00
Guillaume Chau
bfebc6d934
fix(ui): tests
2018-06-04 17:08:50 +02:00
Guillaume Chau
cd88b47edc
fix(ui): top bar children margin
2018-06-04 02:46:53 +02:00
Guillaume Chau
251509c63c
fix(ui): check current project still exists
2018-06-03 18:06:22 +02:00
Guillaume Chau
588ad75a2e
fix(ui): limit description length in plugin search
2018-06-03 17:30:34 +02:00
Guillaume Chau
68f273a988
fix(ui): int loading z-index
2018-06-01 09:28:47 +02:00
Guillaume Chau
0366ec3d6d
fix(ui): progress screen z-index
2018-05-31 20:51:07 +02:00
Guillaume Chau
73545252e0
feat: ui tweaks & fixes ( #1409 )
...
* refactor(ui): use fetchPolic: 'cache-and-network' by default
* feat(ui): don't display loader if cached data
* fix(ui): eslint errors
* feat(ui): new top bar design
* fix(ui): remove work icon in top bar
* fix(ui): logger view item hover background
* feat(ui): Projects list show open project
* feat(ui): top bar: responsive + no favorites message
* fix(ui): Cannot set property consoleLogLast of #<a> which has only a getter
* fix(ui): loading prompts folder when installing plugin
* feat(ui): help translating button + docs
* docs(ui): fix local. docs
* fix(ui): Help translate button
* docs(ui): plugin ui dev docs improvements
* docs(ui): typo
* docs(ui): typo
* docs(ui): typo
* feat(ui): auto locale now tries full code + short code
* docs(ui): fix missing ref locale link
2018-05-31 14:10:05 -04:00
Guillaume Chau
4f39461c30
fix: UI fixes ( #1397 )
...
* fix: ERROR AssertionError [ERR_ASSERTION]: missing path
* refactor(ui): export portfinder and graphql-server from @vue/cli-ui and new VUE_CLI_UI_DEV env var
* fix(ui): invoke: force load package.json
2018-05-29 15:49:27 -04:00
Guillaume Chau
a3b2be8c15
fix(ui): fix beta.12 feedback ( #1386 )
...
* fix(ui): npm/yarn installing only dependencies
* fix(ui): add all dependencies to package.json
* fix(Service): give priority to devDependencies plugins
* feat(ui): connection status banner
* fix(ui): don't display disconnected banner for initial app load
* fix(ui): default value for prompt type=checkbox
* feat: builtin prompts default values
* fix(ui): circular dep
2018-05-29 09:37:28 -04:00
Evan You
c35eba2047
test: fix ui tests
2018-05-29 00:50:17 -04:00
Guillaume Chau
4d0b6905fc
fix(ui): force output colors
2018-05-26 11:18:51 +02:00
Guillaume Chau
12129b3be4
fix(ui): wrong env var name
2018-05-25 02:17:57 +02:00
Guillaume Chau
73a1c7aa96
fix(ui): watch only locales folder if exists
2018-05-25 02:12:29 +02:00
Guillaume Chau
873d14d22d
feat(ui): update to latest vue-cli-plugin-apollo
2018-05-25 01:44:18 +02:00
Guillaume Chau
80c2c7a7f0
refactor(ui): simplify builtin locales resolution
2018-05-25 00:37:02 +02:00
Guillaume Chau
ea95c52fac
fix(ui): task terminated status on Windows
2018-05-23 16:49:15 +02:00
Guillaume Chau
bf769503e3
fix(ui): Windows compat
2018-05-23 16:28:12 +02:00
Guillaume Chau
d2a9d0fc0b
feat(ui): auto clean projects list
2018-05-23 15:12:20 +02:00
Guillaume Chau
133cdfbf76
fix(ui): chdir
2018-05-23 14:59:11 +02:00
Guillaume Chau
1c95dc22e9
fix(ui): webpack error after creating a new project
2018-05-23 14:59:02 +02:00
Guillaume Chau
5075f4b2fe
refactor(ui): update to vue-cli-plugin-apollo 0.10
2018-05-23 14:58:42 +02:00
Guillaume Chau
e759b2c29d
fix(ui): mock install/uninstall in debug mode
2018-05-23 12:48:54 +02:00
Guillaume Chau
3c78d90856
fix: terminated from warn to info
2018-05-21 17:28:37 +02:00
Guillaume Chau
53280dde3a
test: tasks
2018-05-20 21:57:29 +02:00
Guillaume Chau
c0ab9e63eb
test: refactoring files
2018-05-20 13:59:14 +02:00
Guillaume Chau
a18933227a
test: plugins
2018-05-20 13:07:46 +02:00
Guillaume Chau
eab3c110a9
fix(ui): remove console.log
2018-05-19 04:27:23 +02:00
Guillaume Chau
71bc8a580e
test(ui): use data-testid
2018-05-19 04:15:44 +02:00
Guillaume Chau
2f94a85fe8
feat(ui): project create error
2018-05-19 04:15:32 +02:00
Guillaume Chau
d64c1a005f
refactor(ui): use only web sockets
2018-05-19 04:15:08 +02:00
Guillaume Chau
dad5fcb38e
test: debug
2018-05-19 00:24:20 +02:00
Guillaume Chau
43e0a646c2
test(ui): disable locale watching for tests
2018-05-12 15:33:38 +02:00
Guillaume Chau
01812237cb
feat(ui): auto select features
2018-05-12 04:51:55 +02:00
Guillaume Chau
3426736e8a
fix(ui): prompt confirm checked
2018-05-12 04:50:18 +02:00
Guillaume Chau
1b7b5f8816
test(ui): e2e: cypress added + create project (manual) test
2018-05-12 03:56:03 +02:00
Guillaume Chau
7f7374b71a
fix(ui): more strings localized
2018-05-12 03:55:36 +02:00
Guillaume Chau
e011bc04fd
fix(ui): prevent duplicate views
2018-05-11 22:26:44 +02:00
Guillaume Chau
6661a13ff6
feat(ui): task params modal info
2018-05-11 21:59:09 +02:00