Commit Graph

31 Commits

Author SHA1 Message Date
Phil Hughes 1505fc3ac5 Refactor of issue boards to work with Vue2 2016-11-10 17:53:34 +03:00
Fatih Acet 99b421da2c Migrate Vue v1 to v2. 2016-11-10 17:53:34 +03:00
Fatih Acet dd5e46ab69 Merge branch 'eslint' into 'master'
Add ESLint

## What does this MR do?

- create `package.json`
- add ESLint dependencies to `package.json`
- add JavaScript linting to CI
- add Rake task `lint:javascript`as alias for `eslint` (which itself is an alias for `npm run eslint`)

## Are there points in the code the reviewer needs to double check?

Probably not.

## Why was this MR needed?

My hovercraft was full of eels.

## What are the relevant issue numbers?

- https://gitlab.com/gitlab-org/gitlab-ce/issues/13224#note_12537431
- https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/5006#note_13255658


See merge request !5445
2016-10-26 16:31:08 +00:00
winniehell 02f94cf038 disable ESLint for all JavaScript files 2016-10-26 10:02:58 +02:00
Phil Hughes cd5e83b6d6 Scroll board into view when clicking issue
Changed return statement instead of if
Delete objects after issue is closed
2016-10-19 22:26:51 +01:00
Phil Hughes f1350a5c82 Merge branch 'master' into issue-board-sidebar 2016-10-19 08:44:55 +01:00
Phil Hughes dc49ee6247 Updated to pass the board ID with the boards root to save conflicts with EE 2016-10-11 11:47:56 -03:00
Phil Hughes 6b3e3aeb9e Sidebar details update when changing
Need to get working the subscription
Styling updates
2016-10-07 09:14:55 +01:00
Phil Hughes 7c59f45d10 Added markup for sidebar 2016-10-07 09:13:41 +01:00
Phil Hughes 19c9ee4752 Added search for all lists on issue boards
Closes #21139
2016-08-30 10:32:19 +01:00
Phil Hughes 888c04818c Improvements to issue boards on mobile 2016-08-19 16:37:46 +01:00
Phil Hughes 77a074a720 Code improvements 2016-08-17 17:17:39 +01:00
Phil Hughes 82481a6a9d Added vue resource interceptor 2016-08-17 17:17:39 +01:00
Phil Hughes dc73405d6e Uses dataset rather than jQuery to get attribute values 2016-08-17 17:17:39 +01:00
Phil Hughes 034932efaf Moved issue board components from being global 2016-08-17 17:17:39 +01:00
Phil Hughes aa05b5ed8b Moved board store to namespaced gl object 2016-08-17 17:17:39 +01:00
Phil Hughes 17c576c1ac Removed underscoreJS uses
Removed props on main VueJS app instead uses data variables
2016-08-17 17:17:39 +01:00
Phil Hughes 271887632e Added ability to generate default lists 2016-08-17 17:17:39 +01:00
Phil Hughes 1cb9de1b63 Added loading icon to boards vue app 2016-08-17 17:17:39 +01:00
Phil Hughes e04db427f1 Label description in tooltip
Clicking label adds that label to the filtered by
2016-08-17 17:12:47 +01:00
Phil Hughes 5f7eff340a Changed cursors to only show draggable when logged in
Fixed lists allowed to be reorganized when logged out
Hides welcome state when logged out
2016-08-17 17:12:47 +01:00
Phil Hughes da21119fe9 Changed how the state is created when page is loaded
Removed some un-used data
2016-08-17 17:12:47 +01:00
Phil Hughes 8e3fd88ec0 Improved the mobile UI 2016-08-17 17:12:47 +01:00
Phil Hughes f1242c17a5 Created default sortable options to be shared between the lists & the cards
Added full vue.js source
2016-08-17 17:12:47 +01:00
Phil Hughes 0fa57599a5 Hides the welcome board forever after it being hidden by the user 2016-08-17 17:12:47 +01:00
Phil Hughes 0b351d5538 Moved some code around to make it easier to read & work with 2016-08-17 17:12:47 +01:00
Phil Hughes 3e839b3468 Hooked the frontend services up with the backend 2016-08-17 17:12:47 +01:00
Phil Hughes ae0049a8b9 Added blank state 2016-08-17 17:12:47 +01:00
Phil Hughes 99915931bc Moved data holding into models 2016-08-17 17:12:47 +01:00
Phil Hughes c30a9013f0 Changes names to lists
Fixed some bugs introduced when moving to es6
2016-08-17 17:12:47 +01:00
Phil Hughes 8e04195782 Moved to ES6 2016-08-17 17:12:47 +01:00