Commit Graph

31 Commits

Author SHA1 Message Date
Nick Kipling 646913f4e2 Fixed tech debt of using custom component
Changed the container registry to use the empty state component
Removed the custom svg-component
2019-08-21 18:55:42 +00:00
Nick Kipling 128a04ef0e
Adjustments to event removal and modal description 2019-07-30 13:53:07 -03:00
Nick Kipling 918e7d43df
Reworked how deletion works with multi vs single
Single deletion no longer requires a prop
Modal description is now generated on demand
Added dedicated functions for deleting
Updated tests to match new function naming
Updated css class name to be more specific
2019-07-30 13:49:49 -03:00
Nick Kipling a37d672ff5
Applying feedback changes
Updated table registry to remove singleItemToBeDeleted
Renamed usages of idx to index
Tidied and simplified css styling
Added clarification comment to test regex
Updated pot file
2019-07-30 13:49:48 -03:00
Nick Kipling 786133d314
Updated select all to be more explicit 2019-07-30 13:49:48 -03:00
Nick Kipling 237f434ce8
Updating with suggestions as per review 2019-07-30 13:49:48 -03:00
Nick Kipling b5d50025fc
Updating table_registry tests 2019-07-30 13:49:48 -03:00
Nick Kipling 51b04b5f22
Implement multi select deletion for container registry
Added checkboxes to each image row
Added delete selected images button
Changed row delete button to appear on row hover
Changed confirmation modal message
Changed delete logic to support multi
Added tests for multi select
Updated pot file
Updated rspec test for new functionality
2019-07-30 13:49:47 -03:00
Lukas 'Eipi' Eipert 6df22f17d2 Karma: Fix css selector for loading icon
The GitLab UI update changed the spinner selector from `spinner` to
`gl-spinner`, so we need to update it, so that our tests won't fail.
2019-07-26 09:40:17 +00:00
Nick Kipling 8236640b06 Updating wording as per desgn guidelines
Shortened descriptive text
Added copy button to code snippets
2019-07-15 23:51:36 +00:00
Paul Gascou-Vaillancourt a076d1d88e Set unique modal IDs 2019-07-09 15:52:09 -04:00
Nick Kipling f01127ad25 Registry component now includes error messages
Includes changes to the Vue container registry component to support
the display of an empty message and error message when invalid
characters are found in the group, project or branch name.

repositories/index.html.haml has been changed to remove the content
and place into Vue component.
2019-07-02 13:12:45 +00:00
Paul Gascou-Vaillancourt 2643d3b385
Fix modal related tests 2019-06-28 18:47:08 +02:00
Paul Gascou-Vaillancourt 8a3f088398 Add confirmation for registry image deletion
Adds a modal to let the user confirm their action before
proceeding to registry/image deletion
2019-06-21 18:29:11 +00:00
Winnie Hellmann 514ee63826 Move some tests from Karma to Jest 2019-03-23 17:53:46 +01:00
Brandon Labuschagne 193362482d Fix failing tests
A number of the karma tests looked for the .fa-spinner class or the
icon element used for the font awesome spinner class.

These instances have been refactored to now look for the .spinner
class instead.
2019-03-18 14:09:07 +02:00
Filipa Lacerda f8bfc2cf7c
Reduces technical debt
Updates icons to use gitlab-svg
Updates buttons to use gitlab-ui

Updates broken tests
2018-12-07 12:46:12 +00:00
Filipa Lacerda 7019b646c5
Replaces vue-resource with axios for registry code 2018-12-07 12:09:22 +00:00
Mike Greiling f666026d71
Prettify all spec files 2018-10-17 11:18:17 -05:00
Johann Hubert Sonntagbauer 6f5723a169 enable jasmine/new-line-before-expect 2018-10-17 06:57:29 +02:00
Filipa Lacerda 470b8ca10a
Add dispatch mock to the test helper 2018-03-29 11:14:18 +01:00
Phil Hughes e26d20311c
fixed failinng tests after helper change 2018-03-29 10:44:38 +01:00
Rémy Coutable d434c62a83 Move EE-specific JavaScript files to ee/app/assets/javascripts 2018-02-26 19:43:34 +00:00
Filipa Lacerda 1245d35f14 Merge branch 'main-js-tidy-up' into 'master'
Tidy up main JS file

See merge request gitlab-org/gitlab-ce!16007
2018-01-11 18:40:22 +00:00
Phil Hughes ff0f74ac6e
Tidy up main JS file 2018-01-10 11:07:42 +00:00
Filipa Lacerda 601dc0d8b3
Fix broken specs 2018-01-09 11:58:34 +00:00
Filipa Lacerda 6ac0a69b68
Fix broken test 2017-10-17 21:13:22 +01:00
Kamil Trzcinski 5ee58c1c06 Add short_revision and use total_size 2017-10-17 16:58:28 +02:00
Filipa Lacerda c34a47c39a
Adds tests for new table component
Fixes eslint problems
2017-09-26 12:02:03 +01:00
Filipa Lacerda d0e5bafa30
Adds pagination
Adds specs
2017-09-22 12:14:59 +01:00
Filipa Lacerda ee3cf5d6f3
[ci skip] Adds tests to vuex and collapsibe component
Formats dates
Fixes clipboard button
Simplifies HTML
2017-09-20 19:03:53 +01:00