Skip to content

Increase readability of read items - #203

Merged
CrystalSplitter merged 2 commits into
masterfrom
crystal/list-card
Aug 31, 2026
Merged

CrystalSplitter merged 2 commits into
masterfrom
crystal/list-card

Conversation

@CrystalSplitter

@CrystalSplitter CrystalSplitter commented Aug 30, 2026 •

Copy link
Copy Markdown
Collaborator

This PR does two things, one in each commit, and through them, greatly increases the ability of users
noticing an item is read.

The commits themselves explain themselves better, but:

@CrystalSplitter

Copy link
Copy Markdown
Collaborator Author

Addresses both yang991178#792 and #202

@CrystalSplitter

Copy link
Copy Markdown
Collaborator Author

@nubesurrealista can you test this? In particular, we need to test the ListView, see if it renders correctly.

I've tested it, but I won't merge without a second opinion.

@CrystalSplitter

Copy link
Copy Markdown
Collaborator Author

Also need to test that the default font is correctly overridden.

@CrystalSplitter

Copy link
Copy Markdown
Collaborator Author

Also need to test that the default font is correctly overridden.

Seems there's no way to actually replace the system-wide font, but the in-article fonts change correctly.

Sigh I guess I have to add that too...

@CrystalSplitter

Copy link
Copy Markdown
Collaborator Author

Example of what this looks like, by the way
image

The selected article now has a lighter background, and we change the boldedness of the title if it's read.

@nubesurrealista

Copy link
Copy Markdown
Collaborator

I can't build this branch, this is the error:

nube@nubepc:~/Documentos/git/fluentflame-reader$ npm install
npm error code ERESOLVE
npm error ERESOLVE could not resolve
npm error
npm error While resolving: [email protected]
npm error Found: [email protected]
npm error node_modules/redux
npm error   redux@"^4.0.5" from the root project
npm error   peer redux@"^3.5.2 || ^4.0.0 || ^5.0.0" from @redux-devtools/[email protected]
npm error   node_modules/@redux-devtools/core
npm error     @redux-devtools/core@"^5.0.0" from the root project
npm error   3 more (@redux-devtools/instrument, @types/react-redux, redux-thunk)
npm error
npm error Could not resolve dependency:
npm error peerOptional redux@"^5.0.0" from [email protected]
npm error node_modules/react-redux
npm error   react-redux@"^9.3.0" from the root project
npm error   peer react-redux@"^7.0.0 || ^8.0.0 || ^9.0.0" from @redux-devtools/[email protected]
npm error   node_modules/@redux-devtools/core
npm error     @redux-devtools/core@"^5.0.0" from the root project
npm error
npm error Conflicting peer dependency: [email protected]
npm error node_modules/redux
npm error   peerOptional redux@"^5.0.0" from [email protected]
npm error   node_modules/react-redux
npm error     react-redux@"^9.3.0" from the root project
npm error     peer react-redux@"^7.0.0 || ^8.0.0 || ^9.0.0" from @redux-devtools/[email protected]
npm error     node_modules/@redux-devtools/core
npm error       @redux-devtools/core@"^5.0.0" from the root project
npm error
npm error Fix the upstream dependency conflict, or retry this command with --force or --legacy-peer-deps to accept an incorrect (and potentially broken) dependency resolution.
npm error
npm error
npm error For a full report see:
npm error /home/nube/.npm/_logs/2026-08-30T12_08_34_379Z-eresolve-report.txt
npm error A complete log of this run can be found in: /home/nube/.npm/_logs/2026-08-30T12_08_34_379Z-debug-0.log

@nubesurrealista

Copy link
Copy Markdown
Collaborator

It seems that there are conflicts between the packages but the action checks have not given the error because "npm ci" does not mention those things and simply proceeds. With npm ci I have been able to move forward, however this seems something to be solved later... if you give me guidance I would like to take that as a task, it's just updating versions, right?

@nubesurrealista

Copy link
Copy Markdown
Collaborator

Looks like this on my end:

image

@CrystalSplitter

Copy link
Copy Markdown
Collaborator Author

I can't build this branch, this is the error:

nube@nubepc:~/Documentos/git/fluentflame-reader$ npm install
npm error code ERESOLVE
npm error ERESOLVE could not resolve
npm error
npm error While resolving: [email protected]
npm error Found: [email protected]
npm error node_modules/redux
npm error   redux@"^4.0.5" from the root project
npm error   peer redux@"^3.5.2 || ^4.0.0 || ^5.0.0" from @redux-devtools/[email protected]
npm error   node_modules/@redux-devtools/core
npm error     @redux-devtools/core@"^5.0.0" from the root project
npm error   3 more (@redux-devtools/instrument, @types/react-redux, redux-thunk)
npm error
npm error Could not resolve dependency:
npm error peerOptional redux@"^5.0.0" from [email protected]
npm error node_modules/react-redux
npm error   react-redux@"^9.3.0" from the root project
npm error   peer react-redux@"^7.0.0 || ^8.0.0 || ^9.0.0" from @redux-devtools/[email protected]
npm error   node_modules/@redux-devtools/core
npm error     @redux-devtools/core@"^5.0.0" from the root project
npm error
npm error Conflicting peer dependency: [email protected]
npm error node_modules/redux
npm error   peerOptional redux@"^5.0.0" from [email protected]
npm error   node_modules/react-redux
npm error     react-redux@"^9.3.0" from the root project
npm error     peer react-redux@"^7.0.0 || ^8.0.0 || ^9.0.0" from @redux-devtools/[email protected]
npm error     node_modules/@redux-devtools/core
npm error       @redux-devtools/core@"^5.0.0" from the root project
npm error
npm error Fix the upstream dependency conflict, or retry this command with --force or --legacy-peer-deps to accept an incorrect (and potentially broken) dependency resolution.
npm error
npm error
npm error For a full report see:
npm error /home/nube/.npm/_logs/2026-08-30T12_08_34_379Z-eresolve-report.txt
npm error A complete log of this run can be found in: /home/nube/.npm/_logs/2026-08-30T12_08_34_379Z-debug-0.log

Can you delete your node_modules and try again?

@CrystalSplitter

Copy link
Copy Markdown
Collaborator Author

For the record, this branch does not change anything about the packages. This would be an issue with #196

This commit:

- Highlights the selected listView item better.
- Splits the "read" and "faded" properties. Honestly this should probably be determined by a CSS change but whatever.
- Defaults to faded "read" for ListView, and forces faded read for Default Card view.
Why Switch?
-----------
Before this commit, the default fonts were, in order:
Segoe UI, Source Han Sans Regular, sans-serif.

Segoe UI is a proprietary Microsoft font. We are not allowed to
distribute it, and it's not available to Linux or MacOS users.
So Linux and MacOS just simply have a different experience to
Windows users.

Additionally, we are now relying more on bold-font styles.

Why NotoSans?
--------------
Segoe UI is very close to both OpenSans and NotoSans. NotoSans is
based on OpenSans, with (supposedly) more character support. It was
made for Android and uses the OFL license.

The experience will no be identical, but it'll be pretty close
to the original. We will still fallback to the same characters.
@nubesurrealista

Copy link
Copy Markdown
Collaborator

It's fixed now :3

Again, it looks like this: image

For me looks good

@CrystalSplitter
CrystalSplitter merged commit 5d7e31c into master Aug 31, 2026
5 checks passed
@CrystalSplitter
CrystalSplitter deleted the crystal/list-card branch August 31, 2026 18:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants