Commit Graph

288 Commits

Author SHA1 Message Date
Evan You
6f948d2f3f v3.0.0-rc.1 2018-06-13 16:11:09 -04:00
Guillaume Chau
36908a9b54 fix(ui): improve task logs performance 2018-06-13 21:17:09 +02:00
Guillaume Chau
00d37d8360 chore(ui): display error if plugin loading fail in debug mode 2018-06-13 19:46:39 +02:00
Guillaume Chau
0a2ea1fb02 feat(ui): devtools suggestion 2018-06-13 17:59:10 +02:00
Guillaume Chau
e57e74926a feat(ui): pwa open vue config/manifest suggestions 2018-06-11 21:14:14 +02:00
Guillaume Chau
a26669c25f feat(ui): open eslintrc suggestion 2018-06-11 21:14:14 +02:00
Guillaume Chau
e7e2fb2ea6 fix(ui): Suggestions API fixes 2018-06-11 21:00:36 +02:00
Guillaume Chau
692d4638d8 feat(ui): jest task 2018-06-11 20:43:53 +02:00
kazuya kawaguchi
bc59637308 chore: fix links (#1540) 2018-06-11 12:28:51 -04:00
Guillaume Chau
99b030a8f0 fix(ui): nav button custom image align 2018-06-11 17:26:23 +02:00
Guillaume Chau
3da7427c11 refactor(ui): Suggestion from modal to dropdown 2018-06-11 16:54:49 +02:00
Guillermo Peralta Scura
29c1ce5491 feat(ui): git commit message + disable git (#1541)
* feat: Allow git commit message through UI

* refactor: fix git initialization on UI variable naming and behaviour

* fix(ui): condition, text, variable names

* fix(ui): polish
2018-06-11 16:05:30 +02:00
Guillaume Chau
9b068b1b60 feat(ui): suggestion and progress PluginAPI + add vue-router/vuex suggestions 2018-06-11 04:16:53 +02:00
Guillaume Chau
9426f38054 fix(ui): task command too long 2018-06-11 02:02:55 +02:00
Guillaume Chau
8ba6bcfe7b feat(ui): new hooks for plugins 2018-06-11 01:53:01 +02:00
Guillaume Chau
8fae98e7ce feat(ui): api.hasPlugin(id) 2018-06-11 00:42:53 +02:00
Guillaume Chau
be3d538d24 fix(ui): reload plugin api after plugin update 2018-06-11 00:33:30 +02:00
Guillaume Chau
0ba3920e99 fix(ui): dark mode nav button badge counters 2018-06-11 00:27:06 +02:00
Guillaume Chau
aee5c936b1 fix(ui): nav button bullet border color 2018-06-10 21:37:59 +02:00
Guillaume Chau
9aec563fe5 feat(ui): status color bullet on tasks with image icon 2018-06-10 21:34:00 +02:00
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
2b12c81998 test(ui): fix e2e 2018-06-10 17:16:39 +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
Evan You
2a8391d3c2 v3.0.0-beta.16 2018-06-08 00:51:12 -04: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
145492b2d9 fix(ui): yarn link @vue/ui 2018-06-04 02:30:31 +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
Evan You
9a2898c1bc v3.0.0-beta.15 2018-05-30 13:42:19 -04:00
Evan You
a9e12865b5 feat: respect baseUrl during development
BREAKING CHANGE: `devBaseUrl` option has been removed. `baseUrl` now works for
both development and production. To use different paths for prod/dev, use
conditional values based on `process.env.NODE_ENV` in `vue.config.js`.
2018-05-30 11:01:16 -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
Evan You
5f1f986d4d v3.0.0-beta.14 2018-05-29 13:27:16 -04:00
Evan You
0689ff2eae v3.0.0-beta.13 2018-05-29 13:24:03 -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
3bcc511507 fix(ui): add missing dependency 2018-05-29 01:38:09 -04:00
Evan You
e8bee864b0 v3.0.0-beta.12 2018-05-29 01:29:14 -04:00