Designs
- Show closed items
Relates to
Activity
-
Newest first Oldest first
-
Show all activity Show comments only Show history only
- Stan Hu changed the description
changed the description
- Maintainer
@stanhu the
disabled
property was already there: https://gitlab.com/gitlab-org/gitlab-ee/commit/f44bea378675e4d5227fa528f3dca641ae0ec950#41cda6f4f00ee29dea22932e22aaaa631b3fa1aa_27_24 those changes are only style@nick.thomas do you know what could be? Should the
disabled
be removed?Edited by Filipa Lacerda - Maintainer
- Maintainer
It looks like there is meant to be JS that removes the
disabled: true
property when text is added to the import URL.Presumably this was removed at some point when taking out inline JS (in CE, maybe?) without replicating the functionality.
- Maintainer
- Maintainer
By the looks of it, settingmirror_user
via theProjectsController#create
action is also broken (thehidden_field
at the bottom). It needs to follow similar logic to that found inProjects::MirrorController#update
.I'll create an issue for that. We can get rid of thehidden_field
entirely, TBH.We actually go through
Projects::ImportsController#create
which has all this.Edited by Nick Thomas - Maintainer
@nick.thomas please ping me on Slack if you need me ;)
Right, I was thinking this was a frontend issue with some JavaScript not enabling the button: https://gitlab.com/gitlab-org/gitlab-ee/issues/3146#note_37344203
/cc: @timzallmann
- Maintainer
I can't reproduce this on .com.
- Maintainer
Going to put the JS back, will find the original commit.
- Filipa Lacerda assigned to @filipa
assigned to @filipa
- Maintainer
Ah! Found it!
@stanhu the mirror checkbox has a disabled attribute that was added in this commit: https://gitlab.com/gitlab-org/gitlab-ee/commit/0774b69f1c4ae9f49e622e4681c23c84ab8a00d6, along with JS to enable it.
It was lost in here: https://gitlab.com/gitlab-org/gitlab-ee/commit/c4dc7e843012e5c84ca68d512fb08e2723fefb81
Opening an MR to add it back
- Filipa Lacerda mentioned in merge request !2670 (merged)
mentioned in merge request !2670 (merged)
- Maintainer
Thanks @filipa good find.
1 - Phil Hughes closed via merge request !2670 (merged)
closed via merge request !2670 (merged)
- Phil Hughes mentioned in commit d8736b89
mentioned in commit d8736b89
- Phil Hughes mentioned in commit e37f8973
mentioned in commit e37f8973
- Nick Thomas mentioned in issue #3233 (closed)
mentioned in issue #3233 (closed)
- Nick Thomas marked this issue as related to #3233 (closed)
marked this issue as related to #3233 (closed)