• Nicolò Maria Mezzopera's avatar
    Add group level container registry · cc2f3c4d
    Nicolò Maria Mezzopera authored
    - ee and ce sidebar
    - view
    - js bootstrapping
    
    Finalise BE and FE features
    
    - one for project related info
    - one for group related info
    - add handling of groupPage prop
    
    Add groupPage prop and refactor render fn
    
    Generate API path to fill endpoint prop
    
    Add disableDelete and tagsPath options to store
    
    - disableDelete added to state,
    - disableDelete mutation, mutation type and action
    - modified fetchList to calculate tagsPath if not present
    
    Resolve linting errors on routes and controller
    
    - config/routes/groups.rb
    - controller/groups/container_registries_controller.rb
    
    Remove hardcoded path from BE and calc it on FE
    
    Remove wrong if in navbar haml file
    
    Refactor disableDelete to isDeleteDisabled
    
    - mutations
    - mutation types
    - getters
    - action
    - state
    - components methods
    
    Disable menu and page if feature is disabled
    
    - Model addition to check if feature is enabled
    - helper function
    - check in controller
    - disable menu partial if not enabled
    - add title to the page for breadcrumb
    - fix side menu open state
    
    Use isDeleteDisabled in components
    
    - remove image delete button
    - remove tag delete button
    - remove tags delete button
    
    Rename container_registry_feature_available
    
    - to container_registry_configured
    
    Backend unit test for new feature
    
    - model test
    - helper test
    - controller test
    
    Force config setting to true before test body
    
    Finalise frontend feature
    
    - new updated text for empty state on group
    - unit tests
    
    Update translations strings
    
    Add changelog entry
    
    Lint ruby file
    
    Apply suggestion to
    spec/frontend/registry/components/app_spec.js
    Apply suggestion to
    spec/frontend/registry/components/app_spec.js
    Add new line at the end of new haml files
    
    Move container_registry_configured to controller
    
    - from model to application_controller
    - adjusted tests
    
    Remove container_registry_configured from groups
    
    - add check in container-registries-controller
    - add check in groups_helper
    - relative tests
    
    Apply suggestion to s
    pec/frontend/registry/components/group_empty_state_spec.js
    Apply suggestion to
    spec/frontend/registry/components/project_empty_state_spec.js
    create dedicated computed for isGroupPage
    
    Add feature test for package sidebar
    
    Update snapshots along with updated test names
    
    Address missing i18n methods
    
    - feature test
    - index for the new page
    
    Implement maintainer feedback
    
    Apply suggestion to
    .../registry/components/project_empty_state.vue
    Apply suggestion to
    ../registry/components/project_empty_state.vue
    Apply suggestion to
    .../registry/components/project_empty_state.vue
    Adjust frontend tests as per review feedback
    
    Refactor repo / global delete swtich
    
    Add missing title prop to links
    
    move container registry api to api.js
    
    - add path and fn to api.js
    - unit tests for api
    - rewrite store
    
    Refactor getList to use Api.js
    
    - add projectContainerRegistryTagsPath to api
    - unit test for api
    - refactor the store
    
    Apply suggestion to config/routes/group.rb
    Remove redundant slash from api.js
    
    Use repo name to calculate api path
    
    - store name in namespace property
    - path calculation
    - comment for future notice
    
    Remove slash to test mock path
    
    Refactor container registry controller
    
    - mirror project structure
    - adjust test
    - mirror structure for JS files
    - set router
    
    Correct check for gitlab foss
    
    Implement review feedback
    
    - add check if user is allowed to see registry
    - tests
    - change to module / class syntax
    
    check if user can see registry in helper
    
    - helper function
    - tests
    
    Implement review feedback
    
    - add missing required: false
    - move row delete check to method
    - rename propsData to registryData
    
    Add sign_in to groups pacakge sidebar feature spec
    
    Fix url parsing for repository without namespace
    
    Adjust changes from 'remove to clipboard'
    
    - removed wrong template
    - removed to clipboard from template strings
    
    Update snapshots to match new copy
    
    - project empty state
    
    Reset api and api_spec to master
    
    Return group container registry from controller
    
    Refactor frontend to use controller data
    
    Pass page param to axios call
    
    Cleaner repositories_controller json function
    
    Update tests to check json generation
    
    Add  json content testing on controller
    
    - test returned json with mock data
    
    Address FE maintainer review
    
    - explicit prop binding
    - test cleanup
    - missing vuex tests
    - missing required props
    
    Add search for proj in object in Repository entity
    
    - source file
    - tests updated
    
    Align tests to review feedback
    
    Linted groups_helper_spec
    
    Add project preload in container_repository model
    
    Add with_api_entity_associations to controller
    
    Apply suggestion to
    app/controllers/groups/registry/repositories_controller.rb
    Apply suggestion to
    app/controllers/groups/registry/repositories_controller.rb
    Add new line after spec block for consistency
    
    Adjust mutation test to punctual state check
    
    - isDeleteDisabled
    - endpoint
    
    Adjust tests after master conflict resolution
    cc2f3c4d
group_empty_state.vue 1.18 KB