Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add SettingsCheckbox components #649

Closed
wants to merge 1 commit into from

Conversation

GretaD
Copy link
Contributor

@GretaD GretaD commented Oct 14, 2019

No description provided.

@GretaD GretaD added 3. to review Waiting for reviews component Component discussion and/or suggestion labels Oct 14, 2019
@GretaD GretaD force-pushed the add_SettingsCheckbox_components branch from a8ba8ab to dfe9691 Compare October 14, 2019 11:29
@GretaD GretaD force-pushed the add_SettingsCheckbox_components branch from 9f1aeb7 to cc360d9 Compare October 22, 2019 19:24
@GretaD GretaD force-pushed the add_SettingsCheckbox_components branch 3 times, most recently from 799a018 to 73e11e8 Compare November 6, 2019 13:20
src/components/SettingsCheckbox/SettingsCheckbox.vue Outdated Show resolved Hide resolved
src/components/SettingsCheckbox/SettingsCheckbox.vue Outdated Show resolved Hide resolved
src/components/SettingsCheckbox/SettingsCheckbox.vue Outdated Show resolved Hide resolved
src/components/SettingsCheckbox/SettingsCheckbox.vue Outdated Show resolved Hide resolved
@georgehrke
Copy link
Contributor

Also, you can't trigger it by clicking enter.

You can check here how to do it: https://github.com/nextcloud/nextcloud-vue/blob/master/src/components/ActionCheckbox/ActionCheckbox.vue#L44

@GretaD GretaD force-pushed the add_SettingsCheckbox_components branch from 73e11e8 to 39d0d2e Compare November 11, 2019 16:58
@skjnldsv skjnldsv added 2. developing Work in progress and removed 3. to review Waiting for reviews labels Nov 12, 2019
@GretaD GretaD force-pushed the add_SettingsCheckbox_components branch from 39d0d2e to 376e6de Compare November 18, 2019 12:14
@GretaD GretaD force-pushed the add_SettingsCheckbox_components branch from 376e6de to c27f7fb Compare January 17, 2020 16:19
@skjnldsv
Copy link
Contributor

skjnldsv commented Jun 5, 2020

Great work @GretaD :)

We should maybe remove the SettingCheckbow component, now, no?
Or make it use the Checkbox one?

@GretaD
Copy link
Contributor Author

GretaD commented Jun 5, 2020

Great work @GretaD :)

We should maybe remove the SettingCheckbow component, now, no?
Or make it use the Checkbox one?

Yes we should remove it, i thought i did 🐐

src/components/Checkbox/Checkbox.vue Outdated Show resolved Hide resolved
@GretaD GretaD force-pushed the add_SettingsCheckbox_components branch from e44d62d to 26e59e8 Compare June 15, 2020 11:25
src/components/Checkbox/Checkbox.vue Show resolved Hide resolved
src/components/Checkbox/Checkbox.vue Outdated Show resolved Hide resolved
src/components/Checkbox/Checkbox.vue Outdated Show resolved Hide resolved
src/components/Checkbox/Checkbox.vue Outdated Show resolved Hide resolved
src/components/Checkbox/Checkbox.vue Outdated Show resolved Hide resolved
@GretaD
Copy link
Contributor Author

GretaD commented Jun 28, 2020

Thank you Barth for the review. I will change them asap, but can you please have a general review and decide what you think is fine and what it is not, so i can change everything in one push? You reviewed this PR many times, and every time you found something new, which is fine, but why not adding all the changes in the first review. Let me know if you're done so i can push the changes. Thanks again.

@skjnldsv
Copy link
Contributor

skjnldsv commented Jul 8, 2020

You reviewed this PR many times, and every time you found something new, which is fine, but why not adding all the changes in the first review. Let me know if you're done so i can push the changes.

Sorry 🙈
Yes, it should be fine after the last changes I think :)
You're getting close!! 💪

@GretaD GretaD force-pushed the add_SettingsCheckbox_components branch from 26e59e8 to aaf09e2 Compare October 30, 2020 11:24
Signed-off-by: Greta Doci <gretadoci@gmail.com>
@GretaD GretaD force-pushed the add_SettingsCheckbox_components branch from aaf09e2 to 5c65023 Compare October 30, 2020 11:25
@skjnldsv skjnldsv added 3. to review Waiting for reviews and removed 2. developing Work in progress labels Oct 30, 2020
Comment on lines +130 to +163
&__checkbox {
position: absolute;
top: auto;
left: -10000px;
overflow: hidden;
width: 1px;
height: 1px;
&:focus + .checkbox__label {
opacity: $opacity_full;
}
}
&__label {
display: flex;
align-items: center; // align checkbox to text
width: 100%;
padding: 0 !important;
padding-right: $icon-margin !important;
opacity: $opacity_normal;
&::before {
margin: 0 14px 0 !important;
}
}
&--disabled {
&,
.checkbox__label {
cursor: pointer;
display: inline-block;
}
}
&:not(.checkbox--disabled):hover,
&:not(.checkbox--disabled):focus {
.checkbox__label {
opacity: $opacity_full;
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did you lose some code while rebasing or something?
This seems unrelated now?

Comment on lines +29 to +33
<template>
<Checkbox
label="some text"
v-model="checkedTarget"/>
</template>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

checkedTarget is undefined

Suggested change
<template>
<Checkbox
label="some text"
v-model="checkedTarget"/>
</template>
<template>
<Checkbox
label="some text"
v-model="checkedTarget"/>
</template>
<script>
export default {
data() {
return {
checkedTarget: false
}
},
}
</script>

Copy link
Contributor

@skjnldsv skjnldsv left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Design is off and not fitting the nextcloud checkbox design

This pr:
Capture d’écran_2020-10-30_13-12-36

Wanted:
Capture d’écran_2020-10-30_13-13-25

@skjnldsv skjnldsv added 2. developing Work in progress and removed 3. to review Waiting for reviews labels Oct 30, 2020
@skjnldsv
Copy link
Contributor

and every time you found something new, which is fine, but why not adding all the changes in the first review

I think this is because this pr changed so much I find new stuff every time.
Please start over and check this is exactly done and working as it is supposed to.
I don't understand what happened to be honest 😕

@GretaD
Copy link
Contributor Author

GretaD commented Jan 13, 2021

@skjnldsv what do you think about closing this one and I start a new one when i have the time to start and finish it on time. This is getting very old. And i can add your suggestions on the new one.

@GretaD
Copy link
Contributor Author

GretaD commented Feb 8, 2021

closing to open a new one

@GretaD GretaD closed this Feb 8, 2021
@raimund-schluessler raimund-schluessler deleted the add_SettingsCheckbox_components branch April 8, 2022 08:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2. developing Work in progress component Component discussion and/or suggestion
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants