Comments (17)
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.
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.
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.
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.
* 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.
Just for reference:
This is the color-picker from Google calendar
from nextcloud-vue.
@ma12-co I think @jancborchardt talked about the checkbox in front of the calendar name :)
from nextcloud-vue.
@ma12-co Thank you for taking this up. Much appreciated! :)
from nextcloud-vue.
@raimund-schluessler I'm sure it'll be amazing! :D
Give yourself some credit!!!
Can we see some screenshots ? 🎉
from nextcloud-vue.
ping @raimund-schluessler ^ :)
from nextcloud-vue.
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.
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.
(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.
(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.
@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.
@ma12-co I think @jancborchardt talked about the checkbox in front of the calendar name :)
Oh I get it, my bad!
from nextcloud-vue.
@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)
- Error spam "$attrs is readonly" and "$listeners is readonly" with NcButton HOT 6
- [NcActionButton] Inconsistent icon position HOT 4
- [NcActions] popover is removed before `clearForcusTrap`
- NcSelect: User select - no Email addresses possible HOT 1
- [NcDialog] Cannot read properties of undefined (reading 'mounted') HOT 4
- NcCheckboxRadioSwitch: Allow external label HOT 3
- [NcActions] doesn't fully support changing type during open state
- [NcAppSidebar] add `open` state HOT 3
- `npm link @nextcloud/vue` hangs - can't follow setup steps further HOT 2
- Update docs about build:module
- Link/mention picker should not pop up when typing inside a word HOT 2
- [NcRichContenteditable] Pressing ESC not only closes the link picker but also unfocuses the input HOT 4
- Three dots menu button on task details sidebar always looks selected
- Check widget errors HOT 1
- NcAppNavigation in mobile state blocks interacting with dialogs HOT 4
- User status broken on safari HOT 2
- NcDialog, NcReferenceWidget generate Vue warnings for the vueuse/core methods HOT 4
- NcReferenceWidget generates warnings on destroy
- Mention picker is shown when a mention-chip is in front of it
- NcCounterBubble just keeps counting up HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nextcloud-vue.