Commit Graph

30 Commits

Author SHA1 Message Date
Simon Knox 3bb0a9c873 use correct first/last symbols in vue pagination component 2017-03-29 10:01:29 +11:00
Mike Greiling 228564749d move common vue script to vue_shared directory 2017-03-21 20:28:20 -05:00
Mike Greiling 96c7bd0378 fix wait_for_vue_resource to not rely on global Vue object 2017-03-20 22:12:01 -05:00
Filipa Lacerda b0f2cbceb3 Remove UJS actions from pipelines tables 2017-03-17 17:30:32 +00:00
Filipa Lacerda cbf1b656a4 Use a button and a post request instead of UJS links - part 1 - Environments 2017-03-14 00:58:26 +00:00
winniehell 572f9782d5 Remove .es6 from file extensions (!9241) 2017-03-05 21:22:40 +01:00
Fatih Acet 1ca2f3798a Merge branch 'add-svg-loader' into 'master'
Fixes Tech debt: No need to pass svgs as props into Vue with Webpack

Closes #27692 and #27840

See merge request !9522
2017-03-02 22:05:45 +00:00
Alfredo Sumaran c15028b1b8 Merge branch '28818-tech-debt-pipelines-pagination' into 'master'
Pagination only changes the page parameter.

Closes #28818

See merge request !9581
2017-02-28 23:55:09 +00:00
Filipa Lacerda 936215433d Merge branch 'master' into add-svg-loader
* master: (21 commits)
  Move `Group -> Members` to top-level, fix missing sub-nav for Subgroups
  Left align logo; increase max width of title
  Add newline to end of frontend.md.
  Clone nested objects from default data. Checks if key is present before accessing it
  Update CHANGELOG.md for 8.17.1
  Document use of AirBnb js styleguide and eslint.
  Don't allow a project to be shared with an ancestor of the group it is in
  Fix access to projects shared with a nested group
  Ignore builds dir when run rubocop check
  Remove hidden-xs classes from last columns in environments and pipelines table. Transform pipelines table css to match structure of pipelines table Make environments table overflow
  Use exceptions for MergeService error handling
  Clarify when to create EE compatibility MR in code review process
  New runner API returns 204
  Backport new behavior to CI API
  Backport API to V3
  Update documentation
  Return 204 for delete endpoints
  API project create: Make name or path required
  Only create unmergeable todos once
  Put back the new project button
  ...
2017-02-28 20:12:40 +00:00
Filipa Lacerda 548a0b6a13 Pagination only changes the page parameter.
Fix broken test
2017-02-28 14:45:51 +00:00
Filipa Lacerda 4dce1ad6b5 Remove hidden-xs classes from last columns in environments and pipelines table.
Transform pipelines table css to match structure of pipelines table
Make environments table overflow
2017-02-28 12:05:01 +00:00
Filipa Lacerda 44622abe96 Changes after review - adds alias for icons path 2017-02-27 10:36:56 +00:00
Filipa Lacerda 92d80b68bc Use vhtml only when necessary 2017-02-25 00:45:20 +00:00
Filipa Lacerda f17109c046 Load SVGs into Pipelines 2017-02-25 00:44:18 +00:00
Filipa Lacerda e50375298e Loads SVGs into JS for environments 2017-02-24 18:47:17 +00:00
Filipa Lacerda 595afed2e3 Integrates pagination component with API
Adds pagination tests

Remove misplaced comment

Fix broken store test
2017-02-12 13:59:27 +00:00
Filipa Lacerda d6ae01da55 Use CJS in all environments components 2017-02-09 11:55:35 +00:00
Filipa Lacerda 6077dea7b1 Remove store from global namespace, use CSJ instead 2017-02-09 11:18:21 +00:00
Filipa Lacerda acb68ae69e Resolve 500 error 2017-02-09 11:16:31 +00:00
Filipa Lacerda 38bcc1e0e7 Looks for correct key to pass to commit prop. Adds rspec test. 2017-02-08 18:16:10 +00:00
Filipa Lacerda d5093ef569 Use webpack to require files
Changes after review
2017-02-05 20:44:01 +00:00
Filipa Lacerda d97b962289 Use webpack to require files 2017-02-05 18:17:38 +00:00
Filipa Lacerda daf5edf7ba Move interceptor to common interceptors files 2017-02-05 17:36:52 +00:00
Filipa Lacerda 0fe6d5b49e Merge branch 'master' into fe-commit-mr-pipelines
* master: (76 commits)
  fix failing test
  fix Vue warnings for missing element
  [ci skip] UX Guide: Button placement in groups
  Change window size before visiting page, to get correct scroll position
  Fix slash commands spec error
  Move project services to new location under Integrations
  Move webhooks to new a location under Integrations
  Fixed redirection from http://someproject.git to http://someproject
  consistently use single quotes
  allow application.js to require other scripts which start with application*
  DRY with Gitlab.config.webpack.dev_server references
  disable webpack proxy in rspec environment due to conflicts with webmock gem
  remove changes to Procfile
  configure webpack dev server port via environment variable
  add rack middleware to proxy webpack dev server
  remove dev-server config from development environment
  Document that the retro and kickoff notes are public
  add CHAGELOG.md entry for webpack branch
  fix failing rspec build
  fix test failure for merge request widget
  ...
2017-02-04 14:58:16 +00:00
Filipa Lacerda fdbdd45d22 Merge branch 'master' into fe-commit-mr-pipelines
* master: (65 commits)
  Fixed eslint test failure
  Fixed adding to list bug
  Remove unnecessary queries for .atom and .json in Dashboard::ProjectsController#index
  Fixed modal lists dropdown not updating when list is deleted
  Fixed remove btn error after creating new issue in list
  Removed duplicated test
  Removed Masonry, instead uses groups of data
  Uses mixins for repeated functions
  Fixed up specs
  Props use objects with required & type values
  Removes labels instead of closing issue when clicking remove button
  Fixed JS lint errors
  Fixed issue card spec
  Added webkit CSS properties
  Fixed bug with empty state showing after search Fixed users href path being incorrect
  Fixed bug where 2 un-selected issues would stay on selected tab
  Fixed DB schema Changed how components are added in objects
  Added remove button
  Add optional id property to the issue schema
  Fixed issue link href
  ...
2017-02-03 19:51:41 +00:00
Filipa Lacerda 184f60a06f Moves pagination to shared folder
Document and remove unused code

Declare components in a consistent way;
Use " instead of ' to improve consistency;
Update documentation;
Fix commit author verification to match the use cases;

Adds tests for the added components

Fix paths in pagination spec

Adds tests to pipelines table used in merge requests and commits

Use same resource interceptor

Fix eslint error
2017-02-03 09:43:54 +00:00
Filipa Lacerda 2c2da2c07b Use new vue js pipelines table to render in merge request view
Remove duplicate data-toggle attributes.

Reuse the same pipeline table

Remove unneeded required resources

Remove unused file; Fix mr pipelines loading

Updates documentation
2017-02-03 09:43:54 +00:00
Filipa Lacerda 7ef21460d1 Transform vue_pipelines index into a non-dependent table component. 2017-02-03 09:43:54 +00:00
Filipa Lacerda 9972f59f94 Use single source of truth for vue_resource_interceptor 2017-02-03 09:43:54 +00:00
Filipa Lacerda 037b4fe939 First iteration
Create shared folder for vue common files
Update paths

Second iteration - refactor main component to be 100% reusable between the 3 tables
2017-02-03 09:43:53 +00:00