joplin icon indicating copy to clipboard operation
joplin copied to clipboard

Dark mode not respected by "Sort notes by"

Open Jonta opened this issue 3 years ago • 39 comments

Environment

Joplin version: 1.7.5, Database v34, FTS enabled: 1 Platform: Android OS specifics: 10

Steps to reproduce

  1. Configuration -> Appearance -> Theme -> OLED Dark
  2. Darkness appears
  3. Back to start-screen
  4. Tap 3-horisontal-line menu-button top right
  5. White background

Describe what you expected to happen

Dark background

Logfile

No errors in Configuration -> Log

Jonta avatar Mar 14 '21 19:03 Jonta

@roman-r-m I wish to work on this. I am a beginner. Can you let me know the location of theme files in your codebase ?

vikas-kundu avatar Mar 15 '21 12:03 vikas-kundu

I suppose it's https://github.com/laurent22/joplin/blob/ccbc329cbf806e9b6db6d37f8c837629ee6c3a60/packages/lib/theme.ts

roman-r-m avatar Mar 15 '21 13:03 roman-r-m

@roman-r-m So i checked this. Turns out that the sort dialog does not obey any of the themes for mobile app only. Whereas for desktop app, the sort option obeys theme rules. So, it looks that perhaps the element has been created differently for mobile app. I am not well versed with android app development so could you please guide me how the sort dialog is formed for joplin mobile app?

vikas-kundu avatar Mar 16 '21 06:03 vikas-kundu

the element has been created differently for mobile app

Probably, yes. Most UI elements are different between desktop and mobile.

I am not well versed with android app development so could you please guide me how the sort dialog is formed for joplin mobile app?

What have you tried so far? A simple search for "sort" in packages/app-mobile should give you the result.

roman-r-m avatar Mar 16 '21 09:03 roman-r-m

Related: Same with prompt "Delete these notes?"

Possibly related: https://github.com/laurent22/joplin/issues/4450

Jonta avatar Mar 16 '21 11:03 Jonta

Possibly related: Long-press in a note does not respect system's dark-mode (for popup of e.g. "Paste" and "Select all")

Thanks for taking on the issue, and tell me if these are not related, and should be separate issues instead. =)

Jonta avatar Mar 16 '21 11:03 Jonta

If I recall correctly, the long-press & "delete these notes" dialogs are the same component, and it's different from the one used for the sort order (i.e. this issue).

roman-r-m avatar Mar 16 '21 11:03 roman-r-m

@roman-r-m there seems to be many issues with themes in mobile app. It seems they will need to be redesigned for mobile app keeping other components in mind. I am unable to find the any sort component in the app-mobile folder. My knowledge is limited and I am new to the codebase

vikas-kundu avatar Mar 16 '21 11:03 vikas-kundu

there seems to be many issues with themes in mobile app. It seems they will need to be redesigned for mobile app keeping other components in mind.

While I do agree that UI on mobile is sometimes inconsistent (and plain ugly at times), what's your suggestion? If you'd like to redesign all of it, this might be too much for the 1st task. Otherwise, if you don't want to fix this issue, you're free to pick something else.

I am unable to find the any sort component in the app-mobile folder. My knowledge is limited and I am new to the codebase

Again, what have you tried to find it? Keep in mind, there may not be a separate component, might be a part of a bigger UI element.

roman-r-m avatar Mar 16 '21 11:03 roman-r-m

@roman-r-m so i did some digging around and i was able to find:

Will take me some time but i am positive i will fix it in a few days.

vikas-kundu avatar Mar 18 '21 10:03 vikas-kundu

I have connected my phone via USB for debugging but still getting this error: warn No apps connected. Sending "devMenu" to all React Native apps failed. Make sure your app is running in the simulator or on a phone connected via USB. Moreover running into errors while building from android studio. Is there a development guide for building the mobile app?

vikas-kundu avatar Mar 20 '21 18:03 vikas-kundu

Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? This issue may be closed if no further activity occurs. You may comment on the issue and I will leave it open. Thank you for your contributions.

stale[bot] avatar Jun 03 '21 03:06 stale[bot]

Still requires the community's attention

Jonta avatar Jun 05 '21 14:06 Jonta

Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? This issue may be closed if no further activity occurs. You may comment on the issue and I will leave it open. Thank you for your contributions.

stale[bot] avatar Jul 08 '21 01:07 stale[bot]

Still requires the community's attention

Jonta avatar Jul 08 '21 08:07 Jonta

Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? This issue may be closed if no further activity occurs. You may comment on the issue and I will leave it open. Thank you for your contributions.

stale[bot] avatar Aug 07 '21 15:08 stale[bot]

Still requires the community's attention

Joplin 2.1.4 - Database v39

Jonta avatar Aug 09 '21 22:08 Jonta

@vikas-kundu https://github.com/laurent22/joplin/blob/dev/BUILD.md I think

Jonta avatar Sep 07 '21 19:09 Jonta

Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? This issue may be closed if no further activity occurs. You may comment on the issue and I will leave it open. Thank you for your contributions.

stale[bot] avatar Oct 12 '21 15:10 stale[bot]

Still requires the community's attention

Joplin 2.4.3 - Database v39

Jonta avatar Oct 14 '21 11:10 Jonta

@stale Why aren't you removing the label?

Jonta avatar Oct 14 '21 13:10 Jonta

Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? This issue may be closed if no further activity occurs. You may comment on the issue and I will leave it open. Thank you for your contributions.

stale[bot] avatar Nov 16 '21 12:11 stale[bot]

Still requires the community's attention

Joplin 2.4.3 - Database v39

Jonta avatar Nov 16 '21 12:11 Jonta

@laurent22 Label as good first issue perhaps? =)

Jonta avatar Nov 16 '21 13:11 Jonta

Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? This issue may be closed if no further activity occurs. You may comment on the issue and I will leave it open. Thank you for your contributions.

github-actions[bot] avatar Jan 09 '22 06:01 github-actions[bot]

Still requires the community's attention

Joplin 2.6.8 - Database v41

@laurent22 Poke. :)

Jonta avatar Jan 09 '22 15:01 Jonta

@github-actions @stale Remove the label

Jonta avatar Jan 09 '22 15:01 Jonta

Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? This issue may be closed if no further activity occurs. You may comment on the issue and I will leave it open. Thank you for your contributions.

github-actions[bot] avatar Feb 09 '22 16:02 github-actions[bot]

Still requires the community's attention

Joplin 2.6.8 - Database v41

Jonta avatar Feb 10 '22 11:02 Jonta

Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? This issue may be closed if no further activity occurs. You may comment on the issue and I will leave it open. Thank you for your contributions.

github-actions[bot] avatar Mar 13 '22 16:03 github-actions[bot]