enm10k / nocodb-mobile

A prototype Android/iOS client for NocoDB
MIT License
46 stars 5 forks source link

Dark mode #16

Open ballinger opened 5 months ago

ballinger commented 5 months ago

This is starting to look great! Pls don't forget about dark mode support when you get around the ui part of things. thanx

ballinger commented 2 months ago

Would be great if multi field values would fetch their color from nocodb. They indicate temperature values in my setup. Not essential but a good visual reminder. thanx! - still using the app daily multiple times :)

enm10k commented 1 month ago

Thank you for the feedback. It is very encouraging.

Would be great if multi field values would fetch their color from nocodb.

Could you tell me which field type you mean?

ballinger commented 1 month ago

Hey, the field type of the column is a "multi field". I set specific hex codes for my custom entries under details -> fields

enm10k commented 1 month ago

Could you provide more specifics about your use case? It would also be helpful to see concrete examples of the table structure and columns.

When you mention multi-field, I imagine you're referring to the following feature: Multi-field editor | NocoDB

As for Multi Select, I’ve already implemented the functionality where the options' colors are reflected in the UI, as shown here: https://github.com/enm10k/nocodb-mobile/blob/d85372b59fc7553584e0db62a9dbc9d3effde010/lib/features/core/components/cells/multi_select.dart#L19-L23

Therefore, I suppose you are referring to multi-field not Multi Select.

ballinger commented 1 month ago

hi, made you a few screenshots...

When you mention multi-field, I imagine you're referring to the following feature: Multi-field editor | NocoDB

yes. exacly

Screenshot_20241016-174642 Screenshot_20241016_174217 Screenshot_20241016_174253

enm10k commented 1 month ago

Thank you for sharing the information.

Indeed, the colors displayed in the MultiSelect of nocodb-mobile are incorrect

I realized that the code does not support the case where NocoDB has colors set with 8-digit hex codes, and I suspect this might be the cause of the issue. I'll try to find time to fix it soon. https://github.com/enm10k/nocodb-mobile/blob/d85372b59fc7553584e0db62a9dbc9d3effde010/lib/nocodb_sdk/models_extensions.dart#L23-L50

ballinger commented 1 month ago

Sweet, thanks!