Giter VIP home page Giter VIP logo

Comments (17)

marcoambrosini avatar marcoambrosini commented on June 19, 2024 6

This is the color-picker from Google calendar

I Like the google solution: easy enough for somebody that doesn't need to customize much, but also gives the option to pick a custom color. I made a mock up so we can discuss the design: https://www.figma.com/file/4th1eQVONZguVoDXMwnDJT/nextcloud-color-picker?node-id=0%3A1
@nextcloud/designers

from nextcloud-vue.

raimund-schluessler avatar raimund-schluessler commented on June 19, 2024 4

I wrote a colorpicker component for the Tasks app, see https://github.com/nextcloud/tasks/blob/vue/src/components/Colorpicker.vue. It is one of the first vue components I wrote, so it is probably badly written 🙈 I also reused some code from previous implementations.

But maybe it a first iteration to improve on.

from nextcloud-vue.

juliushaertl avatar juliushaertl commented on June 19, 2024 2

It provides a default set of colors plus a random color option in Safari, IE and a real color-picker for browsers that natively support it.

If we write a component, we should make sure there is also a proper picker for IE/Safari, where the input color element is not supported. Otherwise 👍

from nextcloud-vue.

jancborchardt avatar jancborchardt commented on June 19, 2024 2

Looking super good @ma12-co! The only thing I would change is to make the colors shown in circles instead of rounded squares. This is also what we already do in the Mail app e.g.

(Btw @georgehrke kinda related, the checkmark-to-activate interface in Google Calendar is very nice – we should probably do that too to be very obvious what is currently active.)

from nextcloud-vue.

ChristophWurst avatar ChristophWurst commented on June 19, 2024 1
* mail app (cc @ChristophWurst)

We don't need one right now, but I like the idea of having a component for this 👍

from nextcloud-vue.

georgehrke avatar georgehrke commented on June 19, 2024 1

Just for reference:
This is the color-picker from Google calendar
212f8ef0-baba-4a6a-99e2-8872721da1ba

from nextcloud-vue.

georgehrke avatar georgehrke commented on June 19, 2024 1

@ma12-co I think @jancborchardt talked about the checkbox in front of the calendar name :)

from nextcloud-vue.

georgehrke avatar georgehrke commented on June 19, 2024 1

@ma12-co Thank you for taking this up. Much appreciated! :)

from nextcloud-vue.

skjnldsv avatar skjnldsv commented on June 19, 2024

@raimund-schluessler I'm sure it'll be amazing! :D
Give yourself some credit!!!

Can we see some screenshots ? 🎉

from nextcloud-vue.

georgehrke avatar georgehrke commented on June 19, 2024

ping @raimund-schluessler ^ :)

from nextcloud-vue.

ChristophWurst avatar ChristophWurst commented on June 19, 2024

We don't need one right now, but I like the idea of having a component for this +1

Well nextcloud/mail#486 🤷‍♂️

from nextcloud-vue.

marcoambrosini avatar marcoambrosini commented on June 19, 2024

Thanks @jancborchardt!

The only thing I would change is to make the colors shown in circles instead of rounded squares.

I just updated it :)

from nextcloud-vue.

georgehrke avatar georgehrke commented on June 19, 2024

(Btw @georgehrke kinda related, the checkmark-to-activate interface in Google Calendar is very nice – we should probably do that too to be very obvious what is currently active.)

Absolutely! Should that be something that we put into vue components? (similar to the
AppNavigationIconBullet) Or is it too calendar-app-specific?

from nextcloud-vue.

marcoambrosini avatar marcoambrosini commented on June 19, 2024

(Btw @georgehrke kinda related, the checkmark-to-activate interface in Google Calendar is very nice – we should probably do that too to be very obvious what is currently active.)

Added to the mockup as well!

from nextcloud-vue.

skjnldsv avatar skjnldsv commented on June 19, 2024

@georgehrke I guess we can link an event to the bullet click, then you could do whatever you want. Thought it's not very discoverable. I'd put this into the menu.
And didn't you wanted an appNavCheckbox that could be coloured?

EDIT: ahaha, great mind synchronisation Georg ;)

from nextcloud-vue.

marcoambrosini avatar marcoambrosini commented on June 19, 2024

@ma12-co I think @jancborchardt talked about the checkbox in front of the calendar name :)

Oh I get it, my bad!

from nextcloud-vue.

jancborchardt avatar jancborchardt commented on June 19, 2024

@ma12-co I think @jancborchardt talked about the checkbox in front of the calendar name :)

Yup, but adding it to the active color to indicate is also good. :)

from nextcloud-vue.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.